show group weight value in the group info command output
This commit is contained in:
parent
61fd14c816
commit
0ae59bd3e6
@ -49,6 +49,7 @@ public class GroupInfo extends SubCommand<Group> {
|
|||||||
Message.GROUP_INFO_GENERAL.send(sender,
|
Message.GROUP_INFO_GENERAL.send(sender,
|
||||||
group.getId(),
|
group.getId(),
|
||||||
group.getDisplayName(),
|
group.getDisplayName(),
|
||||||
|
group.getWeight().isPresent() ? group.getWeight().getAsInt() : "None",
|
||||||
group.getPermanentNodes().size(),
|
group.getPermanentNodes().size(),
|
||||||
group.getTemporaryNodes().size(),
|
group.getTemporaryNodes().size(),
|
||||||
group.getPrefixNodes().size(),
|
group.getPrefixNodes().size(),
|
||||||
|
@ -326,12 +326,13 @@ public enum Message {
|
|||||||
GROUP_INFO_GENERAL(
|
GROUP_INFO_GENERAL(
|
||||||
"{PREFIX}&b&l> &bGroup Info: &f{0}" + "\n" +
|
"{PREFIX}&b&l> &bGroup Info: &f{0}" + "\n" +
|
||||||
"{PREFIX}&f- &3Display Name: &f{1}" + "\n" +
|
"{PREFIX}&f- &3Display Name: &f{1}" + "\n" +
|
||||||
|
"{PREFIX}&f- &3Weight: &f{2}" + "\n" +
|
||||||
"{PREFIX}&f- &aCounts:" + "\n" +
|
"{PREFIX}&f- &aCounts:" + "\n" +
|
||||||
"{PREFIX}&f- &3Permissions: &a{2}" + "\n" +
|
"{PREFIX}&f- &3Permissions: &a{3}" + "\n" +
|
||||||
"{PREFIX}&f- &3Temporary Permissions: &a{3}" + "\n" +
|
"{PREFIX}&f- &3Temporary Permissions: &a{4}" + "\n" +
|
||||||
"{PREFIX}&f- &3Prefixes: &a{4}" + "\n" +
|
"{PREFIX}&f- &3Prefixes: &a{5}" + "\n" +
|
||||||
"{PREFIX}&f- &3Suffixes: &a{5}" + "\n" +
|
"{PREFIX}&f- &3Suffixes: &a{6}" + "\n" +
|
||||||
"{PREFIX}&f- &3Meta: &a{6}",
|
"{PREFIX}&f- &3Meta: &a{7}",
|
||||||
false
|
false
|
||||||
),
|
),
|
||||||
GROUP_SET_WEIGHT("&aSet weight to &b{0}&a for group &b{1}&a.", true),
|
GROUP_SET_WEIGHT("&aSet weight to &b{0}&a for group &b{1}&a.", true),
|
||||||
|
@ -273,13 +273,14 @@ user-showpos: "&aShowing &b{0}&a's position on track &b{1}&a.{2}"
|
|||||||
|
|
||||||
group-info-general: >
|
group-info-general: >
|
||||||
{PREFIX}&b&l> &bGroup Info: &f{0}\n
|
{PREFIX}&b&l> &bGroup Info: &f{0}\n
|
||||||
{PREFIX}&f- &3Diaplay Name: &f{1}\n
|
{PREFIX}&f- &3Display Name: &f{1}\n
|
||||||
|
{PREFIX}&f- &3Weight: &f{2}\n
|
||||||
{PREFIX}&f- &aCounts:\n
|
{PREFIX}&f- &aCounts:\n
|
||||||
{PREFIX}&f- &3Permissions: &a{2}\n
|
{PREFIX}&f- &3Permissions: &a{3}\n
|
||||||
{PREFIX}&f- &3Temporary Permissions: &a{3}\n
|
{PREFIX}&f- &3Temporary Permissions: &a{4}\n
|
||||||
{PREFIX}&f- &3Prefixes: &a{4}\n
|
{PREFIX}&f- &3Prefixes: &a{5}\n
|
||||||
{PREFIX}&f- &3Suffixes: &a{5}\n
|
{PREFIX}&f- &3Suffixes: &a{6}\n
|
||||||
{PREFIX}&f- &3Meta: &a{6}
|
{PREFIX}&f- &3Meta: &a{7}
|
||||||
group-set-weight: "&aSet weight to &b{0}&a for group &b{1}&a."
|
group-set-weight: "&aSet weight to &b{0}&a for group &b{1}&a."
|
||||||
|
|
||||||
track-info: >
|
track-info: >
|
||||||
|
Loading…
Reference in New Issue
Block a user