#Player can only open repair gui from the anvil that is placed by a person who have 'repairgui.anvil' permission specific-anvil: true
blacklist-worlds: - 'pvp'
alias-command:
repair: - 'fix'
multirepair: - 'multifix'
#===================================================================# # Available placeholders for repair-cost/item-type # # {DURABILITY} = shows item's broken durability. # # # # {ENCHANTAMOUNT} = shows item's enchantment amount. # # Note: if item doesn't have any enchantments, it outputs 0. # # # # {TYPE} = get tool's type (diamond/gold/chain/stone/wood) # # Note: it will be replaced to the cost that set in "item-type" # # # # {MAX_DURABILITY} = get tool's max durability # #===================================================================#
# Note: you can do math in "item-tyApe" too. item-type:
DIAMOND: '2000'
GOLD: '1500'
CHAINMAIL: '1000'
IRON: '500'
STONE: '250'
WOODEN: '20'
NETHERITE: '4000'
TRIDENT: '100'
ELYTRA: '100'
SHIELD: '2'
DEFAULT: '1'
# {TYPE} will return this value if the item isn't diamond/gold/chainmail/iron/stone/wooden/trident/elytra/shield whitelist:
enable: false
items: - ''
blacklisted-items: - ''
repair-cost:
single-repair:
money:
enable: true
cost: '
((10 *
{DURABILITY
}) + 200
) / 2'
level:
enable: true
cost: '
({DURABILITY
} + 200
) / 100'
# Note: placeholder for showing custom cost. [repairgui_custom_<name>] # Example "repairgui_custom_token", "repairgui_custom_coins" # Placeholder for custom cost: # %player_name% : output player's name # %cost% : output total repair cost custom:
enable: false
# This feature requires PlaceholderAPI cost:
1: #TokenManager name: token
type: '
%tm_token%' #put the placeholder that show player's balance cost: '
({DURABILITY
} + 200
) / 100'
command: 'tokenmanager remove
%player_name% %cost%' # Doesn't need to put "/" 2: #Coins name: coins
type: '
%gemseconomy_balance%' cost: '
({DURABILITY
} + 200
) / 100'
command: 'coins take
%player_name% %cost%' multi-repair:
money:
enable: true
cost: '
((10 *
{DURABILITY
}) + 200
) / 2'
level:
enable: true
cost: '
({DURABILITY
} + 200
) / 100'
# Note: placeholder for showing custom cost. [repairgui_custom_<name>] # Example "repairgui_custom_token", "repairgui_custom_coins" # Placeholder for custom cost: # %player_name% : output player's name # %cost% : output total repair cost custom:
enable: false
# This feature requires PlaceholderAPI cost:
1: #TokenManager name: token
type: '
%tm_token%' #put the placeholder that show player's balance cost: '
({DURABILITY
} + 200
) / 100'
command: 'tokenmanager remove
%player_name% %cost%' # Doesn't need to put "/" 2: #Coins name: coins
type: '
%gemseconomy_balance%' cost: '
({DURABILITY
} + 200
) / 100'
command: 'coins take
%player_name% %cost%' Message:
Not-Enough-Money: '&cYou don''t have enough money to repair this item!'
Not-Enough-Level: '&cYou don''t have enough level to repair this item!'
# %name% will output the "name" that you have set in the custom repair prices Not-Enough-Custom-Currencies: '&cYou don''t have enought
%name% to repair this item!' No-Permission: '&cYou don''t have permission to do this!'
Repair-Item: '&6You have repaired your items!'
Blacklist-World-Command: '&cYou can''t use this command in this world!'
Having issues with the plugin? You can report it in the discord server. It might take some time for me to reply as I am a student. Thank you for your patience