Plugin's Files
the plugin's configuration files

Config.yml

#For help with the configuration file, please visit DisableRecipe's wiki page here:
# https://docs.mattisadev.com/spigot-plugins/disable-crafting
crafting:
enabled: true
worlds:
world:
'1':
material: HOPPER
bypass-permission: disablerecipe.world.hopper
world_nether:
'1':
material: HOPPER
bypass-permission: disablerecipe.world_nether.hopper
world_the_end:
'1':
material: HOPPER
bypass-permission: disablerecipe.world_the_end.hopper
smelting:
enabled: true
worlds:
world:
'1':
material: STONE
world_nether:
'1':
material: STONE
world_the_end:
'1':
material: STONE

Messages.yml

no-permission: '&4&l[!] &cYou do not have permission to do this!'
only-players: '&4&l[!] &cOnly players can do that!'
invalid-usage: '&4&l[!] &cUsage: &4{usage}'
invalid-integer: '&4&l[!] &cYou have entered an invalid integer!'
invalid-type: '&4&l[!] &cYou have entered an invalid type! &7(''Craft'' or ''Smelt'')'
invalid-world: '&4&l[!] &cYou have entered an invalid world!'
crafting:
cannot-craft: '&4&l[!] &cYou cannot craft that item.'
smelting:
cannot-smelt: '&4&l[!] &cYou cannot smelt that item.'
commands:
error: '&4&l[!] &cThere was an error with your command.'
help:
- '&6&l[!] &eDisableRecipe Help Page:'
- ' &e/disablerecipe help &8- &7Shows this help message'
- ' &e/disablerecipe reload &8- &7Reload the plugin''s files'
- ' &e/disablerecipe additem <item #> <craft|smelt> [world] &8- &7Adds the item you're holding into the config file'
reload:
success: '&6&l[!] &eYou have successfully reloaded DisableRecipe.'
add-item:
success: '&6&l[!] &eYou have successfully added &6{item} &eto the &6{type} &esection in the &6{world} &eworld!'
already-in-use: '&4&l[!] &cThat item number is already in use, please use an available item number!'
holding-air: '&4&l[!] &cYou must be holding the item in your main hand that you would like to add to the config!'
Copy link