Clarify message when ignoring exempt players.

This commit is contained in:
KHobbits 2013-10-27 23:53:24 +00:00
parent 84ce3d39d8
commit 7436009ea4
20 changed files with 24 additions and 3 deletions

View File

@ -40,7 +40,10 @@ public class Commandignore extends EssentialsCommand
{
throw new PlayerNotFoundException();
}
if (user.isIgnoredPlayer(player))
if (player.isIgnoreExempt()) {
user.sendMessage(_("ignoreExempt"));
}
else if (user.isIgnoredPlayer(player))
{
user.setIgnoredPlayer(player, false);
user.sendMessage(_("unignorePlayer", player.getName()));

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -532,3 +532,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -527,3 +527,4 @@ mobDataList=\u00a76Valid mob data\:\u00a7r {0}
vanish=\u00a76Vanish for {0}\u00a76\: {1}
noLocationFound=\u00a74No valid location found.
coordsKeyword={0}, {1}, {2}
ignoreExempt=\u00a74You can not ignore that player.

View File

@ -167,9 +167,9 @@ commands:
usage: /<command> [player:][name]
aliases: [ehome,homes,ehomes]
ignore:
description: Ignore other players.
description: Ignore or unignore other players.
usage: /<command> <player>
aliases: [eignore]
aliases: [eignore,unignore,eunignore,delignore,edelignore,remignore,eremignore,rmignore,ermignore]
info:
description: Shows information set by the server owner.
usage: /<command> [chapter] [page]