This commit is contained in:
mobius
2015-01-01 20:02:50 +00:00
parent eeae660458
commit a6a3718849
17894 changed files with 2818932 additions and 0 deletions

View 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.

View 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;