mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-23 16:16:17 +02:00
Add material groups and prepare additional permissions.
This commit is contained in:
parent
e2aa0509f0
commit
e18e5b224e
8 changed files with 256 additions and 2 deletions
27
src/main/resources/item_groups.yml
Normal file
27
src/main/resources/item_groups.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Please note this config use spigot material names.
|
||||
# It should match minecraft name in most case, maybe every case, but I can't be sure
|
||||
# In case there an issue with material name, you can found them here:
|
||||
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
|
||||
|
||||
# An empty Exclude group exclude nothing, so it contain everything
|
||||
everything:
|
||||
type: exclude
|
||||
|
||||
# An empty include group will include nothing
|
||||
nothing:
|
||||
type: include
|
||||
|
||||
# This group is an example of a group including only stone and polished granite
|
||||
example_include:
|
||||
type: include
|
||||
items:
|
||||
- stone
|
||||
- polished_granite
|
||||
|
||||
# This group contain everything except polished granite and elements of example_include
|
||||
example_exclude:
|
||||
type: exclude
|
||||
items:
|
||||
- polished_granite
|
||||
groups:
|
||||
- example_include
|
||||
|
|
@ -8,4 +8,7 @@ author: DelilahEve
|
|||
permissions:
|
||||
ue.unsafe:
|
||||
default: true
|
||||
description: Allow player to combine "unsafe" enchants
|
||||
description: Allow player to combine allowed "unsafe" enchants
|
||||
ue.unsafe_all:
|
||||
default: false
|
||||
description: Allow player to combine every "unsafe" enchants
|
||||
Loading…
Add table
Add a link
Reference in a new issue