Skip to content

Commit ae89c80

Browse files
FearFreekhobbits
authored andcommitted
Clarify no perm msgs for missing .offline perms
Signed-off-by: KHobbits <[email protected]>
1 parent 7436009 commit ae89c80

22 files changed

+79
-4
lines changed

Essentials/src/com/earth2me/essentials/commands/Commandban.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void run(final Server server, final CommandSource sender, final String co
4040
{
4141
if (sender.isPlayer() && !ess.getUser(sender.getPlayer()).isAuthorized("essentials.ban.offline"))
4242
{
43-
throw new Exception(_("banExempt"));
43+
throw new Exception(_("banExemptOffline"));
4444
}
4545
}
4646
else

Essentials/src/com/earth2me/essentials/commands/Commandmute.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public void run(final Server server, final CommandSource sender, final String co
3838
{
3939
if (sender.isPlayer() && !ess.getUser(sender.getPlayer()).isAuthorized("essentials.mute.offline"))
4040
{
41-
throw new Exception(_("muteExempt"));
41+
throw new Exception(_("muteExemptOffline"));
4242
}
4343
}
4444
else

Essentials/src/com/earth2me/essentials/commands/Commandtempban.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public void run(final Server server, final CommandSource sender, final String co
3030
if (sender.isPlayer()
3131
&& !ess.getUser(sender.getPlayer()).isAuthorized("essentials.tempban.offline"))
3232
{
33-
sender.sendMessage(_("tempbanExempt"));
33+
sender.sendMessage(_("tempbanExemptOffline"));
3434
return;
3535
}
3636
}

Essentials/src/com/earth2me/essentials/commands/Commandtogglejail.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void run(final Server server, final CommandSource sender, final String co
3131
if (sender.isPlayer()
3232
&& !ess.getUser(sender.getPlayer()).isAuthorized("essentials.togglejail.offline"))
3333
{
34-
sender.sendMessage(_("mayNotJail"));
34+
sender.sendMessage(_("mayNotJailOffline"));
3535
return;
3636
}
3737
}

Essentials/src/messages.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,4 +527,8 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
527527
vanish=\u00a76Vanish for {0}\u00a76\: {1}
528528
noLocationFound=\u00a74No valid location found.
529529
coordsKeyword={0}, {1}, {2}
530+
banExemptOffline=\u00a74You may not ban offline players.
531+
tempbanExemptOffline=\u00a74You may not tempban offline players.
532+
mayNotJailOffline=\u00a74You may not jail offline players\!
533+
muteExemptOffline=\u00a74You may not mute offline players.
530534
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_cs.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,4 +532,8 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
532532
vanish=\u00a76Vanish for {0}\u00a76\: {1}
533533
noLocationFound=\u00a74No valid location found.
534534
coordsKeyword={0}, {1}, {2}
535+
banExemptOffline=\u00a74You may not ban offline players.
536+
tempbanExemptOffline=\u00a74You may not tempban offline players.
537+
mayNotJailOffline=\u00a74You may not jail offline players!
538+
muteExemptOffline=\u00a74You may not mute offline players.
535539
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_da.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,4 +527,8 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
527527
vanish=\u00a76Vanish for {0}\u00a76\: {1}
528528
noLocationFound=\u00a74No valid location found.
529529
coordsKeyword={0}, {1}, {2}
530+
banExemptOffline=\u00a74You may not ban offline players.
531+
tempbanExemptOffline=\u00a74You may not tempban offline players.
532+
mayNotJailOffline=\u00a74You may not jail offline players!
533+
muteExemptOffline=\u00a74You may not mute offline players.
530534
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_de.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,4 +527,8 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
527527
vanish=\u00a76Vanish for {0}\u00a76\: {1}
528528
noLocationFound=\u00a74No valid location found.
529529
coordsKeyword={0}, {1}, {2}
530+
banExemptOffline=\u00a74You may not ban offline players.
531+
tempbanExemptOffline=\u00a74You may not tempban offline players.
532+
mayNotJailOffline=\u00a74You may not jail offline players!
533+
muteExemptOffline=\u00a74You may not mute offline players.
530534
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_en.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,4 +527,8 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
527527
vanish=\u00a76Vanish for {0}\u00a76\: {1}
528528
noLocationFound=\u00a74No valid location found.
529529
coordsKeyword={0}, {1}, {2}
530+
banExemptOffline=\u00a74You may not ban offline players.
531+
tempbanExemptOffline=\u00a74You may not tempban offline players.
532+
mayNotJailOffline=\u00a74You may not jail offline players!
533+
muteExemptOffline=\u00a74You may not mute offline players.
530534
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_es.properties

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,4 +527,8 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
527527
vanish=\u00a76Vanish for {0}\u00a76\: {1}
528528
noLocationFound=\u00a74No valid location found.
529529
coordsKeyword={0}, {1}, {2}
530+
banExemptOffline=\u00a74You may not ban offline players.
531+
tempbanExemptOffline=\u00a74You may not tempban offline players.
532+
mayNotJailOffline=\u00a74You may not jail offline players!
533+
muteExemptOffline=\u00a74You may not mute offline players.
530534
ignoreExempt=\u00a74You can not ignore that player.

0 commit comments

Comments
 (0)