Configuration

General configuration (v0.6 or above)
Flatfile:

- Set this to true if you want to use flatfiles to store the codes and the plugin data.

Username:

- This is your MySQL username.

Password:

- This is your password for your MySQL database.

URL:

- The URL to the database.

Language:

- This is the file you want to use to display the messages. The file must be located in the plugin folder.

Time:
  • Enabled - Set this to true if you want the plugin to control the VIP time.
  • Days - How many days you want the VIP to last.

VIPConfiguration:

  • DefaultGroup: This is the group the player should go when no group is found in the code. It MUST be defined in the "groups" section.
  • FallbackGroup: This is the group the player will go when his VIP ends.
  • Match: This is the segment of the code that will identify that code to that group.
  • StartAt: This is the position the first letter of the match will be.

Groups:

Basic scheme:

(Group name):
      identification:
        startAt: 1
        match: 'elt'   # this can be ' '.
      xp: 0             # How much xp the player should gain.
      items:
        - -1 0           # The items the player should recieve. (Item ID amount)
      money: 1000  # How much money he recieves.
      commands:    # You can put "$player" Where you want the player name to be displayed.
        enabled: false
        list:
          - say $player is now an ELITE player!
You can have several groups:
VIPConfig:
  #This is the group the person should go in case no group
  #is found in the code.
  defaultGroup: 'Elite'
  #This is the group the player should go to when his VIP ends
  fallbackGroup: 'Member'
  groups:
    Elite:
      identification:
        startAt: 1
        match: ' '
      xp: 0
      items:
        - -1 0
      money: 1000
      commands:
        enabled: false
        list:
          - say $player is now an ELITE player!
    EliteGold:
      identification:
        startAt: 1
        match: 'GOLD'
      xp: 0
      items:
        - 41 64
      money: 1000
      commands:
        enabled: false
        list:
          - say $player won thousands of gold!

Comments

Posts Quoted:
Reply
Clear All Quotes