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

PathDefaultExplanation
General.AutoCreateAccountsTrueThe plugin will automatically create an account for the player when they sign on.
General.SignMessagePremiumThe message that goes in between the brackets on the signs.
General.TransferrablefalseWhether or not players can transfer points between each other.
General.ExpireOnStartupfalseWhether or not to check for expired packages on startup.
General.AutoFillSignstrueWhether or not to auto fill the price on DonationPoints signs.
General.SpecificPermissionsfalseWhether or not purchases require specific package nodes. (donationpoints.sign.use.packageName / donationpoints.purchase.packagename)
MySQL.enginesqliteWhich database to use. (Supports sqlite or mysql)
MySQL.SQLiteDBdonationpoints.dbThe name of the file to use for sqlite.
MySQL.hostlocalhostThe host for the MySQL database. Only matters if your engine is mysql
MySQL.port3306Port for MySQL database. Only matters if engine is mysql.
MySQL.usernamerootUsername for MySQL database. Only matters if engine is mysql
MySQL.passwordPassword for MySQL database. Only matters if engine is mysql.
MySQL.databaseminecraftDatabase for MySQL. Only matters if engine is mysql.
messages.<message>StringThe messages for DonationPoints.
packages.priceInteger/DecimalHow many points the package should cost.
packages.descriptionStringDescription of the package for /packages info.
packages.haslimittrue/falseShould this package use limits?
packages.limitIntegerAmount of times a user may purchase this package. Only matters if haslimit is true.
packages.activateimmediatelytrue/falseShould the package activate immediately, or use a command later to activate?
packages.expirestrue/falseDoes the package expire?
packages.expiretimeIntegerHow long (in days) does a package last?
packages.commandsListThe command to be executed when the package is activated.
packages.expirecommandsListCommands to run when the package expires.

Comments

Posts Quoted:
Reply
Clear All Quotes