Configuration

Premium logo

Default configuration file

This is the default config.yml, this is bound to change in future versions.

settings:
  #The default langauge to use, further configured under messages.
  locale: en
  #All the configurable features are listed here, with their own settings.
  features:
    #Reserved slot settings
    reservedSlot: 
      enabled: true #Enable reserved slots (true/false), disabling this also disabled the custom kick message.
    #Premium armor settings
    premiumArmor:
      enabled: true #Enable premium armor (true/false).
      types: #The types of armors that are for premium players only
        - diamond
        - chain
    #Double exp settings
    doubleExp:
      enabled: true #Enable double exp (true/false).
      multiplier: 2.0 #The amount to multiply experience by.

#The messages to show, you can customize these to fit your server!
messages:
  en:
    cantWear: '&2You must be premium to equip this.'
    kickFull: '&2The server is full, please try to join later.'

Configurations explained

settings

locale
The langauge to use for the messages, in the future i might implement more langauges.
(You can create your own custom node for this too.)
reservedSlot
The settings for reserved slots, currently only contains "enabled".
When turning off this feature also disables the custom kick message.
premiumArmor
The settings for premium armor, the armor types are defined under "types:".
The permission to wear premium armor is premium.armor.<material>, where <material> is the type of armor.
doubleExp
The settings for double exp, you can change the multiply amount here.

messages

This is where all the messages are set, these messages allow color codes (e.g. &2, &f, &r).
The first node under messages ("en") stands for english in this case. You are free to edit these messages to fit your server.
You can add your own custom langauge here too, just copy the old format and change the "en" to your own (Just make sure you have all the messages, or the plugin will crash when that message should normally come up). Also, make a backup of this when updating to new versions, so you don't lose your custom messages.


Comments

Posts Quoted:
Reply
Clear All Quotes