Skip to content

Commit

Permalink
Updated configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlrxxh committed Mar 28, 2024
1 parent d44726b commit fd95dd9
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 100 deletions.
2 changes: 0 additions & 2 deletions src/main/java/me/lrxh/practice/Practice.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand Down
91 changes: 21 additions & 70 deletions src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
MONGO:
URI: "mongodb+srv://lrxh:[email protected]/?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 <theme>Practice Network!'
- ' '
- ' &f✦ <theme>Discord: &fdiscord.gg/server'
- ' &f✦ <theme>Twitter: &ftwitter.com/@server'
- ' &f✦ <theme>Store: &fstore.server.net'
- " &7* <theme>Discord: &fdiscord.gg/server"
- " &7* <theme>Twitter: &ftwitter.com/@server"
- " &7* <theme>Store: &fstore.server.net"
- ' '
- '&7&m--------------------------------'
PING:
Expand Down Expand Up @@ -72,42 +72,6 @@ PARTY:
LEAVE: <theme>{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 <type> &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 <theme>{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)
Expand Down Expand Up @@ -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
9 changes: 0 additions & 9 deletions src/main/resources/events.yml

This file was deleted.

44 changes: 25 additions & 19 deletions src/main/resources/menus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ QUEUES-MENUS:
LORE:
- "<description>"
- " "
- " &f• In Fights: &b<playing>"
- " &f• Queued: &b<queueing>"
- " &f&7* &fIn Fights: &b<playing>"
- " &f&7* &fQueued: &b<queueing>"
- ""
- "&bTop ELO"
- " &c1. &f<lb_1_name_> &7- <lb_1_elo_>"
- " &32. &f<lb_2_name_> &7- <lb_2_elo_>"
- " &63. &f<lb_3_name_> &7- <lb_3_elo_>"
- " &c1. &f<lb_1_name_> &7[<lb_1_elo_>]"
- " &32. &f<lb_2_name_> &7[<lb_2_elo_>]"
- " &63. &f<lb_3_name_> &7[<lb_3_elo_>]"
- " "
- " &aClick to here play."
RANKED:
Expand All @@ -26,13 +26,13 @@ QUEUES-MENUS:
LORE:
- "<description>"
- " "
- " &f• In Fights: &b<playing>"
- " &f• Queued: &b<queueing>"
- " &f&7* &fIn Fights: &b<playing>"
- " &f&7* &fQueued: &b<queueing>"
- ""
- "&bTop ELO"
- " &c1. &f<lb_1_name_> &7- <lb_1_elo_>"
- " &32. &f<lb_2_name_> &7- <lb_2_elo_>"
- " &63. &f<lb_3_name_> &7- <lb_3_elo_>"
- " &c1. &f<lb_1_name_> &7[<lb_1_elo_>]"
- " &32. &f<lb_2_name_> &7[<lb_2_elo_>]"
- " &63. &f<lb_3_name_> &7[<lb_3_elo_>]"
- " "
- " &aClick to here play."
PARTY:
Expand All @@ -43,9 +43,9 @@ PARTY:
FILTER: FILL
EVENT-COLOR: "&b<event>"
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"
Expand Down Expand Up @@ -85,7 +85,7 @@ SETTINGS:
TITLE: "&7Settings"
FILTER: FILL # THERE IS FILL AND BRODER
SETTING-NAME: "&b<settings>"
SIZE: 45
SIZE: 36
EVENTS:
TITLE: "&7Select an event"
FILTER: FILL # THERE IS FILL AND BRODER
Expand All @@ -97,15 +97,21 @@ STATS:
KIT-NAME: "&a<kit>"
FILTER: FILL # THERE IS FILL AND BRODER
LORE:
- " &7* &fWins: &b<wins>"
- " &7* &fLoses: &b<loses>"
- " &7* &fElo: &b<elo>"
- "&7&m--------------"
- " &bGlobal Stats"
- " &7* &fWins: &b<wins>"
- " &7* &fLosses: &b<loses>"
- " &7* &fElo: &b<elo>"
- "&7&m--------------"
GLOBAL-STATS:
GLOBAL-STATS-NAME: "&aGlobal Stats"
LORE:
- " &7* &fWins: &b<wins>"
- " &7* &fLoses: &b<loses>"
- " &7* &fElo: &b<elo>"
- "&7&m--------------"
- " &bUser Stats"
- " &7* &fWins: &b<wins>"
- " &7* &fLosses: &b<loses>"
- " &7* &fElo: &b<elo>"
- "&7&m--------------"
PROFILE-SETTINGS:
TITLE: "&7Profile Menu"
SIZE: 27
Expand Down

0 comments on commit fd95dd9

Please sign in to comment.