1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-17 20:11:21 +02:00

Clarify message when ignoring exempt players.

This commit is contained in:
KHobbits
2013-10-27 23:53:24 +00:00
parent 28b122ee1d
commit 65c973a154
20 changed files with 24 additions and 3 deletions

View File

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

View File

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

View File

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