Skip to content

Commit 7436009

Browse files
committed
Clarify message when ignoring exempt players.
1 parent 84ce3d3 commit 7436009

20 files changed

+24
-3
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ protected void run(final Server server, final User user, final String commandLab
4040
{
4141
throw new PlayerNotFoundException();
4242
}
43-
if (user.isIgnoredPlayer(player))
43+
if (player.isIgnoreExempt()) {
44+
user.sendMessage(_("ignoreExempt"));
45+
}
46+
else if (user.isIgnoredPlayer(player))
4447
{
4548
user.setIgnoredPlayer(player, false);
4649
user.sendMessage(_("unignorePlayer", player.getName()));

Essentials/src/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_cs.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,3 +532,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_da.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_de.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_en.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_es.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_fi.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_fr.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

Essentials/src/messages_it.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,3 +527,4 @@ 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+
ignoreExempt=\u00a74You can not ignore that player.

0 commit comments

Comments
 (0)