main/Config

Header

[Config File]

Example Config:

 # BuyPerms Config File
nodes:
  commands:
    item:
      node: essentials.item
      price: 20.0
commandsToSell:
- item
metrics: true

This Config will be auto-generated if the server does not have the config file. The best way to add things is to Copy and Paste any section you want to add to and edit it within NotePad with YML support (How to Setup NotePad++)

Let me explain what each part of the config is.

nodes:
  commands:
    item:
      node: essentials.item
      price: 20.0


This part is the main section of the config file. Nothing should go directly underneath "nodes" except for the auto-generated "commands" part. For the nodes you want your players to be able to buy, Copy + Paste the

    item:
      node: essentials.item
      price: 20.0


section and change it to what ever you like. You can have multiple commands being sold so don't be afraid to line them up!

commandsToSell:
- item


If you are editing the config manually and not from in game (/bp edit) you must add each command you want to sell to this list. This is what shows the players what nodes they can buy from the plugin. (/bp list) If you are doing this from in game, this part will be done for you.

metrics: true


Finally this part is for enableing or disabling Metrics support. With Metric enable, your server will send anonymous data to http://mcstats.org/ and will help get the plugin seen by others! Also this shows some cool data on what type of servers it is being run on.

In the end a customized config file would look like:

# BuyPerms Config File
nodes:
  commands:
    nuke:
      node: essentials.nuke
      price: 55.0
    example:
      node: pex.example
      price: 100.0
commandsToSell:
- nuke
- example
metrics: true

Comments

Posts Quoted:
Reply
Clear All Quotes