From 0ecda3acd203361b13dcb280c1cf998f071e69ac Mon Sep 17 00:00:00 2001 From: RayzsYT <51991564+RayzsYT@users.noreply.github.com> Date: Wed, 3 Jul 2024 16:49:15 +0200 Subject: [PATCH] Add New List Section --- .../rayzs/pat/api/storage/config/messages/GroupSection.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/de/rayzs/pat/api/storage/config/messages/GroupSection.java b/src/main/java/de/rayzs/pat/api/storage/config/messages/GroupSection.java index ff5ae9ef..470e8bce 100644 --- a/src/main/java/de/rayzs/pat/api/storage/config/messages/GroupSection.java +++ b/src/main/java/de/rayzs/pat/api/storage/config/messages/GroupSection.java @@ -12,6 +12,7 @@ public class GroupSection extends ConfigStorage { public String LIST_MESSAGE, LIST_SPLITTER, LIST_COMMAND, LIST_SERVER_MESSAGE, LIST_SERVER_SPLITTER, LIST_SERVER_COMMAND; public String LIST_GROUP_MESSAGE, LIST_GROUP_SPLITTER, LIST_GROUP_GROUPS, LIST_GROUP_SERVER_MESSAGE, LIST_GROUP_SERVER_SPLITTER, LIST_GROUP_SERVER_GROUPS; + public String LIST_PRIORITY_MESSAGE, LIST_PRIORITY_SPLITTER, LIST_PRIORITY_GROUPS; public String ADD_SUCCESS, ADD_FAILED; public String REMOVE_SUCCESS, REMOVE_FAILED; @@ -43,6 +44,10 @@ public class GroupSection extends ConfigStorage { LIST_SPLITTER = new ConfigSectionHelper(this, "list.splitter", "&7, ").getOrSet(); LIST_COMMAND = new ConfigSectionHelper(this, "list.command", "&f").getOrSet(); + LIST_PRIORITY_MESSAGE = new ConfigSectionHelper(this, "list-priorities.message", "&7List of all group priorities (&f%size%&7)&8: &f%groups%").getOrSet(); + LIST_PRIORITY_SPLITTER = new ConfigSectionHelper(this, "list-priorities.splitter", "\\n").getOrSet(); + LIST_PRIORITY_GROUPS = new ConfigSectionHelper(this, "list-priorities.group", "&8- &e%priority%&8: &f%group%").getOrSet(); + LIST_GROUP_MESSAGE = new ConfigSectionHelper(this, "list-groups.message", "&7All groups (&f%size%&7)&8: &f%groups%").getOrSet(); LIST_GROUP_SPLITTER = new ConfigSectionHelper(this, "list-groups.splitter", "&7, ").getOrSet(); LIST_GROUP_GROUPS = new ConfigSectionHelper(this, "list-groups.command", "&f").getOrSet();