This commit is contained in:
4
trunk/dist/sql/game/mods/documentation.txt
vendored
Normal file
4
trunk/dist/sql/game/mods/documentation.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
If any custom feature made it to become what we call an "L2J Mod" and needed an extra table setup in order to work correctly, such a table definition/content should be available in this folder with an appropiate name.
|
||||
|
||||
Additionally, changes should be made in the database installation scripts in order to provide administrators with an option to dump these tables in their databases. People willing to contribute L2J mods should look at the wedding mod example for further details.
|
||||
|
||||
11
trunk/dist/sql/game/mods/mods_wedding.sql
vendored
Normal file
11
trunk/dist/sql/game/mods/mods_wedding.sql
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE IF NOT EXISTS `mods_wedding` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`player1Id` int(11) NOT NULL DEFAULT '0',
|
||||
`player2Id` int(11) NOT NULL DEFAULT '0',
|
||||
`married` varchar(5) DEFAULT NULL,
|
||||
`affianceDate` decimal(20,0) DEFAULT '0',
|
||||
`weddingDate` decimal(20,0) DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `player1Id` (`player1Id`),
|
||||
KEY `player2Id` (`player2Id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||
Reference in New Issue
Block a user