config

Configuration

Costs

For each level of each enchantment a config node will be generated, e.g.

LOOT_BONUS_MOBS:
  '1': 10.0
  '2': 15.0
  '3': 20.0

The number after the level indicates the total cost to reach this level.
This means that the total cost of an enchantment is the cost specified - the cost of the already applied enchantment level.

Payment methods

There are currently two supported payment methods:

  • Vanilla Experience Levels
    • Value: level
  • Vanilla Experience Points
    • Value: exp
  • Money(requires Vault)
    • Value: money

Vault on BukkitDev.

payment:
  method: &value

Simply replace &value by the value of the desired method.
If there is no payment method with the specified value, level will be used.
If Vault is not running and you try to use money, level will be used.
Please note, that the Experience Points Payment is calculating based on the levelprogress and the Experience needed to reach the next level. It modifies the levelprogress and the level.

Usage limitation

There are currently 2 Ways to limit the usage.

  • Line of sight
    • The player is able to use the enchanter, if he is looking directly at an enchantmenttable nearby.
    • Configname: los
  • Block Interaction
    • The player is able to use the enchanter, if he is in range of an enchantment table he selected by right clicking it while sneaking.
    • Configname: bi

'nearby' or 'in range' means that the distance between the player and the enchantment table should be lower than the count specified in the config.

How to set it up

In the config there is a section called limitation:

limitation:
  method: &name
  count: &radius
  • &name: Here you should enter the configname of the desired method. If you enter an unknown method, usage will not be limited
  • &radius: Here you should enter the desired maximum distance between the player and the enchantment table. 5 is recommended. If this value is lower than 1, the usage will not be limited

Players with the pexp.everywhere permission can ignore this.

Tracking

In the config there is a node plugin.tracking, by default it is true.
If you want to disable tracking for this plugin you can set it to false.
To disable tracking for all plugins, see the help provided by mcstats.org.


Comments

Posts Quoted:
Reply
Clear All Quotes