BAKACDKEYSystem

Administrator may create a new cdkey via the the plugin, with which rewards gold or items when the cdkey is actived by players.

ConfigDescription
user: 'root'your sql username
password: 'toor'your sql password
table: 'cdkey'which table in your schemas save the cdkey data
PermissionDescription
cdk.activeCDKEYCan active a cdkey
cdk.createCDKEYCan create a cdkey
cdk.reloadCan reload plugin
cdk.updateCDKEYCan update a cdkey
cdk.deleteCDKEYCan delete a cdkey
CommandArgumentDescription
cdkey reloadReload config file and re-connect to database
cdkey active[CDKEY]Active a cdkey ,gain money and items.
cdkey delete[CDKEY]Delete a cdkey
cdkey create/cdkey update[CDKEY] [Valid] [Max] [Value] [LimitUsers] [Gold] [Items]Create or update a CDKEY
ArgumentDescription
CDKEYWhich cdkey you want to alter
ValidA value of CDKEY to flag it is or not a valid cdkey 1-is a valid CDKEY, 0-not a valid CDKEY
MaxHow many players can active this CDKEY
ValueHow much players actived this CDKEY
LimitUsersLimit one or more player can't active this CDKEY e.g.: player1;player2;player3....;playerN
GoldHow many money should give to player
ItemsItems give to player e.g.: 264:1;265:1;266:1 ( give a diamod ,a gold ,a iron to player)

P.S.: if you want give money to player ,you must install Vault plugin

P.S: if you want create table you want, sql code here:

create table [yourTableName] (
ikey varchar(100) not null primary key ,
valid int(1) not null ,
max int(11) not null ,
value int(11),
users varchar(512),
gold int(11),
item varchar(100))


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    81443
  • Created
    Jun 18, 2014
  • Last Released File
    Never
  • Total Downloads
    713
  • License

Categories

Members

Recent Files

Bukkit