Skip to content

Commit

Permalink
Re-organize /crates gui for new examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ryderbelserion committed Feb 7, 2024
1 parent f07fd9b commit 4c512d5
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 51 deletions.
Expand Up @@ -156,48 +156,50 @@ public void registerComments(CommentsConfiguration conf) {
public static final Property<Boolean> gui_customizer_toggle = newProperty("Settings.GUI-Customizer-Toggle", true);

public static final Property<List<String>> gui_customizer = newListProperty("Settings.GUI-Customizer", List.of(
"Slot:1, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:2, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:3, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:4, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:5, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:6, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:7, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:8, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:9, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:10, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:18, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:19, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:27, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:28, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:36, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:37, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:45, Item:BLACK_STAINED_GLASS_PANE, Name: ",

"Slot:11, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:12, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:13, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:14, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:15, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:16, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:17, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:20, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:22, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:24, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:26, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:29, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:30, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:31, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:32, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:33, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:34, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:35, Item:WHITE_STAINED_GLASS_PANE, Name: ",
"Slot:38, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:39, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:40, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:41, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:42, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:43, Item:BLACK_STAINED_GLASS_PANE, Name: ",
"Slot:44, Item:BLACK_STAINED_GLASS_PANE, Name: "
"Slot:1, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:2, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:3, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:4, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:5, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:6, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:7, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:8, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:9, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:37, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:38, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:39, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:40, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:41, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:42, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:43, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:44, Item:RED_STAINED_GLASS_PANE, Name: ",
"Slot:45, Item:RED_STAINED_GLASS_PANE, Name: ",

"Slot:10, Item:BLUE_STAINED_GLASS_PANE, Name: ",
"Slot:19, Item:BLUE_STAINED_GLASS_PANE, Name: ",
"Slot:28, Item:BLUE_STAINED_GLASS_PANE, Name: ",
"Slot:18, Item:BLUE_STAINED_GLASS_PANE, Name: ",
"Slot:27, Item:BLUE_STAINED_GLASS_PANE, Name: ",
"Slot:36, Item:BLUE_STAINED_GLASS_PANE, Name: ",

"Slot:11, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:13, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:15, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:25, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:17, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:20, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:21, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:22, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:23, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:24, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:25, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:26, Item:CYAN_STAINED_GLASS_PANE, Name: ",

"Slot:29, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:31, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:32, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:33, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:34, Item:CYAN_STAINED_GLASS_PANE, Name: ",
"Slot:35, Item:CYAN_STAINED_GLASS_PANE, Name: "
));
}
Expand Up @@ -48,6 +48,7 @@ public void load() {
.registerDefaultGenerateFiles("QuadCrateExample.yml", "/crates", "/crates")
.registerDefaultGenerateFiles("CosmicCrateExample.yml", "/crates", "/crates")
.registerDefaultGenerateFiles("QuickCrateExample.yml", "/crates", "/crates")
.registerDefaultGenerateFiles("WarCrateExample.yml", "/crates", "/crates")
.registerDefaultGenerateFiles("classic.nbt", "/schematics", "/schematics")
.registerDefaultGenerateFiles("nether.nbt", "/schematics", "/schematics")
.registerDefaultGenerateFiles("outdoors.nbt", "/schematics", "/schematics")
Expand Down
Expand Up @@ -40,7 +40,8 @@ public static void loadFiles() {
"CosmicCrateExample.yml",
"CrateExample.yml",
"QuadCrateExample.yml",
"QuickCrateExample.yml"
"QuickCrateExample.yml",
"WarCrateExample.yml"
));
}

Expand Down
2 changes: 1 addition & 1 deletion paper/src/main/resources/crates/CosmicCrateExample.yml
Expand Up @@ -8,7 +8,7 @@ Crate:
- '&7You have won &c%reward% &7from &c%crate%.'
Max-Mass-Open: 10
InGUI: true
Slot: 23
Slot: 14
OpeningBroadCast: false
BroadCast: ''
# This section is related to commands opening when a crate is opened.
Expand Down
4 changes: 2 additions & 2 deletions paper/src/main/resources/crates/CrateExample.yml
Expand Up @@ -20,7 +20,7 @@ Crate:
# If the type is QuickCrate/CrateOnTheGo/FireCracker, They will not work as they require a Physical Crate.
InGUI: true
# Slot the item is in the GUI.
Slot: 21
Slot: 12
# Enables/Disables the Broadcasts message when they open a crate.
OpeningBroadCast: true
# Message that is broadcast when opening the crate.
Expand Down Expand Up @@ -73,7 +73,7 @@ Crate:
Prize-Message:
- '&7You have won &c%reward% &7from &c%crate%.'
# Item the crate is in the GUI
Item: 'CHEST'
Item: 'DIAMOND'
# If the crate in the main /cc GUI is glowing or not.
Glowing: false
# Name of the item in the GUI.
Expand Down
4 changes: 2 additions & 2 deletions paper/src/main/resources/crates/QuadCrateExample.yml
Expand Up @@ -9,7 +9,7 @@ Crate:
RequiredKeys: 0
Max-Mass-Open: 10
InGUI: true
Slot: 25
Slot: 16
OpeningBroadCast: true
BroadCast: '%prefix%&6&l%player%&r &7is opening a &b&lQuad Crate.'
# This section is related to .nbt files.
Expand Down Expand Up @@ -63,7 +63,7 @@ Crate:
pitch: 1.0
Prize-Message:
- '&7You have won &c%reward% &7from &c%crate%.'
Item: 'CHEST'
Item: 'BREWING_STAND'
Glowing: false
Name: '&b&lQuad Crate'
Lore:
Expand Down
4 changes: 2 additions & 2 deletions paper/src/main/resources/crates/WarCrateExample.yml
Expand Up @@ -20,7 +20,7 @@ Crate:
# If the type is QuickCrate/CrateOnTheGo/FireCracker, They will not work as they require a Physical Crate.
InGUI: true
# Slot the item is in the GUI.
Slot: 21
Slot: 30
# Enables/Disables the Broadcasts message when they open a crate.
OpeningBroadCast: true
# Message that is broadcast when opening the crate.
Expand Down Expand Up @@ -73,7 +73,7 @@ Crate:
Prize-Message:
- '&7You have won &c%reward% &7from &c%crate%.'
# Item the crate is in the GUI
Item: 'CHEST'
Item: 'BEACON'
# If the crate in the main /cc GUI is glowing or not.
Glowing: false
# Name of the item in the GUI.
Expand Down

0 comments on commit 4c512d5

Please sign in to comment.