You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/ca/tweetzy/skulls/guis/SettingsGUI.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ protected void draw() {
46
46
setButton(1, 2, QuickItem.of(CompMaterial.GOLD_NUGGET).name("&e&lForce Sync Prices").lore("&7Clicking this will force update all the prices", "&7for all skulls to the default category price", "&7set within the configuration file.").make(), click -> {
Copy file name to clipboardExpand all lines: src/main/java/ca/tweetzy/skulls/settings/Settings.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ public final class Settings extends FlightSettings {
44
44
publicstaticfinalConfigEntryGENERAL_USAGE_REQUIRES_NO_PERM = create("general usage requires no permission", false, "If true, no permission is required to use except for admin stuff");
45
45
publicstaticfinalConfigEntryTELL_OP_PATREON_LINK = create("tell ops patron on join", true);
46
46
publicstaticfinalConfigEntrySKULL_TRACKING = create("track skull placement", true, "If disabled skulls will no longer drop in creative");
47
+
publicstaticfinalConfigEntryRANDOM_HEAD_BUTTON_ENABLED = create("random head button.enabled", false, "If enabled players can click to receive a random head (only from categories they have access too)");
48
+
publicstaticfinalConfigEntryRANDOM_HEAD_BUTTON_PRICE = create("random head button.price", 1.0, "The price for using the random head button");
@@ -79,7 +82,7 @@ public final class Settings extends FlightSettings {
79
82
publicstaticfinalConfigEntryGUI_MAIN_ITEMS_SEARCH_SLOT = create("gui.main.items.search.slot", 41, "-1 to disable it");
80
83
publicstaticfinalConfigEntryGUI_MAIN_ITEMS_CUSTOM_CATEGORIES_SLOT = create("gui.main.items.custom categories.slot", 38, "-1 to disable it");
81
84
publicstaticfinalConfigEntryGUI_MAIN_ITEMS_PLAYER_HEADS_SLOT = create("gui.main.items.player heads.slot", 39, "-1 to disable it");
82
-
85
+
publicstaticfinalConfigEntryGUI_MAIN_ITEMS_RANDOM_HEAD_SLOT = create("gui.main.items.random head.slot", 40, "-1 to disable or turn off completely under 'random head button'");
0 commit comments