Configuration
Config Version: 170
General: AutoCreateAccounts: true SignMessage: Premium Transferrable: false ExpireOnStartup: false AutoFillSigns: true SpecificPermissions: false ConfigVersion: 170 MySQL: engine: sqlite SQLiteDB: donationpoints.db host: localhost port: 3306 username: root password: database: minecraft messages: Prefix: '&7[&aDonationPoints&7] ' NoPermission: '&cYou dont have permission to do that' InvalidArguments: '&cYou have specified an incorrect number of arguments.' PlayerOnly: '&cThis command is only available to players.' ReloadSuccessful: '&cConfig File has been successfully reloaded.' NoCommandExists: '&cThat is not a valid DonationPoints command.' DPConfirm: '&cType &3/dp confirm &cto confirm your purchase of &3%pack &cfor &3%amount points&c.' DPActivate: '&cType &3/dp activate %pack &cto activate your purchase.' DPSuccessfulActivation: '&cYou have activated your &3%pack &cpackage.' DPFailedActivation: '&cYou do not have a &3%pack &cto activate.' ExpireDate: '&cYour &3%pack &cis set to expire on &3%expiredate&c.' DPGive: '&3%amount &chas been added to &cplayer balance.' DPTake: '&3%amount &chas been removed from &3player &c balance.' DPSet: '&3%player &caccount has been set to &3%amount points&c.' NoAccount: '&cNo Account Found for &3%player&c.' AccountCreated: '&cAn account has been created for &3%player&c.' AccountAlreadyExists: '&cAn account already exists for &3%player&c.' NoTransfer: '&cUnable to make the transfer.' TransferOff: '&cThis server does not have transfers enabled.' TransferSent: '&cYou have sent &3%amount &cto &3%player.' TransferReceive: '&cYou have received &3%amount &cfrom &3%player.' PlayerBalance: '&cYou have a balance of &3%amount&c.' OtherBalance: '&3%player &chas a balance of &3%amount&c.' NoPurchaseStarted: '&cYou have not yet started a purchase.' PurchaseSuccessful: '&cYou have purchased &3%pack &cfor &3%amount points&c.' NeedActivation: '&cYou have already purchased &3%pack &cbut it is not active.' LimitReached: '&cYou have already reached the limit of &3%limit &cpurchases of &3%pack.' PackageActivated: '&cYou have successfully activated your &3%pack &cpackage.' InvalidPackage: '&cUnable to find that package.' NotEnoughPoints: '&cYou dont have enough points to make that purchase.' DPPrerequisite: '&cYou must purchase &3%pack &cbefore you can purchase this one.' packages: ExamplePackage: price: 100 description: This is an example package. haslimit: false limit: 3 activateimmediately: true expires: false expiretime: 3 commands: - say %player has purchased the example package. expirecommands: - say %player's example package has expired. requireprerequisite: false prerequisite: ''
Fields Explained
| Path | Default | Explanation |
|---|---|---|
| General.AutoCreateAccounts | True | The plugin will automatically create an account for the player when they sign on. |
| General.SignMessage | Premium | The message that goes in between the brackets on the signs. |
| General.Transferrable | false | Whether or not players can transfer points between each other. |
| General.ExpireOnStartup | false | Whether or not to check for expired packages on startup. |
| General.AutoFillSigns | true | Whether or not to auto fill the price on DonationPoints signs. |
| General.SpecificPermissions | false | Whether or not purchases require specific package nodes. (donationpoints.sign.use.packageName / donationpoints.purchase.packagename) |
| MySQL.engine | sqlite | Which database to use. (Supports sqlite or mysql) |
| MySQL.SQLiteDB | donationpoints.db | The name of the file to use for sqlite. |
| MySQL.host | localhost | The host for the MySQL database. Only matters if your engine is mysql |
| MySQL.port | 3306 | Port for MySQL database. Only matters if engine is mysql. |
| MySQL.username | root | Username for MySQL database. Only matters if engine is mysql |
| MySQL.password | Password for MySQL database. Only matters if engine is mysql. | |
| MySQL.database | minecraft | Database for MySQL. Only matters if engine is mysql. |
| messages.<message> | String | The messages for DonationPoints. |
| packages.price | Integer/Decimal | How many points the package should cost. |
| packages.description | String | Description of the package for /packages info. |
| packages.haslimit | true/false | Should this package use limits? |
| packages.limit | Integer | Amount of times a user may purchase this package. Only matters if haslimit is true. |
| packages.activateimmediately | true/false | Should the package activate immediately, or use a command later to activate? |
| packages.expires | true/false | Does the package expire? |
| packages.expiretime | Integer | How long (in days) does a package last? |
| packages.commands | List | The command to be executed when the package is activated. |
| packages.expirecommands | List | Commands to run when the package expires. |
Comments