Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| Ver 0.0.5 beta | 9.96 KB | Jul 21, 2014 | CB 1.7.2-R0.3 | 378 | Download |
| Ver 0.0.4 beta | 9.95 KB | Jun 18, 2014 | CB 1.7.2-R0.3 | 202 | Download |
Description
Administrator may create a new cdkey via the the plugin, with which rewards gold or items when the cdkey is actived by players.
| Config | Description |
|---|---|
| user: 'root' | your sql username |
| password: 'toor' | your sql password |
| table: 'cdkey' | which table in your schemas save the cdkey data |
| Permission | Description |
|---|---|
| cdk.activeCDKEY | Can active a cdkey |
| cdk.createCDKEY | Can create a cdkey |
| cdk.reload | Can reload plugin |
| cdk.updateCDKEY | Can update a cdkey |
| cdk.deleteCDKEY | Can delete a cdkey |
| Command | Argument | Description |
|---|---|---|
| cdkey reload | Reload 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 |
| Argument | Description | |
| CDKEY | Which cdkey you want to alter | |
| Valid | A value of CDKEY to flag it is or not a valid cdkey 1-is a valid CDKEY, 0-not a valid CDKEY | |
| Max | How many players can active this CDKEY | |
| Value | How much players actived this CDKEY | |
| LimitUsers | Limit one or more player can't active this CDKEY e.g.: player1;player2;player3….;playerN | |
| Gold | How many money should give to player | |
| Items | Items 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))
Get 0.05 TON 💎
Download
Add a comment