mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Finished changes to Whois -> Inspect
This commit is contained in:
parent
423eb97e0f
commit
6c20df7839
@ -30,7 +30,7 @@ public class InspectCommand implements CommandExecutor {
|
||||
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"));
|
||||
return true;
|
||||
}
|
||||
|
@ -46,8 +46,8 @@ public class MccCommand implements CommandExecutor {
|
||||
if (mcPermissions.getInstance().adminChat(player))
|
||||
player.sendMessage("/a " + ChatColor.RED + mcLocale.getString("m.mccAdminToggle"));
|
||||
|
||||
if (mcPermissions.getInstance().whois(player))
|
||||
player.sendMessage("/whois " + mcLocale.getString("m.mccWhois"));
|
||||
if (mcPermissions.getInstance().inspect(player))
|
||||
player.sendMessage("/inspect " + mcLocale.getString("m.mccInspect"));
|
||||
|
||||
if (mcPermissions.getInstance().mmoedit(player))
|
||||
player.sendMessage("/mmoedit" + mcLocale.getString("m.mccMmoedit"));
|
||||
|
@ -79,8 +79,8 @@ public class mcPermissions
|
||||
public boolean partyTeleport(Player player) {
|
||||
return player.hasPermission("mcmmo.commands.ptp");
|
||||
}
|
||||
public boolean whois(Player player) {
|
||||
return player.hasPermission("mcmmo.commands.whois");
|
||||
public boolean inspect(Player player) {
|
||||
return player.hasPermission("mcmmo.commands.inspect");
|
||||
}
|
||||
public boolean party(Player player) {
|
||||
return player.hasPermission("mcmmo.commands.party");
|
||||
|
@ -27,7 +27,7 @@ m.mccMySpawn=[[YELLOW]]- Teleport zum Spawnpunkt
|
||||
m.mccClearMySpawn=[[YELLOW]]- Spawnpunkt loeschen
|
||||
m.mccToggleAbility=[[YELLOW]]- Faehigkeitsaktivierung mit rechtsklick an/aus schalten
|
||||
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.mccMcGod=[[YELLOW]]- God Mode
|
||||
m.mccSkillInfo=[[WHITE]][skillname] [[YELLOW]]- Detailierte Skillinfos zeigen
|
||||
|
@ -27,7 +27,7 @@ m.mccMySpawn=- Teleports to myspawn
|
||||
m.mccClearMySpawn=- Clears your MySpawn
|
||||
m.mccToggleAbility=- Toggle ability activation with right click
|
||||
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.mccMcGod=- God Mode
|
||||
m.mccSkillInfo=[skillname] [[RED]]- View detailed information about a skill
|
||||
|
@ -27,7 +27,7 @@ m.mccMySpawn=- Teletransportate a 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.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.mccMcGod=- Modo dios
|
||||
m.mccSkillInfo=[skillname] [[RED]]- Mira informacion detallada sobre una habilidad
|
||||
|
@ -27,7 +27,7 @@ m.mccMySpawn=- Siirt
|
||||
m.mccClearMySpawn=- Tyhjää myspawnisi
|
||||
m.mccToggleAbility=- Laita taitojen aktivointi oikealla näppäimellä 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.mccMcGod=- "God Mode"
|
||||
m.mccSkillInfo=[skillname] [[RED]]- Näytä ykistyiskohtaiset tiedot taidosta
|
||||
|
@ -27,7 +27,7 @@ m.mccMySpawn=- Vous t
|
||||
m.mccClearMySpawn=- Éfface votre point de spawn
|
||||
m.mccToggleAbility=- Active les capacités spéciales avec clic droit
|
||||
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.mccMcGod=- Mode dieu
|
||||
m.mccSkillInfo=[skillname] [[RED]]- Afficher des informations détaillées d'une compétence
|
||||
|
@ -33,7 +33,7 @@ m.mccMySpawn=- Teleporteer naar MySpawn
|
||||
m.mccClearMySpawn=- Verwijder je MySpawn
|
||||
m.mccToggleAbility=- Doe ability activatie 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.mccMcGod=- God Modus
|
||||
m.mccSkillInfo=[skillname] [[RED]]- Laat informatie zien over een skill
|
||||
|
@ -27,7 +27,7 @@ m.mccMySpawn=- Teleportuje do twojego spawna.
|
||||
m.mccClearMySpawn=- Kasuje twoj spawn i zmienia na domyslny.
|
||||
m.mccToggleAbility=- Wlacza specjalna umiejetnosc prawym przyciskiem myszy.
|
||||
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.mccMcGod=- Niesmiertelnosc.
|
||||
m.mccSkillInfo=/[nazwa umiejetnosci (np. Mining)] [[RED]]- Wyswietla informacje na temat umiejetnosci.
|
||||
|
@ -27,7 +27,7 @@ m.mccMySpawn=- Teleportar para o spawn
|
||||
m.mccClearMySpawn=- Remove o Ponto de Spawn
|
||||
m.mccToggleAbility=- Ativa habilidades especiais com botao direito
|
||||
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.mccMcGod=- Modo Deus
|
||||
m.mccSkillInfo=[skillname] [[RED]]- Ver informaçoes sobre a habilidade
|
||||
|
@ -28,7 +28,7 @@ m.mccMySpawn=-
|
||||
m.mccClearMySpawn=- Убирает вашу кровать
|
||||
m.mccToggleAbility=- Активировать возможность правым кликом мыши
|
||||
m.mccAdminToggle=- Включить админский чат
|
||||
m.mccWhois=[playername] [[RED]]- Ïîñìîòðåòü äåòàëüíóþ èíôîðìàöèþ
|
||||
m.mccInspect=[playername] [[RED]]- Посмотреть детальную информацию
|
||||
m.mccMmoedit=[playername] [skill] [newvalue] [[RED]]- Изменить цель
|
||||
m.mccMcGod=- Режим Бога
|
||||
m.mccSkillInfo=[skillname] [[RED]]- Посмотреть детальную информацию о умении
|
||||
|
Loading…
Reference in New Issue
Block a user