Configuration

When run for the first time this plugin should create a folder called EnchantLimit, inside there you'll find a file called config.yml

Here's a run down of the default configuration and what each setting does:

config.yml

#Should this plugin limit enchantments on both enchanting tables and anvils?
Anvil_Limiter_Enabled: true
Enchanting_Table_Limiter_Enabled: true

#Should the players be told when the enchantment is limited?
SendMessage: true

#Maximum obtainable enchantment levels for each enchantment type. These enchantment names are not exactly the same as you may be used to in game. To determine whats what this site may help: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/class-use/Enchantment.html

#Note, by default all maximum enchantment levels will be the same as vanilla minecraft - You may decrease these values, however making them higher than default will have no effect.

#Armour Enchantments
PROTECTION_ENVIRONMENTAL: 4
PROTECTION_FIRE: 4
PROTECTION_FALL: 4 
PROTECTION_EXPLOSIONS: 4
PROTECTION_PROJECTILE: 4
OXYGEN: 3
WATER_WORKER: 1
THORNS: 3
DEPTH_STRIDER: 3

#Weapon Enchantments
DAMAGE_ALL: 5
DAMAGE_UNDEAD: 5
DAMAGE_ARTHROPODS: 5
KNOCKBACK: 2
FIRE_ASPECT: 2
LOOT_BONUS_MOBS: 3

#Tool Enchantments
DIG_SPEED: 5
SILK_TOUCH: 1
LOOT_BONUS_BLOCKS: 3

#Bow Enchantments
ARROW_DAMAGE: 5
ARROW_KNOCKBACK: 2
ARROW_FIRE: 1
ARROW_INFINITE: 1

#Fishing Rod Enchantments
LUCK: 3
LURE: 3

#Universal Enchantments
DURABILITY: 3

Comments

Posts Quoted:
Reply
Clear All Quotes