Finished changes to Whois -> Inspect

This commit is contained in:
nossr50 2012-02-29 09:25:48 -08:00
parent 423eb97e0f
commit 6c20df7839
12 changed files with 14 additions and 14 deletions

View File

@ -30,7 +30,7 @@ public class InspectCommand implements CommandExecutor {
player = (Player) sender; player = (Player) sender;
} }
if (player != null && !mcPermissions.getInstance().whois(player)) { if (player != null && !mcPermissions.getInstance().inspect(player)) {
sender.sendMessage(ChatColor.YELLOW + "[mcMMO] " + ChatColor.DARK_RED + mcLocale.getString("mcPlayerListener.NoPermission")); sender.sendMessage(ChatColor.YELLOW + "[mcMMO] " + ChatColor.DARK_RED + mcLocale.getString("mcPlayerListener.NoPermission"));
return true; return true;
} }

View File

@ -46,8 +46,8 @@ public class MccCommand implements CommandExecutor {
if (mcPermissions.getInstance().adminChat(player)) if (mcPermissions.getInstance().adminChat(player))
player.sendMessage("/a " + ChatColor.RED + mcLocale.getString("m.mccAdminToggle")); player.sendMessage("/a " + ChatColor.RED + mcLocale.getString("m.mccAdminToggle"));
if (mcPermissions.getInstance().whois(player)) if (mcPermissions.getInstance().inspect(player))
player.sendMessage("/whois " + mcLocale.getString("m.mccWhois")); player.sendMessage("/inspect " + mcLocale.getString("m.mccInspect"));
if (mcPermissions.getInstance().mmoedit(player)) if (mcPermissions.getInstance().mmoedit(player))
player.sendMessage("/mmoedit" + mcLocale.getString("m.mccMmoedit")); player.sendMessage("/mmoedit" + mcLocale.getString("m.mccMmoedit"));

View File

@ -79,8 +79,8 @@ public class mcPermissions
public boolean partyTeleport(Player player) { public boolean partyTeleport(Player player) {
return player.hasPermission("mcmmo.commands.ptp"); return player.hasPermission("mcmmo.commands.ptp");
} }
public boolean whois(Player player) { public boolean inspect(Player player) {
return player.hasPermission("mcmmo.commands.whois"); return player.hasPermission("mcmmo.commands.inspect");
} }
public boolean party(Player player) { public boolean party(Player player) {
return player.hasPermission("mcmmo.commands.party"); return player.hasPermission("mcmmo.commands.party");

View File

@ -27,7 +27,7 @@ m.mccMySpawn=[[YELLOW]]- Teleport zum Spawnpunkt
m.mccClearMySpawn=[[YELLOW]]- Spawnpunkt loeschen m.mccClearMySpawn=[[YELLOW]]- Spawnpunkt loeschen
m.mccToggleAbility=[[YELLOW]]- Faehigkeitsaktivierung mit rechtsklick an/aus schalten m.mccToggleAbility=[[YELLOW]]- Faehigkeitsaktivierung mit rechtsklick an/aus schalten
m.mccAdminToggle=[[YELLOW]]- Adminchat aktivieren m.mccAdminToggle=[[YELLOW]]- Adminchat aktivieren
m.mccWhois=[[WHITE]][playername] [[YELLOW]]- Detailierte Spielerinfos zeigen m.mccInspect=[[WHITE]][playername] [[YELLOW]]- Detailierte Spielerinfos zeigen
m.mccMmoedit=[playername] [skill] [newvalue] [[YELLOW]]- Ziel modifizieren m.mccMmoedit=[playername] [skill] [newvalue] [[YELLOW]]- Ziel modifizieren
m.mccMcGod=[[YELLOW]]- God Mode m.mccMcGod=[[YELLOW]]- God Mode
m.mccSkillInfo=[[WHITE]][skillname] [[YELLOW]]- Detailierte Skillinfos zeigen m.mccSkillInfo=[[WHITE]][skillname] [[YELLOW]]- Detailierte Skillinfos zeigen

View File

@ -27,7 +27,7 @@ m.mccMySpawn=- Teleports to myspawn
m.mccClearMySpawn=- Clears your MySpawn m.mccClearMySpawn=- Clears your MySpawn
m.mccToggleAbility=- Toggle ability activation with right click m.mccToggleAbility=- Toggle ability activation with right click
m.mccAdminToggle=- Toggle admin chat m.mccAdminToggle=- Toggle admin chat
m.mccWhois=[playername] [[RED]]- View detailed player info m.mccInspect=[playername] [[RED]]- View detailed player info
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modify target m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modify target
m.mccMcGod=- God Mode m.mccMcGod=- God Mode
m.mccSkillInfo=[skillname] [[RED]]- View detailed information about a skill m.mccSkillInfo=[skillname] [[RED]]- View detailed information about a skill

View File

@ -27,7 +27,7 @@ m.mccMySpawn=- Teletransportate a tu lugar de nacimiento
m.mccClearMySpawn=- Limpia tu lugar de nacimiento m.mccClearMySpawn=- Limpia tu lugar de nacimiento
m.mccToggleAbility=- Activa/Desactiva la activacion de la habilidad con el click derecho m.mccToggleAbility=- Activa/Desactiva la activacion de la habilidad con el click derecho
m.mccAdminToggle=- Activa/Desactiva el chat de admins m.mccAdminToggle=- Activa/Desactiva el chat de admins
m.mccWhois=[playername] [[RED]]- Mira informacion detallada del jugador m.mccInspect=[playername] [[RED]]- Mira informacion detallada del jugador
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modifica el objetivo m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modifica el objetivo
m.mccMcGod=- Modo dios m.mccMcGod=- Modo dios
m.mccSkillInfo=[skillname] [[RED]]- Mira informacion detallada sobre una habilidad m.mccSkillInfo=[skillname] [[RED]]- Mira informacion detallada sobre una habilidad

View File

@ -27,7 +27,7 @@ m.mccMySpawn=- Siirt
m.mccClearMySpawn=- Tyhjää myspawnisi m.mccClearMySpawn=- Tyhjää myspawnisi
m.mccToggleAbility=- Laita taitojen aktivointi oikealla näppäimellä päälle/pois m.mccToggleAbility=- Laita taitojen aktivointi oikealla näppäimellä päälle/pois
m.mccAdminToggle=- Laita admin juttelu päälle/pois m.mccAdminToggle=- Laita admin juttelu päälle/pois
m.mccWhois=[playername] [[RED]]- Näytä yksityiskohtaiset tiedot pelaajasta m.mccInspect=[playername] [[RED]]- Näytä yksityiskohtaiset tiedot pelaajasta
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Muokkaa kohdetta m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Muokkaa kohdetta
m.mccMcGod=- "God Mode" m.mccMcGod=- "God Mode"
m.mccSkillInfo=[skillname] [[RED]]- Näytä ykistyiskohtaiset tiedot taidosta m.mccSkillInfo=[skillname] [[RED]]- Näytä ykistyiskohtaiset tiedot taidosta

View File

@ -27,7 +27,7 @@ m.mccMySpawn=- Vous t
m.mccClearMySpawn=- Éfface votre point de spawn m.mccClearMySpawn=- Éfface votre point de spawn
m.mccToggleAbility=- Active les capacités spéciales avec clic droit m.mccToggleAbility=- Active les capacités spéciales avec clic droit
m.mccAdminToggle=- Active le chat admin m.mccAdminToggle=- Active le chat admin
m.mccWhois=[playername] [[RED]]- Voir les infos détaillées du joueur m.mccInspect=[playername] [[RED]]- Voir les infos détaillées du joueur
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modifier m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modifier
m.mccMcGod=- Mode dieu m.mccMcGod=- Mode dieu
m.mccSkillInfo=[skillname] [[RED]]- Afficher des informations détaillées d'une compétence m.mccSkillInfo=[skillname] [[RED]]- Afficher des informations détaillées d'une compétence

View File

@ -33,7 +33,7 @@ m.mccMySpawn=- Teleporteer naar MySpawn
m.mccClearMySpawn=- Verwijder je MySpawn m.mccClearMySpawn=- Verwijder je MySpawn
m.mccToggleAbility=- Doe ability activatie aan/uit m.mccToggleAbility=- Doe ability activatie aan/uit
m.mccAdminToggle=- Doe admin chat aan/uit m.mccAdminToggle=- Doe admin chat aan/uit
m.mccWhois=[playername] [[RED]]- Laat informatie zien over speler m.mccInspect=[playername] [[RED]]- Laat informatie zien over speler
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Verander levels m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Verander levels
m.mccMcGod=- God Modus m.mccMcGod=- God Modus
m.mccSkillInfo=[skillname] [[RED]]- Laat informatie zien over een skill m.mccSkillInfo=[skillname] [[RED]]- Laat informatie zien over een skill

View File

@ -27,7 +27,7 @@ m.mccMySpawn=- Teleportuje do twojego spawna.
m.mccClearMySpawn=- Kasuje twoj spawn i zmienia na domyslny. m.mccClearMySpawn=- Kasuje twoj spawn i zmienia na domyslny.
m.mccToggleAbility=- Wlacza specjalna umiejetnosc prawym przyciskiem myszy. m.mccToggleAbility=- Wlacza specjalna umiejetnosc prawym przyciskiem myszy.
m.mccAdminToggle=- Wlacza chat adminow. m.mccAdminToggle=- Wlacza chat adminow.
m.mccWhois=[nazwa gracza] [[RED]]- Zobacz szczegolowe informacje o graczu. m.mccInspect=[nazwa gracza] [[RED]]- Zobacz szczegolowe informacje o graczu.
m.mccMmoedit=[nazwa gracza] [umiejetnosc] [nowa wartosc] [[RED]]- Modyfikuje cel. m.mccMmoedit=[nazwa gracza] [umiejetnosc] [nowa wartosc] [[RED]]- Modyfikuje cel.
m.mccMcGod=- Niesmiertelnosc. m.mccMcGod=- Niesmiertelnosc.
m.mccSkillInfo=/[nazwa umiejetnosci (np. Mining)] [[RED]]- Wyswietla informacje na temat umiejetnosci. m.mccSkillInfo=/[nazwa umiejetnosci (np. Mining)] [[RED]]- Wyswietla informacje na temat umiejetnosci.

View File

@ -27,7 +27,7 @@ m.mccMySpawn=- Teleportar para o spawn
m.mccClearMySpawn=- Remove o Ponto de Spawn m.mccClearMySpawn=- Remove o Ponto de Spawn
m.mccToggleAbility=- Ativa habilidades especiais com botao direito m.mccToggleAbility=- Ativa habilidades especiais com botao direito
m.mccAdminToggle=- Ativa o chat dos admin m.mccAdminToggle=- Ativa o chat dos admin
m.mccWhois=[playername] [[RED]]- Ver informaçoes do jogador m.mccInspect=[playername] [[RED]]- Ver informaçoes do jogador
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modificar atributos do jogador m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Modificar atributos do jogador
m.mccMcGod=- Modo Deus m.mccMcGod=- Modo Deus
m.mccSkillInfo=[skillname] [[RED]]- Ver informaçoes sobre a habilidade m.mccSkillInfo=[skillname] [[RED]]- Ver informaçoes sobre a habilidade

View File

@ -28,7 +28,7 @@ m.mccMySpawn=-
m.mccClearMySpawn=- Убирает вашу кровать m.mccClearMySpawn=- Убирает вашу кровать
m.mccToggleAbility=- Активировать возможность правым кликом мыши m.mccToggleAbility=- Активировать возможность правым кликом мыши
m.mccAdminToggle=- Включить админский чат m.mccAdminToggle=- Включить админский чат
m.mccWhois=[playername] [[RED]]- Ïîñìîòðåòü äåòàëüíóþ èíôîðìàöèþ m.mccInspect=[playername] [[RED]]- Посмотреть детальную информацию
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Изменить цель m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Изменить цель
m.mccMcGod=- Режим Бога m.mccMcGod=- Режим Бога
m.mccSkillInfo=[skillname] [[RED]]- Посмотреть детальную информацию о умении m.mccSkillInfo=[skillname] [[RED]]- Посмотреть детальную информацию о умении