diff --git a/src/main/java/me/lrxh/practice/Practice.java b/src/main/java/me/lrxh/practice/Practice.java index dd59389..67fd405 100644 --- a/src/main/java/me/lrxh/practice/Practice.java +++ b/src/main/java/me/lrxh/practice/Practice.java @@ -63,7 +63,6 @@ public class Practice extends JavaPlugin { private BasicConfigurationFile mainConfig; private BasicConfigurationFile arenasConfig; private BasicConfigurationFile kitsConfig; - private BasicConfigurationFile eventsConfig; private BasicConfigurationFile scoreboardConfig; private BasicConfigurationFile menusConfig; private MongoDatabase mongoDatabase; @@ -86,7 +85,6 @@ public void loadConfigs() { mainConfig = new BasicConfigurationFile(this, "config"); arenasConfig = new BasicConfigurationFile(this, "arenas"); kitsConfig = new BasicConfigurationFile(this, "kits"); - eventsConfig = new BasicConfigurationFile(this, "events"); scoreboardConfig = new BasicConfigurationFile(this, "scoreboard"); menusConfig = new BasicConfigurationFile(this, "menus"); this.essentials = new Essentials(this); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 18e7858..314c8d8 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,22 +1,22 @@ MONGO: - URI: "mongodb+srv://lrxh:KlR0lOFSbtAxanOi@cluster0.st1wrul.mongodb.net/?retryWrites=true&w=majority" - DATABASE: "practice" + URI: + DATABASE: RANKED: REQUIRED-WINS: 3 ERROR-MESSAGE: '&cYou cannot join ranked queues with less than 10 unranked 1v1 wins. You need {0} more wins!' DEFAULT-THEME-COLOR: AQUA LEADERBOARD: - ENABLE-MESSAGE: True + ENABLE-MESSAGE: true MESSAGE: '&aLeaderboards Refreshed!' UPDATE-TIME: 1 JOIN_MESSAGE: - '&7&m--------------------------------' - '&fWelcome to the Practice Network!' - ' ' - - ' &f✦ Discord: &fdiscord.gg/server' - - ' &f✦ Twitter: &ftwitter.com/@server' - - ' &f✦ Store: &fstore.server.net' + - " &7* Discord: &fdiscord.gg/server" + - " &7* Twitter: &ftwitter.com/@server" + - " &7* Store: &fstore.server.net" - ' ' - '&7&m--------------------------------' PING: @@ -72,42 +72,6 @@ PARTY: LEAVE: {0} &ehas {1} your party. PRIVACY_CHANGE: '&eYour party privacy has been set to &7{0}&e.' CHAT_PREFIX: '&c[Party] &r' -EVENT: - HELP: - - '&7&m------------------------------------------------' - - '&cEvent Help' - - '&9/events &7- &7Show events that can be hosted' - - '&9/event host &7- &7Host an event by name' - - '&9/event info &7- &7Shows active event information' - - '&9/event join &7- &7Join the event' - - '&9/event leave &7- &7Leave the event' - - '&7&m------------------------------------------------' - JOIN_BROADCAST: - - '&7███████' - - '&7██&4███&7██' - - '&7██&4█&7████ &c[{0} Event]' - - '&7██&4███&7██ &r{1} &eis hosting an event!' - - '&7██&4█&7████ &r&7Click to join!' - - '&7██&4███&7██' - - '&7███████' - JOIN_HOVER: '&eClick to join,' - PLAYER_JOIN: '&7[&7Event&7] &r{0} &ehas joined the event. &7&o({1}/{2})' - PLAYER_LEAVE: '&7[&7Event&7] &r{0} &ehas left the event. &7&o({1}/{2})' - PLAYER_VOTE: '&7[&7Event&7] &r{0} &ehas voted for the &7{1} &emap. &7&o({2} votes)' - ROUND_START: '&7[&7Event&7] &7{1} &evs &7{2}' - ROUND_START_TIMER: '&7[&7Event&7] &7Round {0} &ewill start in &7{1} {2}&e.' - ROUND_ELIMINATION: '&7[&7Event&7] &7{0} &e{1} eliminated.' - ROUND_OPPONENT: '&7[&7Event&7] &eYour Opponent{0}: &7{1}' - STARTED: - - '&7[&7Event&7] &7{0} &ehas started. &7&o({1}/{2})' - FINISHED: - - '&7███████' - - '&7██&4███&7██' - - '&7██&4█&7████ &c[{0} Event]' - - '&7██&4███&7██ &r{1} won the event!' - - '&7██&4█&7████ &r&cGood game!' - - '&7██&4███&7██' - - '&7███████' DUEL: SENT: '&eYou sent {1} &ea duel request to &a{0} &eon arena &d{2}&e.' SENT_PARTY: '&aYour party sent a &7{0} &cduel request to &7{1}''''s party &c(&7{2}&c) @@ -177,101 +141,88 @@ HOTBAR_ITEMS: MATERIAL: IRON_SWORD DURABILITY: 0 NAME: '&bUnranked Queue &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 0 QUEUE_JOIN_RANKED: MATERIAL: DIAMOND_SWORD DURABILITY: 0 NAME: '&bRanked Queue &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 1 LEADERBOARDS: MATERIAL: EMERALD DURABILITY: 0 NAME: '&bLeaderboards &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 6 PARTY_CREATE: MATERIAL: NAME_TAG DURABILITY: 0 NAME: '&bCreate a Party &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 4 PROFILE_SETTINGS: MATERIAL: PAPER DURABILITY: 0 NAME: '&bProfile Menu &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 8 KIT_EDITOR: MATERIAL: BOOK DURABILITY: 0 NAME: '&bKit Editor &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 8 QUEUEING: QUEUE_LEAVE: MATERIAL: INK_SACK DURABILITY: 1 NAME: '&cLeave Queue &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 8 - EVENT: - EVENT_LEAVE: - MATERIAL: NETHER_STAR - DURABILITY: 0 - NAME: '&cLeave Event &7(Right Click)' - LORE: [ ] - SLOT: 2 - MAP_SELECTION: - MATERIAL: MAP - DURABILITY: 0 - NAME: '&7» &c%MAP% &7«' - LORE: [ ] - SLOT: 3 PARTY: PARTY_INFORMATION: MATERIAL: NETHER_STAR DURABILITY: 0 NAME: '&bParty Information &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 0 PARTY_EVENTS: MATERIAL: DIAMOND_SWORD DURABILITY: 0 NAME: '&bParty Events &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 1 OTHER_PARTIES: MATERIAL: CHEST DURABILITY: 0 NAME: '&bOther Parties &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 2 KIT_EDITOR: MATERIAL: BOOK DURABILITY: 0 NAME: '&bKit Editor &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 7 PARTY_DISBAND: MATERIAL: INK_SACK DURABILITY: 1 NAME: '&cDisaband Party &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 8 PARTY_LEAVE: MATERIAL: INK_SACK DURABILITY: 1 NAME: '&cLeave Party &7(Right Click)' - LORE: [ ] + LORE: [] SLOT: 8 SPECTATING: SPECTATE_STOP: MATERIAL: INK_SACK DURABILITY: 1 NAME: '&cLeave Match &7(Right click)' - LORE: [ ] + LORE: [] SLOT: 8 ESSENTIAL: - SPAWN_LOCATION: world:8558.5:172.0:8983.5:179.93808:-4.879943 + SPAWN_LOCATION: world:0.5:52.0:0.5:0.68951416:-3.124416 diff --git a/src/main/resources/events.yml b/src/main/resources/events.yml deleted file mode 100644 index cde524d..0000000 --- a/src/main/resources/events.yml +++ /dev/null @@ -1,9 +0,0 @@ -EVENTS: - SUMO: - LOBBY_LOCATION: "null" - ALLOWED_MAPS: [ ] -EVENT_MAPS: { } -HOST_SLOTS: - 1: - PERMISSION: "zonix.ranks.gold" - SLOTS: 64 \ No newline at end of file diff --git a/src/main/resources/menus.yml b/src/main/resources/menus.yml index 6556210..cd4be84 100644 --- a/src/main/resources/menus.yml +++ b/src/main/resources/menus.yml @@ -11,13 +11,13 @@ QUEUES-MENUS: LORE: - "" - " " - - " &f• In Fights: &b" - - " &f• Queued: &b" + - " &f&7* &fIn Fights: &b" + - " &f&7* &fQueued: &b" - "" - "&bTop ELO" - - " &c1. &f &7- " - - " &32. &f &7- " - - " &63. &f &7- " + - " &c1. &f &7[]" + - " &32. &f &7[]" + - " &63. &f &7[]" - " " - " &aClick to here play." RANKED: @@ -26,13 +26,13 @@ QUEUES-MENUS: LORE: - "" - " " - - " &f• In Fights: &b" - - " &f• Queued: &b" + - " &f&7* &fIn Fights: &b" + - " &f&7* &fQueued: &b" - "" - "&bTop ELO" - - " &c1. &f &7- " - - " &32. &f &7- " - - " &63. &f &7- " + - " &c1. &f &7[]" + - " &32. &f &7[]" + - " &63. &f &7[]" - " " - " &aClick to here play." PARTY: @@ -43,9 +43,9 @@ PARTY: FILTER: FILL EVENT-COLOR: "&b" SELECT-KIT: - TITLE: "&6Select a Kit" + TITLE: "&7Select a Kit" OTHER-PARTIES: - TITLE: "&9Other Parties" + TITLE: "&7Other Parties" SIZE: 27 KIT-EDITOR: TITLE: "&7Select a Kit" @@ -85,7 +85,7 @@ SETTINGS: TITLE: "&7Settings" FILTER: FILL # THERE IS FILL AND BRODER SETTING-NAME: "&b" - SIZE: 45 + SIZE: 36 EVENTS: TITLE: "&7Select an event" FILTER: FILL # THERE IS FILL AND BRODER @@ -97,15 +97,21 @@ STATS: KIT-NAME: "&a" FILTER: FILL # THERE IS FILL AND BRODER LORE: - - " &7* &fWins: &b" - - " &7* &fLoses: &b" - - " &7* &fElo: &b" + - "&7&m--------------" + - " &bGlobal Stats" + - " &7* &fWins: &b" + - " &7* &fLosses: &b" + - " &7* &fElo: &b" + - "&7&m--------------" GLOBAL-STATS: GLOBAL-STATS-NAME: "&aGlobal Stats" LORE: - - " &7* &fWins: &b" - - " &7* &fLoses: &b" - - " &7* &fElo: &b" + - "&7&m--------------" + - " &bUser Stats" + - " &7* &fWins: &b" + - " &7* &fLosses: &b" + - " &7* &fElo: &b" + - "&7&m--------------" PROFILE-SETTINGS: TITLE: "&7Profile Menu" SIZE: 27