You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (sender.hasPermission(Permission.NATION_MEMBERS_LIST)) subCommandBuilder.append(Component.newline()).append(SMPCore.messages()
67
73
.subCommandEntry(label + " list ", "list"));
74
+
if (sender.hasPermission(Permission.NATION_MEMBERS_KICK)) subCommandBuilder.append(Component.newline()).append(SMPCore.messages()
75
+
.subCommandEntry(label + " kick ", "kick", Messages.SubCommandArgument.of(newMessages.SubCommandArgument("member", true)), "remove a member from the nation"));
Copy file name to clipboardExpand all lines: src/main/resources/messages.yml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ nation:
62
62
kick: <click:run_command:/nation kick <member-name>><hover:show_text:'Remove member from the nation'><dark_gray>[<red>Kick</red>]</dark_gray></hover></click>
63
63
demote: <click:run_command:/nation vice-demote <member-name>><hover:show_text:'Demote vice-leader to citizen'><dark_gray>[<red>Demote</red>]</dark_gray></hover></click>
64
64
promote: <click:run_command:/nation vice-promote <member-name>><hover:show_text:'Appoint citizen as vice-leader'><dark_gray>[<green>Promote</green>]</dark_gray></hover></click>
65
+
kicked: <green>(!) Player <gray><player></gray> is no longer a member of the nation.</green>
65
66
error:
66
67
no-permission: <red>(!) You don't have permission to use this command.</red>
67
68
player-not-banned: <red>(!) Player <gray><player></gray> is not banned and is not a member.</red>
@@ -77,4 +78,6 @@ error:
77
78
never-joined: <red>(!) Player <gray><player></gray> has never played on the server.</red>
78
79
command-on-staff: <red>(!) You cannot use <gray>/<command></gray> on staff.</red>
79
80
not-in-nation: <red>(!) You are not a member of any nation.</red>
81
+
member-not-your-nation: <red>(!) Member <gray><player></gray> is not a member of your nation.</red>
80
82
not-player: <red>(!) You must be a player to use this command.</red>
83
+
nation-kick-leadership: <red>(!) You cannot kick a member of the nation's leadership.</red>
0 commit comments