From 68598891c81d973300fb23a16d5a493c2bfafa02 Mon Sep 17 00:00:00 2001 From: lucian929 <60053521+lucian929@users.noreply.github.com> Date: Mon, 2 Jan 2023 11:12:29 -0500 Subject: [PATCH] Edit default configurations --- common/src/main/resources/config.yml | 4 +- .../resources/cosmetics/defaultcosmetics.yml | 134 ++++++++++++++++++ .../resources/cosmetics/examplecosmetics.yml | 30 ---- .../src/main/resources/menus/defaultmenu.yml | 87 ++++++++++++ .../src/main/resources/menus/examplemenu.yml | 22 --- 5 files changed, 223 insertions(+), 54 deletions(-) create mode 100644 common/src/main/resources/cosmetics/defaultcosmetics.yml delete mode 100644 common/src/main/resources/cosmetics/examplecosmetics.yml create mode 100644 common/src/main/resources/menus/defaultmenu.yml delete mode 100644 common/src/main/resources/menus/examplemenu.yml diff --git a/common/src/main/resources/config.yml b/common/src/main/resources/config.yml index d51cd201..c09e2f3c 100644 --- a/common/src/main/resources/config.yml +++ b/common/src/main/resources/config.yml @@ -3,7 +3,7 @@ # config-version: 1 -default-menu: examplemenu +default-menu: defaultmenu debug-mode: false database-settings: type: sqlite # INTERNAL (not recommended!), MYSQL, SQLite @@ -33,7 +33,7 @@ cosmetic-settings: y: 3 z: 0.5 dye-menu: - title: "Dye menu" + title: "" wardrobe: # If the wardrobe should be accessed anywhere (Experimental) portable: false diff --git a/common/src/main/resources/cosmetics/defaultcosmetics.yml b/common/src/main/resources/cosmetics/defaultcosmetics.yml new file mode 100644 index 00000000..131501c5 --- /dev/null +++ b/common/src/main/resources/cosmetics/defaultcosmetics.yml @@ -0,0 +1,134 @@ +beanie: + slot: HELMET + permission: "hmccosmetics.beanie" + dyeable: true + item: + material: LEATHER_HORSE_ARMOR + model-data: 2 + name: "Colorful Hat" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_beanie%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_beanie%" + amount: 1 +backpack: + slot: BACKPACK + permission: "hmccosmetics.backpack" + item: + material: PAPER + model-data: 4 + name: "Backpack" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_backpack%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_backpack%" + amount: 1 +future_wings: + slot: BACKPACK + permission: "hmccosmetics.future_wings" + item: + material: PAPER + model-data: 9 + name: "<#d24c9f>Future Wings" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_future_wings%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_future_wings%" + amount: 1 +lantern_cosmetic: + slot: OFFHAND + permission: "hmccosmetics.lantern_cosmetic" + item: + material: PAPER + model-data: 5 + name: "Lantern Cosmetic" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_lantern_cosmetic%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_lantern_cosmetic%" + amount: 1 +baseball_hat: + slot: HELMET + permission: "hmccosmetics.baseball_hat" + item: + material: PAPER + model-data: 6 + name: "Baseball Hat" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_baseball_hat%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_baseball_hat%" + amount: 1 +frog_hat: + slot: HELMET + permission: "hmccosmetics.frog_hat" + item: + material: PAPER + model-data: 11 + name: "Frog Hat" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_frog_hat%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_frog_hat%" + amount: 1 +jetpack: + slot: BACKPACK + permission: "hmccosmetics.jetpack" + item: + material: PAPER + model-data: 12 + name: "Jetpack" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_jetpack%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_jetpack%" + amount: 1 +hammer: + slot: OFFHAND + permission: "hmccosmetics.hammer" + item: + material: PAPER + model-data: 13 + name: "Hammer" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_hammer%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_hammer%" + amount: 1 +chestplate: + slot: CHESTPLATE + permission: "hmccosmetics.chestplate" + item: + material: DIAMOND_CHESTPLATE + name: "Chestplate" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_chestplate%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_chestplate%" + amount: 1 +pants: + slot: LEGGINGS + permission: "hmccosmetics.pants" + item: + material: DIAMOND_LEGGINGS + name: "Pants" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_pants%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_pants%" + amount: 1 +boots: + slot: BOOTS + permission: "hmccosmetics.boots" + item: + material: DIAMOND_BOOTS + name: "Boots" + lore: + - "" + - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_boots%" + - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_boots%" + amount: 1 +kite: + slot: BALLOON + permission: "hmccosmetics.kite" + model: kite diff --git a/common/src/main/resources/cosmetics/examplecosmetics.yml b/common/src/main/resources/cosmetics/examplecosmetics.yml deleted file mode 100644 index 72f23a05..00000000 --- a/common/src/main/resources/cosmetics/examplecosmetics.yml +++ /dev/null @@ -1,30 +0,0 @@ -niftyhat: - slot: HELMET - item: - material: DIAMOND_HELMET - name: "Colorful Hat" - lore: - - "My awesome Colorful Hat!" - amount: 1 - model-data: 2 - enchantments: - UNBREAKING: 1 -niftychestplate: - slot: CHESTPLATE - item: - material: DIAMOND_CHESTPLATE - name: "Colorful Chestplate" - lore: - - "My awesome Colorful Chestplate!" - amount: 1 - model-data: 2 - enchantments: - UNBREAKING: 1 -colorfulbackpack: - slot: BACKPACK - item: - material: PAPER - model-data: 4 -colorfulballoon: - slot: BALLOON - model: beach_ball_balloon diff --git a/common/src/main/resources/menus/defaultmenu.yml b/common/src/main/resources/menus/defaultmenu.yml new file mode 100644 index 00000000..9e2aaa24 --- /dev/null +++ b/common/src/main/resources/menus/defaultmenu.yml @@ -0,0 +1,87 @@ +title: "" +rows: 5 +items: + beanie: + slots: + - 1 + item: + material: hmccosmetics:beanie + type: cosmetic + cosmetic: beanie + backpack: + slots: + - 2 + item: + material: hmccosmetics:backpack + type: cosmetic + cosmetic: backpack + future_wings: + slots: + - 3 + item: + material: hmccosmetics:future_wings + type: cosmetic + cosmetic: future_wings + lantern_cosmetic: + slots: + - 4 + item: + material: hmccosmetics:lantern_cosmetic + type: cosmetic + cosmetic: lantern_cosmetic + baseball_hat: + slots: + - 5 + item: + material: hmccosmetics:baseball_hat + type: cosmetic + cosmetic: baseball_hat + frog_hat: + slots: + - 6 + item: + material: hmccosmetics:frog_hat + type: cosmetic + cosmetic: frog_hat + jetpack: + slots: + - 7 + item: + material: hmccosmetics:jetpack + type: cosmetic + cosmetic: jetpack + hammer: + slots: + - 10 + item: + material: hmccosmetics:hammer + type: cosmetic + cosmetic: hammer + chestplate: + slots: + - 11 + item: + material: hmccosmetics:chestplate + type: cosmetic + cosmetic: chestplate + pants: + slots: + - 12 + item: + material: hmccosmetics:pants + type: cosmetic + cosmetic: pants + boots: + slots: + - 13 + item: + material: hmccosmetics:boots + type: cosmetic + cosmetic: boots + kite: + slots: + - 14 + item: + material: hmccosmetics:kite + type: cosmetic + cosmetic: kite \ No newline at end of file diff --git a/common/src/main/resources/menus/examplemenu.yml b/common/src/main/resources/menus/examplemenu.yml deleted file mode 100644 index bb4c3606..00000000 --- a/common/src/main/resources/menus/examplemenu.yml +++ /dev/null @@ -1,22 +0,0 @@ -title: "" -rows: 5 -items: - niftyHat: - slots: - - 1-4 - item: - material: LEATHER_HORSE_ARMOR - amount: 1 - lore: - - "" - - "Enabled: <#6D9DC5>%HMCCosmetics_equipped_niftyhat%" - - "Allowed: <#6D9DC5>%HMCCosmetics_unlocked_niftyhat%" - type: cosmetic - cosmetic: niftyhat - actions: - any: - - "[MESSAGE] The Nifty Hat is pretty Nifty." - on-equip: - - "[MESSAGE] You have equiped the Nifty Hat!" - on-unequip: - - "[MESSAGE] You have put down the Nifty Hat!"