Plugin's Files
the plugin's configuration files

Config.yml

1
#For help with the configuration file, please visit DisableRecipe's wiki page here:
2
# https://docs.mattisadev.com/spigot-plugins/disable-crafting
3
4
crafting:
5
enabled: true
6
worlds:
7
world:
8
'1':
9
material: HOPPER
10
bypass-permission: disablerecipe.world.hopper
11
world_nether:
12
'1':
13
material: HOPPER
14
bypass-permission: disablerecipe.world_nether.hopper
15
world_the_end:
16
'1':
17
material: HOPPER
18
bypass-permission: disablerecipe.world_the_end.hopper
19
20
smelting:
21
enabled: true
22
worlds:
23
world:
24
'1':
25
material: STONE
26
world_nether:
27
'1':
28
material: STONE
29
world_the_end:
30
'1':
31
material: STONE
Copied!

Messages.yml

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