115 lines
4.8 KiB
YAML
115 lines
4.8 KiB
YAML
useItem:
|
|
# enable: Set here if the UseItem is to be used in use
|
|
enable: false
|
|
|
|
# openGUI: Set here which GUI should open the UseItem
|
|
openGUI: default
|
|
|
|
# allowToggle: Set here if players are allowed to enable or disable the UseItem with '/gui-item <useitemname> <on/off>'.
|
|
allowToggle: true
|
|
|
|
# allowSetSlot: Set here if players are allowed to change the slot in the inventory where the UseItem is located with '/gui-item <useitemname> slot <slot>'.
|
|
allowSetSlot: true
|
|
|
|
# blockMoveAndDrop: Set here if the dropping of the UseItem should be blocked
|
|
blockMoveAndDrop: true
|
|
|
|
permission:
|
|
become:
|
|
# Here you define if and which permission is needed to get the UseItem (for Join etc.).
|
|
needed: true
|
|
permission: 'commandgui.useitem.[useitemname].use'
|
|
# Specify here how the permission should be set by default. [TRUE, FALSE, OP, NOT_OP]
|
|
default: TRUE
|
|
use:
|
|
# Here you define if and which permission is needed to use the UseItem
|
|
needed: true
|
|
permission: 'commandgui.useitem.[useitemname].use'
|
|
# Specify here how the permission should be set by default. [TRUE, FALSE, OP, NOT_OP]
|
|
default: TRUE
|
|
toggle:
|
|
# Here you define if and which permission is needed to use the command '/gui-item <useitemname> <on/off>' for this UseItem
|
|
needed: true
|
|
permission: 'commandgui.useitem.[useitemname].toggle'
|
|
# Specify here how the permission should be set by default. [TRUE, FALSE, OP, NOT_OP]
|
|
default: OP
|
|
setSlot:
|
|
# Here you define if and which permission is needed to use the command '/gui-item <useitemname> slot <slot>' for this UseItem
|
|
needed: true
|
|
permission: 'commandgui.useitem.[useitemname].setslot'
|
|
# Specify here how the permission should be set by default. [TRUE, FALSE, OP, NOT_OP]
|
|
default: OP
|
|
|
|
# keepAtCommandClear: Set here if the UseItem should stay in the inventory with the '/clear' command
|
|
keepAtCommandClear: true
|
|
|
|
inventorySlot:
|
|
# slot: slot: Set here on which slot the UseItem should be located by default
|
|
slot: 1
|
|
# slotEnforce: Set here if the slot should be forced even if another item is on this slot (also the set slot of the player).
|
|
# NOTE: The item that was on this slot before will be deleted.
|
|
slotEnforce: false
|
|
# freeSlot: Set here if the UseItem should be placed on another free slot, if the selected slot (also the set slot of the player) is occupied.
|
|
freeSlot: false
|
|
|
|
# Set here the item that should be used as UseItem
|
|
item:
|
|
# material: Set here which material should be used as UseItem
|
|
material: paper
|
|
# name: Set the DisplayName of the UseItem here
|
|
name: '&6GUI UseItem'
|
|
# lore: Set the lore of the UseItem here
|
|
lore:
|
|
- 'Lore line 1'
|
|
- 'Lore line 2'
|
|
playerHead:
|
|
# enable: This specifies whether a PlayerHead is to be used as a UseItem. If this is set to true, the 'material' option is ignored.
|
|
enable: false
|
|
# playerWhoHasOpenedTheGUI: Here you can set whether the player head should be used as a UseItem by the player
|
|
playerWhoHasOpenedTheGUI: false
|
|
# playerName: Here you can set a player name whose head should be used as UseItem
|
|
playerName: ''
|
|
base64:
|
|
# enable: Set here if a Base64 PlayerHead should be used as UseItem
|
|
enable: false
|
|
# base64Value: Here you can set the Base64 Value.
|
|
# You can find the Base64 Value for example on https://minecraft-heads.com.
|
|
base64Value: ''
|
|
|
|
join:
|
|
# giveOnEveryJoin: Set here if the UseItem should be given at every server join
|
|
giveOnEveryJoin: true
|
|
# giveOnlyOnFirstJoin: Set here if the UseItem should only be given to the server at the first join of the player.
|
|
giveOnlyOnFirstJoin: false
|
|
|
|
quit:
|
|
# removeOnQuit: Set here if the UseItem should be removed from the inventory when leaving the server
|
|
removeOnQuit: false
|
|
|
|
protection:
|
|
gameMode:
|
|
# enable: Set here in which gamemode the UseItem may be used
|
|
enable: false
|
|
# removeItemWhenItIsDisabled: Set here if the UseItem should be removed if you are in a not allowed Gamemode
|
|
removeItemWhenItIsDisabled: false
|
|
# mode: Set here if a 'blacklist' or 'whitelist' should be used
|
|
mode: blacklist
|
|
# list: Set the GameMode list here
|
|
list:
|
|
- CREATIVE
|
|
- SPECTATOR
|
|
|
|
world:
|
|
# enable: Set here in which world the UseItem may be used
|
|
enable: false
|
|
# removeItemWhenItIsDisabled: Here you specify whether the UseItem should be removed if you are in a world that is not permitted
|
|
removeItemWhenItIsDisabled: false
|
|
# mode: Set here if a 'blacklist' or 'whitelist' should be used
|
|
mode: blacklist
|
|
# list: Set the worlds here
|
|
list:
|
|
- World1
|
|
- World2
|
|
|
|
#/useitem <itemname> on/off/slot [slotnumber]
|