HavenElytra
Commands
Command |
Description |
/havenelytra |
Opens the main GUI menu. |
/havenelytra reload |
Reloads config.yml |
All commands can be shortened to /he
Permissions
Permission |
Description |
havenelytra.* |
Gives all HavenElytra permissions. |
havenelytra.reload |
Allows usage of /havenelytra reload. |
havenelytra.combine |
Allows you to combine elytras. |
havenelytra.separate |
Allows you to separate elytras. |
Configuration
Config Entry |
Description |
Default |
combine |
Whether chestplates can be combined with elytras. |
true |
separate |
Whether elytras can be seperated back to chestplate and elytra. |
true |
Main GUI
Config Enty |
Description |
sound |
Sound which is supposed to be played when a button is pressed. But as I am an idiot, i forgot to add this. |
gui-name |
Name of the GUI. |
gui-size |
The amount of slots in the GUI container. |
gui |
Slots defined. |
filler |
|
GUI Slot Variable |
Description |
name |
Name of the slot's item. |
item |
Item material. |
lore |
Item lore. |
interact |
Whether the item in this slot can be moved. |
tag |
Used to identify the buttons. |
custom-model-data |
|
GUI Tags |
Description |
COMBINE |
Marks this slot as a button to open the Combine menu. |
SEPARATE |
Marks this slot as a button to open the Separate menu. |
GUI Example:
https://github.com/Valorless/HavenElytra/blob/main/src/main/resources/templates/gui-main.yml
Combine GUI
Config Enty |
Description |
combine-success |
Message sent to the player when the item is combined. |
combine-fail |
Message sent to the player when no elytra, or a combined elytra is used. |
sound |
Sound which is played when the item is combined. |
gui-name |
Name of the GUI. |
gui-size |
The amount of slots in the GUI container. |
gui |
Slots defined. |
filler |
|
GUI Slot Variable |
Description |
name |
Name of the slot's item. |
item |
Item material. |
lore |
Item lore. |
interact |
Whether the item in this slot can be moved. |
tag |
Used to identify the buttons. |
custom-model-data |
|
GUI Tags |
Description |
PLAYER |
Slot for the player's item. return these slots to the player upon closing inventory. !IMPORTANT only 2 of these, always chestplate first. |
CONFIRM |
Marks this slot as a button to confirm merging. |
GUI Example:
https://github.com/Valorless/HavenElytra/blob/main/src/main/resources/templates/gui-combine.yml
Separate GUI
Config Enty |
Description |
separate-success |
Message sent to the player when the item is separated. |
separate-fail |
Message sent to the player when no elytra, or a non-combined elytra is used. |
sound |
Sound which is played when the item is separated. |
gui-name |
Name of the GUI. |
gui-size |
The amount of slots in the GUI container. |
gui |
Slots defined. |
filler |
|
GUI Slot Variable |
Description |
name |
Name of the slot's item. |
item |
Item material. |
lore |
Item lore. |
interact |
Whether the item in this slot can be moved. |
tag |
Used to identify the buttons. |
custom-model-data |
|
GUI Tags |
Description |
PLAYER |
Slot for the player's item. return these slots to the player upon closing inventory. !IMPORTANT only 2 of these, always elytra first. |
CONFIRM |
Marks this slot as a button to confirm merging. |
GUI Example:
https://github.com/Valorless/HavenElytra/blob/main/src/main/resources/templates/gui-separate.yml