Adds possibility for message customization and translation #5

This commit is contained in:
2022-10-03 18:15:38 +02:00
parent 3d333c6406
commit 30bddfa9c8
20 changed files with 406 additions and 188 deletions

View File

@ -0,0 +1,17 @@
en:
VALUE_CHANGED: "&7{setting} set to &6{newValue}"
VALUE_FOR_ITEM_CHANGED: "&7{setting} for {itemType} {item} set to &6{newValue}"
CURRENT_VALUE: "&7Current value of {setting}:&r {currentValue}"
CURRENT_VALUE_FOR_ITEM: "&7Current value of {setting} for {itemType} {item}:&r {currentValue}"
ITEM_TYPE_ENCHANTMENT: "enchantment"
ITEM_TYPE_MATERIAL: "material"
RAW_VALUE: "Raw value: {rawValue}"
NO_NPC_SELECTED: "You must select an NPC before running this command"
DEFAULT_REFORGE_ABLE_ITEMS_UNCHANGEABLE: "Changing reforge-able items globally will make every new blacksmith unable to reforge anything not in the list, unless it's changed for the individual NPC. If you really want to change this, change it manually."
INPUT_STRING_LIST_REQUIRED: "A string list is required!"
INPUT_PERCENTAGE_REQUIRED: "You specified a value which isn't between 0 and 100!"
INPUT_STRING_REQUIRED: "A non-empty string is required!"
INPUT_POSITIVE_DOUBLE_REQUIRED: "You specified a value which isn't a positive double!"
INPUT_POSITIVE_INTEGER_REQUIRED: "You specified a value which isn't a positive integer!"
PERMISSION_DENIED: "You lack the necessary permission"
PLUGIN_RELOADED: "Blacksmith config reloaded!"