Lobby/Hub plugin to allow flying on pearls The plugin requires LuckPerms to work! All errors should be reported to:
JorgiTV#0177 I would ask you to give an honest opinion!
# Configuration the visual appearance of the pearl item:
name: "#ec59ffPearl" lore: -
"&7Click &7(PPM)" -
"&fHello B)" slot: 0
# Configuration the possibility of using the pearl pearl-usage:
permission: "magicalpearl.usage" no-permission: "&cNo permission!" error: "&cYour group has not been added to the config!" sound: UI_BUTTON_CLICK
message:
text: "&aSuccessfully sit on the pearl!" chat: true
actionbar: true
# Configuration the time before reusing the pearl cooldown:
sound: ENTITY_VILLAGER_NO
message:
text: "&cWait &f%cooldown% &cmore seconds" chat: true
actionbar: true
# Configuration of all messages and additions in the commands commands:
give:
permission: "magicalpearl.give" no-permission: "&cNo permission!" sound: UI_BUTTON_CLICK
message: "&aSuccessfully received a pearl!" reload:
permission: "magicalpearl.reload" no-permission: "&cNo permission!" sound: UI_BUTTON_CLICK
message:
config:
successfully: "&aSuccessfully reloaded the main config!" error: "&cAn error occurred while reloading the main config!" cooldown:
successfully: "&aSuccessfully reloaded the cooldown config!" error: "&cAn error occurred while reloading the main config!" setspawn:
permission: "magicalpearl.setspawn" no-permission: "&cNo permission!" sound: UI_BUTTON_CLICK
message: "&aSuccessfully setup a spawn location for the player!"
# Configuration the spawn of after use pearl spawn:
enabled: true
sound: UI_BUTTON_CLICK
error: "&cThe spawn is not setup!" location: []
# Configuration of listeners in the plugin listeners:
give-on-join: true
give-at-death: true
block-endermite-spawn: true
block-inventory-drop: true
block-inventory-swap: true
block-inventory-click: true
Code (YAML):
# MagicPearl - Cooldown File # Plugin by JorgiTV#0177 # To set cooldown required: LuckPerms cooldowns:
example: 3
# second default: 8
COMMANDS IN THE PLUGIN: /givepearl (gp) - Adding a pearl to the inventory /pearlsetspawn (ps|pspawn) - Allows you to set teleportation locations /pearlreload (pr) - Reloads all plugin files