diff --git a/.idea/libraries/Maven__com_bencodez_Scheduler_Java8_1_0.xml b/.idea/libraries/Maven__com_bencodez_Scheduler_Java8_1_0.xml new file mode 100644 index 0000000..3a9a3cc --- /dev/null +++ b/.idea/libraries/Maven__com_bencodez_Scheduler_Java8_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_bencodez_advancedcore_3_6_4.xml b/.idea/libraries/Maven__com_bencodez_advancedcore_3_6_8.xml similarity index 63% rename from .idea/libraries/Maven__com_bencodez_advancedcore_3_6_4.xml rename to .idea/libraries/Maven__com_bencodez_advancedcore_3_6_8.xml index 4e934dc..ca191a2 100644 --- a/.idea/libraries/Maven__com_bencodez_advancedcore_3_6_4.xml +++ b/.idea/libraries/Maven__com_bencodez_advancedcore_3_6_8.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_bencodez_votingplugin_6_11_3.xml b/.idea/libraries/Maven__com_bencodez_votingplugin_6_13_1.xml similarity index 62% rename from .idea/libraries/Maven__com_bencodez_votingplugin_6_11_3.xml rename to .idea/libraries/Maven__com_bencodez_votingplugin_6_13_1.xml index 3a9582f..4e78e36 100644 --- a/.idea/libraries/Maven__com_bencodez_votingplugin_6_11_3.xml +++ b/.idea/libraries/Maven__com_bencodez_votingplugin_6_13_1.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__com_github_Ssomar_Developement_SCore_3_9_43.xml b/.idea/libraries/Maven__com_github_Ssomar_Developement_SCore_3_9_59.xml similarity index 71% rename from .idea/libraries/Maven__com_github_Ssomar_Developement_SCore_3_9_43.xml rename to .idea/libraries/Maven__com_github_Ssomar_Developement_SCore_3_9_59.xml index d3c3704..50ec760 100644 --- a/.idea/libraries/Maven__com_github_Ssomar_Developement_SCore_3_9_43.xml +++ b/.idea/libraries/Maven__com_github_Ssomar_Developement_SCore_3_9_59.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__io_lumine_MythicLib_dist_1_5_1_SNAPSHOT.xml b/.idea/libraries/Maven__io_lumine_MythicLib_dist_1_5_1_SNAPSHOT.xml index b6fca78..2a1899b 100644 --- a/.idea/libraries/Maven__io_lumine_MythicLib_dist_1_5_1_SNAPSHOT.xml +++ b/.idea/libraries/Maven__io_lumine_MythicLib_dist_1_5_1_SNAPSHOT.xml @@ -1,13 +1,13 @@ - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__net_Indyuce_MMOItems_API_6_9_2_SNAPSHOT.xml b/.idea/libraries/Maven__net_Indyuce_MMOItems_API_6_9_5_SNAPSHOT.xml similarity index 58% rename from .idea/libraries/Maven__net_Indyuce_MMOItems_API_6_9_2_SNAPSHOT.xml rename to .idea/libraries/Maven__net_Indyuce_MMOItems_API_6_9_5_SNAPSHOT.xml index 124367e..368d28d 100644 --- a/.idea/libraries/Maven__net_Indyuce_MMOItems_API_6_9_2_SNAPSHOT.xml +++ b/.idea/libraries/Maven__net_Indyuce_MMOItems_API_6_9_5_SNAPSHOT.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_joml_joml_1_10_5.xml b/.idea/libraries/Maven__org_joml_joml_1_10_5.xml new file mode 100644 index 0000000..801aa93 --- /dev/null +++ b/.idea/libraries/Maven__org_joml_joml_1_10_5.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_spigotmc_spigot_api_1_19_3_R0_1_SNAPSHOT.xml b/.idea/libraries/Maven__org_spigotmc_spigot_api_1_20_R0_1_SNAPSHOT.xml similarity index 51% rename from .idea/libraries/Maven__org_spigotmc_spigot_api_1_19_3_R0_1_SNAPSHOT.xml rename to .idea/libraries/Maven__org_spigotmc_spigot_api_1_20_R0_1_SNAPSHOT.xml index 75c1e77..b73004e 100644 --- a/.idea/libraries/Maven__org_spigotmc_spigot_api_1_19_3_R0_1_SNAPSHOT.xml +++ b/.idea/libraries/Maven__org_spigotmc_spigot_api_1_20_R0_1_SNAPSHOT.xml @@ -1,13 +1,13 @@ - + - + - + - + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_yaml_snakeyaml_1_33.xml b/.idea/libraries/Maven__org_yaml_snakeyaml_1_33.xml deleted file mode 100644 index 797db86..0000000 --- a/.idea/libraries/Maven__org_yaml_snakeyaml_1_33.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Maven__org_yaml_snakeyaml_2_0.xml b/.idea/libraries/Maven__org_yaml_snakeyaml_2_0.xml new file mode 100644 index 0000000..a1ff0f0 --- /dev/null +++ b/.idea/libraries/Maven__org_yaml_snakeyaml_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/CommandPanels.iml b/CommandPanels.iml index 0a53d50..dd6ccd3 100644 --- a/CommandPanels.iml +++ b/CommandPanels.iml @@ -31,15 +31,16 @@ - + + - + @@ -47,14 +48,15 @@ - + - + + @@ -72,11 +74,11 @@ - + - + diff --git a/resource/plugin.yml b/resource/plugin.yml index 9c8881d..57c20c4 100644 --- a/resource/plugin.yml +++ b/resource/plugin.yml @@ -1,4 +1,4 @@ -version: 3.19.0.3-DEV +version: 3.19.1.0 main: me.rockyhawk.commandpanels.CommandPanels name: CommandPanels author: RockyHawk diff --git a/resource_editor/BottomSettings.yml b/resource_editor/BottomSettings.yml deleted file mode 100644 index de4e93f..0000000 --- a/resource_editor/BottomSettings.yml +++ /dev/null @@ -1,39 +0,0 @@ -panels: - BottomSettings: - perm: default - rows: 3 - title: '&8Bottom Settings' - panelType: - - static - pre-load-commands: - - event= CommandPanels_EditorOpened - commands-on-close: - - event= CommandPanels_EditorClosed - item: - '0': - material: BARRIER - stack: 1 - name: '&cExit' - commands: - - event= CommandPanels_EditorClosed - - cpc - '4': - material: CHEST - stack: 1 - name: '&fPanel Settings' - commands: - - "event= CommandPanels_OpenPanelSettings" - '6': - material: COOKIE - stack: 1 - name: '&fItem Settings' - commands: - - "event= CommandPanels_OpenItemSettings" - #'8': - # material: COMPASS - # stack: 1 - # name: '&fItem Sections' - # lore: - # - "&cIN PROGRESS" - # commands: - # - "event= CommandPanels_OpenItemSections" \ No newline at end of file diff --git a/resource_editor/ItemEditMenu.yml b/resource_editor/ItemEditMenu.yml deleted file mode 100644 index da32290..0000000 --- a/resource_editor/ItemEditMenu.yml +++ /dev/null @@ -1,227 +0,0 @@ -panels: - ItemEditMenu: - perm: default - rows: 3 - title: '&8Item Settings' - panelType: - - static - custom-messages: - input-message: - - "&e[&bCommand Panels Editor&e]" - - "&fEnter your value in the chat bar below." - item: - '4': - material: FLINT_AND_STEEL - name: '&fPlayer Input' - lore: - - "&7Add a player input to your item." - - "" - - "&7Options" - - "&7- add [command]" - - "&7- edit [line number] [command]" - - "&7- insert [line number] [command]" - - "&7- remove [line number]" - commands: - - event= CPEditorItem_player-input - - cpc - player-input: - - "event= CPEditor_iteminput %cp-player-input%" - '5': - material: NAME_TAG - name: '&fItem Name' - lore: - - "&7Choose a name for your item." - commands: - - event= CPEditorItem_name - - cpc - player-input: - - "event= CPEditor_itemname %cp-player-input%" - '6': - material: ITEM_FRAME - name: '&fItem Stack' - lore: - - "&7Choose a number from 1 to 64." - commands: - - event= CPEditorItem_stack - - cpc - player-input: - - "event= CPEditor_itemstack %cp-player-input%" - '7': - material: ENCHANTED_BOOK - name: '&fEnchantments' - lore: - - "&7Add enchantments to your item." - - "" - - "&7Options" - - "&7- add [type] [level]" - - "&7- edit [line number] [type] [level]" - - "&7- insert [line number] [type] [level]" - - "&7- remove [line number]" - - "" - - "&7For example: add KNOCKBACK 3" - commands: - - event= CPEditorItem_enchanted - - cpc - player-input: - - "event= CPEditor_itemenchantment %cp-player-input%" - '8': - material: PAPER - name: '&fItem NBT Data' - lore: - - "&7You can create custom NBT for your item." - - "" - - "&7Options" - - "&7- add [name] [value]" - - "&7- remove [name]" - - "" - - "&7For example: add example_data this is the value" - commands: - - cpc - player-input: - - "event= CPEditor_itemnbt %cp-player-input%" - '18': - material: LAVA_BUCKET - name: '&cDelete Item' - lore: - - "&7Enter 'confirm' to delete the item." - commands: - - cpc - player-input: - - "event= CPEditor_itemdelete %cp-player-input%" - '9': - material: REDSTONE_BLOCK - name: '&fEditing Item: %cp-item-slot%' - lore: - - "&7Click here to change the" - - "&7slot number you are editing." - commands: - - cpc - player-input: - - "event= CPEditor_itemslot %cp-player-input%" - '0': - material: ENDER_CHEST - name: '&fMove Item' - lore: - - "&7Enter a slot to move this item to." - commands: - - cpc - player-input: - - "event= CPEditor_itemmove %cp-player-input%" - '1': - material: STONE - name: '&fItem Material' - lore: - - "&7Choose a material for your item." - commands: - - event= CPEditorItem_material - - cpc - player-input: - - "event= CPEditor_itemmaterial %cp-player-input%" - '13': - material: COBBLESTONE - name: '&fItem ID' - lore: - - "&7Material ID for Minecraft 1.12 and below." - commands: - - event= CPEditorItem_id - - cpc - player-input: - - "event= CPEditor_itemid %cp-player-input%" - '14': - material: PAINTING - name: '&fCustom Model Data' - lore: - - "&7Enter Custom Model Data for your item." - commands: - - event= CPEditorItem_customdata - - cpc - player-input: - - "event= CPEditor_itemmodeldata %cp-player-input%" - '15': - material: ANVIL - name: '&fItem Durability' - lore: - - "&7Enter a number if you want the item to be damaged." - commands: - - event= CPEditorItem_damage - - cpc - player-input: - - "event= CPEditor_itemdurability %cp-player-input%" - '16': - material: LEATHER_HELMET - name: '&fArmour Colour' - lore: - - "&7Enter a value for your armour to be coloured." - commands: - - event= CPEditorItem_leatherarmor - - cpc - player-input: - - "event= CPEditor_itemarmour %cp-player-input%" - '17': - material: POTION - name: '&fPotion Effect' - lore: - - "&7Choose a potion effect to be applied." - commands: - - event= CPEditorItem_potion - - cpc - player-input: - - "event= CPEditor_itempotion %cp-player-input%" - '23': - material: FEATHER - name: '&fItem Lore' - lore: - - "&7Add a lore to your item." - - "" - - "&7Options" - - "&7- add [text]" - - "&7- edit [line number] [text]" - - "&7- insert [line number] [text]" - - "&7- remove [line number]" - commands: - - event= CPEditorItem_lore - - cpc - player-input: - - "event= CPEditor_itemlore %cp-player-input%" - '24': - material: MAGMA_CREAM - name: '&fItem Commands' - lore: - - "&7Add commands to your item." - - "" - - "&7Options" - - "&7- add [command]" - - "&7- edit [line number] [command]" - - "&7- insert [line number] [command]" - - "&7- remove [line number]" - commands: - - event= CPEditorItem_commands - - cpc - player-input: - - "event= CPEditor_itemcommands %cp-player-input%" - '25': - material: MELON_SEEDS - name: '&fItem Duplicates' - lore: - - "&7Enter slots to duplicate this item to." - commands: - - event= CPEditorItem_duplicate - - cpc - player-input: - - "event= CPEditor_itemduplicate %cp-player-input%" - '26': - material: SLIME_BALL - name: '&fItem Types' - lore: - - "&7Add item types to your item." - - "" - - "&7Options" - - "&7- add [text]" - - "&7- edit [line number] [text]" - - "&7- insert [line number] [text]" - - "&7- remove [line number]" - commands: - - event= CPEditorItem_itemType - - cpc - player-input: - - "event= CPEditor_itemtypes %cp-player-input%" diff --git a/resource_editor/PanelEditMenu.yml b/resource_editor/PanelEditMenu.yml deleted file mode 100644 index d849aa0..0000000 --- a/resource_editor/PanelEditMenu.yml +++ /dev/null @@ -1,271 +0,0 @@ -panels: - PanelEditMenu: - perm: default - rows: 3 - title: '&8Panel Settings' - panelType: - - static - custom-messages: - input-message: - - "&e[&bCommand Panels Editor&e]" - - "&fEnter your value in the chat bar below." - item: - '3': - material: PUMPKIN_SEEDS - name: '&fEmpty Slot Item ID' - lore: - - "&7Material ID for Minecraft 1.12 and below." - commands: - - event= CPEditorPanel_emptyID - - cpc - player-input: - - "event= CPEditor_panelemptyid %cp-player-input%" - '4': - material: MELON_SEEDS - name: '&fEmpty Slot Item' - lore: - - "&7This item will replace all" - - "&7of the empty slots." - commands: - - event= CPEditorPanel_empty - - cpc - player-input: - - "event= CPEditor_panelempty %cp-player-input%" - '5': - material: COBBLESTONE - name: '&fEnabled Worlds' - lore: - - "&7Add Enabled Worlds." - - "&7The panel will only open in them." - - "" - - "&7Options" - - "&7- add [world]" - - "&7- edit [line number] [world]" - - "&7- insert [line number] [world]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_enabled-worlds - - cpc - player-input: - - "event= CPEditor_panelenabledworlds %cp-player-input%" - '6': - material: REDSTONE_BLOCK - name: '&fDisabled Worlds' - lore: - - "&7Add Disabled Worlds." - - "&7The panel will not open in them." - - "" - - "&7Options" - - "&7- add [world]" - - "&7- edit [line number] [world]" - - "&7- insert [line number] [world]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_disabled-worlds - - cpc - player-input: - - "event= CPEditor_paneldisabledworlds %cp-player-input%" - '7': - material: BEACON - name: '&fPanel Permission' - lore: - - "&7Change the permission for your Panel." - - "&7Use 'default' to disable this feature." - - "&7The permission will be commandpanel.panel.[text]" - commands: - - event= CPEditorPanel_perm - - cpc - player-input: - - "event= CPEditor_panelpermission %cp-player-input%" - '8': - material: NOTE_BLOCK - name: '&fPanel Open Sound' - lore: - - "&7Choose a sound when your panel opens." - - "&7Make sure this is all uppercase." - commands: - - event= CPEditorPanel_sound-on-open - - cpc - player-input: - - "event= CPEditor_panelopensound %cp-player-input%" - '0': - material: LAVA_BUCKET - name: '&cDelete Panel' - lore: - - "&7Enter 'confirm' to delete the panel." - commands: - - cpc - player-input: - - "event= CPEditor_paneldelete %cp-player-input%" - '9': - material: NAME_TAG - name: '&fPanel Name: %cp-panel-name%' - lore: - - "&7Choose the name for your panel." - commands: - - cpc - player-input: - - "event= CPEditor_panelname %cp-player-input%" - '21': - material: FEATHER - name: '&fNo Permission Custom Message' - lore: - - "&7Add a No Permission custom message." - commands: - - event= CPEditorPanel_custom-messages.perm - - cpc - player-input: - - "event= CPEditor_panelpermissionmessage %cp-player-input%" - '12': - material: FEATHER - name: '&fMaximum Input Custom Message' - lore: - - "&7Add a Player Input Maximum custom message." - commands: - - event= CPEditorPanel_custom-messages.input - - cpc - player-input: - - "event= CPEditor_panelmaxinputmessage %cp-player-input%" - '13': - material: FEATHER - name: '&fPlayer Input Custom Message' - lore: - - "&7Add a Player Input custom message." - - "" - - "&7Options" - - "&7- add [text]" - - "&7- edit [line number] [text]" - - "&7- insert [line number] [text]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_custom-messages.player-input - - cpc - player-input: - - "event= CPEditor_panelplayerinputmessage %cp-player-input%" - '14': - material: BOOK - name: '&fPanel Title' - lore: - - "&7Change your panel title." - commands: - - event= CPEditorPanel_title - - cpc - player-input: - - "event= CPEditor_paneletitle %cp-player-input%" - '15': - material: LADDER - name: '&fPanel Rows' - lore: - - "&7How many rows the panel should be 1-6." - commands: - - event= CPEditorPanel_rows - - cpc - player-input: - - "event= CPEditor_panelrows %cp-player-input%" - '16': - material: LEVER - name: '&fPanel Refresh Delay' - lore: - - "&7Refresh delay measured in ticks." - commands: - - event= CPEditorPanel_refresh-delay - - cpc - player-input: - - "event= CPEditor_panelrefreshdelay %cp-player-input%" - '17': - material: SLIME_BALL - name: '&fPanel Types' - lore: - - "&7Add Panel Types." - - "" - - "&7Options" - - "&7- add [text]" - - "&7- edit [line number] [text]" - - "&7- insert [line number] [text]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_panelType - - cpc - player-input: - - "event= CPEditor_paneltype %cp-player-input%" - '22': - material: MAGMA_CREAM - name: '&fPanel Commands to Open Panel' - lore: - - "&7Commands that can be used to" - - "&7open this panel." - - "" - - "&7Options" - - "&7- add [command]" - - "&7- edit [line number] [command]" - - "&7- insert [line number] [command]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_commands - - cpc - player-input: - - "event= CPEditor_panelcommands %cp-player-input%" - '23': - material: MAGMA_CREAM - name: '&fCommands Before Panel Open' - lore: - - "&7Commands before the panel has opened." - - "" - - "&7Options" - - "&7- add [command]" - - "&7- edit [line number] [command]" - - "&7- insert [line number] [command]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_pre-load-commands - - cpc - player-input: - - "event= CPEditor_panelprecommands %cp-player-input%" - '24': - material: MAGMA_CREAM - name: '&fCommands On Panel Open' - lore: - - "&7Commands when the panel has opened." - - "" - - "&7Options" - - "&7- add [command]" - - "&7- edit [line number] [command]" - - "&7- insert [line number] [command]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_commands-on-open - - cpc - player-input: - - "event= CPEditor_panelopencommands %cp-player-input%" - '25': - material: MAGMA_CREAM - name: '&fCommands On Panel Close' - lore: - - "&7Commands when the panel is closing." - - "" - - "&7Options" - - "&7- add [command]" - - "&7- edit [line number] [command]" - - "&7- insert [line number] [command]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_commands-on-close - - cpc - player-input: - - "event= CPEditor_panelclosecommands %cp-player-input%" - '26': - material: MAGMA_CREAM - name: '&fOutside Panel Commands' - lore: - - "&7Add commands when clicking outside the panel." - - "" - - "&7Options" - - "&7- add [command]" - - "&7- edit [line number] [command]" - - "&7- insert [line number] [command]" - - "&7- remove [line number]" - commands: - - event= CPEditorPanel_outside-commands - - cpc - player-input: - - "event= CPEditor_paneloutsidecommands %cp-player-input%" \ No newline at end of file diff --git a/resource_example/exampleLegacy.yml b/resource_example/exampleLegacy.yml index b0a1b19..7b7ca7f 100644 --- a/resource_example/exampleLegacy.yml +++ b/resource_example/exampleLegacy.yml @@ -1,6 +1,6 @@ # |------------------------------------------------------------------------ # | CommandPanels Legacy Example File -# | By RockyHawk v2.3 +# | Official Panel v2.4 # | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/ # |------------------------------------------------------------------------ panels: @@ -107,7 +107,8 @@ panels: '32': material: COMPASS stack: 12 - enchanted: true + enchanted: + - true name: '&cClick Me' lore: - '&fI will teleport you home!' diff --git a/resource_example/example_bottom.yml b/resource_example/example_bottom.yml index ea6eb89..0c02dd8 100644 --- a/resource_example/example_bottom.yml +++ b/resource_example/example_bottom.yml @@ -1,6 +1,6 @@ # |------------------------------------------------------------------------ # | CommandPanels Example File -# | By RockyHawk v3.1 +# | Official Panel v3.1 # | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/ # |------------------------------------------------------------------------ panels: diff --git a/resource_example/example_middle_one.yml b/resource_example/example_middle_one.yml index 1d54f6b..8a4d657 100644 --- a/resource_example/example_middle_one.yml +++ b/resource_example/example_middle_one.yml @@ -1,6 +1,6 @@ # |------------------------------------------------------------------------ # | CommandPanels Example File -# | By RockyHawk v3.1 +# | Official Panel v3.2 # | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/ # |------------------------------------------------------------------------ panels: @@ -20,102 +20,102 @@ panels: name: '' animate0: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '1': material: AIR stack: 1 name: '' animate1: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '2': material: AIR stack: 1 name: '' animate2: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '3': material: AIR stack: 1 name: '' animate3: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '5': material: AIR stack: 1 name: '' animate9: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '6': material: AIR stack: 1 name: '' animate10: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '7': material: AIR stack: 1 name: '' animate11: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '12': material: AIR stack: 1 name: '' animate4: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '14': material: AIR stack: 1 name: '' animate8: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '16': material: AIR stack: 1 name: '' animate12: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '21': material: AIR stack: 1 name: '' animate5: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '22': material: AIR stack: 1 name: '' animate6: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '23': material: AIR stack: 1 name: '' animate7: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '25': material: AIR stack: 1 name: '' animate13: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' '26': material: AIR stack: 1 name: '' animate14: material: PUFFERFISH - name: '&eRhys the Pufferfish' + name: '&ePopper the Pufferfish' diff --git a/resource_example/example_middle_two.yml b/resource_example/example_middle_two.yml index ea0fe0c..261edfe 100644 --- a/resource_example/example_middle_two.yml +++ b/resource_example/example_middle_two.yml @@ -1,6 +1,6 @@ # |------------------------------------------------------------------------ # | CommandPanels Example File -# | By RockyHawk v3.1, Fixed by Minecraft ICT (ajh123) +# | Official Panel v3.2 # | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/ # |------------------------------------------------------------------------ panels: @@ -177,5 +177,4 @@ panels: - '' - '&8Player Browser made by:' - '&8TinyTank800' - - '&8MinecraftICT (ajh123)' diff --git a/resource_example/example_top.yml b/resource_example/example_top.yml index 073d0f9..1185673 100644 --- a/resource_example/example_top.yml +++ b/resource_example/example_top.yml @@ -1,6 +1,6 @@ # |------------------------------------------------------------------------ # | CommandPanels Example File -# | By RockyHawk v3.1 +# | Official Panel v3.2 # | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/ # |------------------------------------------------------------------------ panels: @@ -84,7 +84,8 @@ panels: '24': material: BOW name: '&fThis bow is enchanted' - enchanted: true + enchanted: + - true '26': material: LEATHER_CHESTPLATE name: '&eYellow &fArmor' diff --git a/resource_example/template.yml b/resource_example/template.yml index dfa8dde..02fa0f8 100644 --- a/resource_example/template.yml +++ b/resource_example/template.yml @@ -1,6 +1,6 @@ # |------------------------------------------------------------------------ # | CommandPanels Template File -# | By RockyHawk v1.1 +# | Official Panel v1.1 # | https://www.spigotmc.org/resources/command-panels-custom-guis.67788/ # |------------------------------------------------------------------------ panels: diff --git a/src/me/rockyhawk/commandpanels/classresources/ItemCreation.java b/src/me/rockyhawk/commandpanels/classresources/ItemCreation.java index 86da351..7a194d5 100644 --- a/src/me/rockyhawk/commandpanels/classresources/ItemCreation.java +++ b/src/me/rockyhawk/commandpanels/classresources/ItemCreation.java @@ -457,7 +457,9 @@ public class ItemCreation { } file.set("panels." + panelName + ".item." + i + ".stack", cont.getAmount()); if(!cont.getEnchantments().isEmpty()){ - file.set("panels." + panelName + ".item." + i + ".enchanted", "true"); + List enchantments = new ArrayList<>(); + enchantments.add("true"); + file.set("panels." + panelName + ".item." + i + ".enchanted", enchantments); } file.set("panels." + panelName + ".item." + i + ".name", Objects.requireNonNull(cont.getItemMeta()).getDisplayName()); file.set("panels." + panelName + ".item." + i + ".lore", Objects.requireNonNull(cont.getItemMeta()).getLore()); diff --git a/src/me/rockyhawk/commandpanels/editor/PanelDownloader.java b/src/me/rockyhawk/commandpanels/editor/PanelDownloader.java index 6021e67..12ff797 100644 --- a/src/me/rockyhawk/commandpanels/editor/PanelDownloader.java +++ b/src/me/rockyhawk/commandpanels/editor/PanelDownloader.java @@ -75,8 +75,8 @@ public class PanelDownloader { } else { BaseComponent[] components = new ComponentBuilder(plugin.tag + - net.md_5.bungee.api.ChatColor.GREEN + "Finished downloading, " + - ChatColor.UNDERLINE + "Panel '" + fileName + "'.\n" + + net.md_5.bungee.api.ChatColor.GREEN + "Finished downloading " + + ChatColor.UNDERLINE + "'" + fileName + "'.\n" + ChatColor.YELLOW + ChatColor.UNDERLINE + " Click Here to open the panel.") .event(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, "/cp " + panels.getConfigurationSection("panels").getKeys(false).toArray()[0]))