Skip to content

Commit

Permalink
configs, fixes, cleanup, more idk
Browse files Browse the repository at this point in the history
Signed-off-by: Empa <[email protected]>
  • Loading branch information
ItsEmpa committed May 2, 2024
1 parent fd7ea5f commit 7fb5eba
Show file tree
Hide file tree
Showing 7 changed files with 161 additions and 118 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@
public class ColorConfig {

@Expose
@ConfigOption(name = "bg colr", desc = "")
@ConfigOption(name = "Background", desc = "Color of the GUI background.")
@ConfigEditorColour
public String backgroundColor = "0:127:0:0:0";

@Expose
@ConfigOption(name = "equip colr", desc = "")
@ConfigOption(name = "Equipped", desc = "Color of the currently equipped wardrobe slot.")
@ConfigEditorColour
public String equippedColor = "0:127:85:255:85";

@Expose
@ConfigOption(name = "fav colr", desc = "")
@ConfigOption(name = "Favorite", desc = "Color of the wardrobe slots that have been added as favorites.")
@ConfigEditorColour
public String favoriteColor = "0:127:255:85:85";

@Expose
@ConfigOption(name = "sam pag colr", desc = "")
@ConfigOption(name = "Same Page", desc = "Color of wardrobe slots in the same page.")
@ConfigEditorColour
public String samePageColor = "0:127:94:108:255";

@Expose
@ConfigOption(name = "othr pge colr", desc = "")
@ConfigOption(name = "Other Page", desc = "Color of wardrobe slots in another page.")
@ConfigEditorColour
public String otherPageColor = "0:127:0:0:0";

@Expose
@ConfigOption(name = "top bordr colr", desc = "")
@ConfigOption(name = "Top Outline", desc = "Color of the top of the outline when hovered.")
@ConfigEditorColour
public String topBorderColor = "0:255:255:200:0";

@Expose
@ConfigOption(name = "botm bordr colr", desc = "")
@ConfigOption(name = "Bottom Outline", desc = "Color of the bottom of the outline when hovered.")
@ConfigEditorColour
public String bottomBorderColor = "0:255:255:0:0";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,40 @@
public class CustomWardrobeConfig {

@Expose
@ConfigOption(name = "enble", desc = "")
@ConfigOption(name = "Enable", desc = "Enables the Custom Wardrobe GUI.")
@ConfigEditorBoolean
@FeatureToggle
public boolean enabled = true;

@Expose
@ConfigOption(name = "is lok mose", desc = "")
@ConfigOption(name = "Follow mouse", desc = "Players follow the movement of the mouse.")
@ConfigEditorBoolean
public boolean eyesFollowMouse = true;

@Expose
@ConfigOption(name = "no emty", desc = "")
@ConfigOption(name = "Hide Empty Slots", desc = "Hides wardrobe slots with no armor.")
@ConfigEditorBoolean
public boolean hideEmptySlots = false;

@Expose
@ConfigOption(name = "onli favs", desc = "")
@ConfigOption(name = "Hide Locked Slots", desc = "Hides locked wardrobe slots.")
@ConfigEditorBoolean
public boolean hideLockedSlots = false;

public boolean onlyFavorites = false;

@Expose
@ConfigOption(name = "estimdtaded valu", desc = "")
@ConfigOption(name = "Estimated Value", desc = "Show a §2$ §7sign you can hover to see the wardrobe slot value.")
@ConfigEditorBoolean
public boolean estimatedValue = true;

@Expose
@ConfigOption(name = "colr", desc = "")
@ConfigOption(name = "Colors", desc = "Change the color settings.")
@Accordion
public ColorConfig color = new ColorConfig();

@Expose
@ConfigOption(name = "spac", desc = "")
@ConfigOption(name = "Spacing", desc = "")
@Accordion
public SpacingConfig spacing = new SpacingConfig();
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
public class SpacingConfig {

@Expose
@ConfigOption(name = "globl skal", desc = "")
@ConfigOption(name = "Global Scale", desc = "Controls the scale of the entirety of the wardrobe.")
@ConfigEditorSlider(
minValue = 30,
maxValue = 200,
Expand All @@ -16,7 +16,7 @@ public class SpacingConfig {
public int globalScale = 100;

@Expose
@ConfigOption(name = "bordr thicc", desc = "")
@ConfigOption(name = "Outline Thickness", desc = "How thick the outline of the hovered slot is.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 15,
Expand All @@ -25,7 +25,7 @@ public class SpacingConfig {
public int outlineThickness = 5;

@Expose
@ConfigOption(name = "bordr blrrr", desc = "")
@ConfigOption(name = "Outline Blur", desc = "Amount of blur of the outline.")
@ConfigEditorSlider(
minValue = 0f,
maxValue = 1f,
Expand All @@ -34,7 +34,7 @@ public class SpacingConfig {
public float outlineBlur = 0.5f;

@Expose
@ConfigOption(name = "slot widt", desc = "")
@ConfigOption(name = "Slot Width", desc = "Width of the wardrobe slots.")
@ConfigEditorSlider(
minValue = 30,
maxValue = 100,
Expand All @@ -43,7 +43,7 @@ public class SpacingConfig {
public int slotWidth = 75;

@Expose
@ConfigOption(name = "slot haiiight", desc = "")
@ConfigOption(name = "Slot Height", desc = "Height of the wardrobe slots.")
@ConfigEditorSlider(
minValue = 60,
maxValue = 200,
Expand All @@ -52,7 +52,7 @@ public class SpacingConfig {
public int slotHeight = 140;

@Expose
@ConfigOption(name = "people big or nuhuh", desc = "")
@ConfigOption(name = "Player Scale", desc = "Scale of the players.")
@ConfigEditorSlider(
minValue = 0,
maxValue = 100,
Expand All @@ -61,7 +61,7 @@ public class SpacingConfig {
public int playerScale = 75;

@Expose
@ConfigOption(name = "no mor people in ma row >:(", desc = "")
@ConfigOption(name = "Slots per Row", desc = "Max amount of wardrobe slots per row.")
@ConfigEditorSlider(
minValue = 5,
maxValue = 18,
Expand All @@ -70,7 +70,7 @@ public class SpacingConfig {
public int maxPlayersPerRow = 9;

@Expose
@ConfigOption(name = "how wide bwetween pweopole", desc = "")
@ConfigOption(name = "Slots Horizontal Spacing", desc = "How much space horizontally between wardrobe slots.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 20,
Expand All @@ -79,7 +79,7 @@ public class SpacingConfig {
public int horizontalSpacing = 3;

@Expose
@ConfigOption(name = "how tall bwetween pweopole", desc = "")
@ConfigOption(name = "Slots Vertical Spacing", desc = "How much space vertically between wardrobe slots.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 20,
Expand All @@ -88,7 +88,7 @@ public class SpacingConfig {
public int verticalSpacing = 3;

@Expose
@ConfigOption(name = "how tall between people and button!", desc = "")
@ConfigOption(name = "Slots & Buttons Spacing", desc = "How much vertical space there is between wardrobe slots and the buttons.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 40,
Expand All @@ -97,7 +97,7 @@ public class SpacingConfig {
public int buttonSlotsVerticalSpacing = 10;

@Expose
@ConfigOption(name = "how wide between button!", desc = "")
@ConfigOption(name = "Button Horizontal Spacing", desc = "How much space horizontally between buttons.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 40,
Expand All @@ -106,7 +106,7 @@ public class SpacingConfig {
public int buttonHorizontalSpacing = 10;

@Expose
@ConfigOption(name = "how tall between button!", desc = "")
@ConfigOption(name = "Button Vertical Spacing", desc = "How much space vertically between buttons.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 40,
Expand All @@ -115,7 +115,7 @@ public class SpacingConfig {
public int buttonVerticalSpacing = 10;

@Expose
@ConfigOption(name = "how thicc button?", desc = "")
@ConfigOption(name = "Button Width", desc = "Width of the buttons.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 60,
Expand All @@ -124,7 +124,7 @@ public class SpacingConfig {
public int buttonWidth = 50;

@Expose
@ConfigOption(name = "how tal button?", desc = "")
@ConfigOption(name = "Button Height", desc = "Height of the buttons.")
@ConfigEditorSlider(
minValue = 1,
maxValue = 60,
Expand Down
Loading

0 comments on commit 7fb5eba

Please sign in to comment.