Links
Comment on page

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: #REQUIRED
enabled: true #REQUIRED
items: #REQUIRED (Put [] is no items)
'1':
material: <Material> # '*' (To disable all items)
bypass-permission: <Bypass Permission> #OPTIONAL
worlds:
- world1
- world2
- etc
# - * (To disable in all worlds)
'2a47shdsdnsgjshf':
material: <Material> # '*' (To disable all items)
bypass-permission: <Bypass Permission> #OPTIONAL
worlds:
- world1
- world2
- etc
# - * (To disable in all worlds)
smelting: #REQUIRED
enabled: true #REQUIRED
items: #REQUIRED (Put [] is no items)
'1':
material: STONE # '*' (To disable all items)
worlds:
- world
- world_nether
- world_the_end
# - * (To disable in all worlds)

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!'