About Anvil Repair is a simple and light weight plugin which adds a repair feature for anvils. Simply right click with an iron block or a damaged anvil and the broken anvil will be repaired. The plugin does not require any initial setup, the default repair items are listed in the configuration file:
Code (Text):
IRON_BLOCK
DAMAGED_ANVIL
CHIPPED_ANVIL
ANVIL
Setup Anvil repair does not require any initial setup, simply drag and drop the jar file into the plugins folder and you're done. Messages, permissions effects, errors, sound and commands can be customized and edited in the configuration file below. If the file is not reloading via command please manually delete the config file and restart your server.
Code (YAML):
# AnvilRepair configuration file by dev-stan # You can find the configuration file for the latest versions here: # Do not change this! config-version: 1.2.1
# Set this to false to disable all plugin features. If a "plugin is disabled" message shows up even though the option below is set to "true" # Update to the latest version and check for compatibility with other plugins. enable-plugin: true
# Configurable commands, make sure the names are compatible with other plugins (for example don't set main to: "essentials", "luckperms"). # Reload the server to see the changes. commands:
# Main command used for other subcommands. enabled: true
# Configurable messages, set the message to "-1" in order to send nothing (prefix, suffix). # Reload the server to see the changes. messages:
# Default messages, used the most. default:
prefix: "&8[&7Anvil Repair&8]: &7"
# Plugin warnings, by default all set to true, only change if plugin is spamming console. errors:
enabled: true
show-errors-console: true
show-errors-op: true
# Configurable permisisons # Reload the server to see the changes. permissions:
use: "arepair.use" no-price: "arepair.no-price" admin: "arepair.admin" effects:
enabled: true
# Set to false if you want to disable effects size: 1
# Default is 1 density: 25
# Default is 25
# Sound which is played on anvil fix playsound:
enabled: true
# Whether to play sound on repair sound: "BLOCK_ANVIL_HIT"# https://www.spigotmc.org/wiki/cc-sounds-list/ volume: 3.0
# Default is 3.0 pitch: 5.0
# Default is 5.0
You can customize every permission node, the default permissions are: