mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fixes #621 - acc_hide_mail
This commit is contained in:
parent
34e7239ac4
commit
93922dcd49
@ -1 +1 @@
|
||||
/* SQLS HERE */
|
||||
ALTER TABLE `permissions` ADD `acc_hide_mail` ENUM('0', '1') NOT NULL DEFAULT '0' AFTER `acc_hide_ip`;
|
@ -42,7 +42,7 @@ public class UserInfoCommand extends Command {
|
||||
Emulator.getTexts().getValue("command.cmd_userinfo.motto") + ": " + habbo.getMotto().replace("<", "[").replace(">", "]") + "\r" +
|
||||
Emulator.getTexts().getValue("command.cmd_userinfo.rank") + ": " + habbo.getRank().getName() + " (" + habbo.getRank().getId() + ") \r" +
|
||||
Emulator.getTexts().getValue("command.cmd_userinfo.online") + ": " + (onlineHabbo == null ? Emulator.getTexts().getValue("generic.no") : Emulator.getTexts().getValue("generic.yes")) + "\r" +
|
||||
Emulator.getTexts().getValue("command.cmd_userinfo.email") + ": " + habbo.getMail() + "\r" +
|
||||
((habbo.getRank().hasPermission("acc_hide_mail", true)) ? "" : Emulator.getTexts().getValue("command.cmd_userinfo.email") + ": " + habbo.getMail() + "\r") +
|
||||
((habbo.getRank().hasPermission("acc_hide_ip", true)) ? "" : Emulator.getTexts().getValue("command.cmd_userinfo.ip_register") + ": " + habbo.getIpRegister() + "\r") +
|
||||
((habbo.getRank().hasPermission("acc_hide_ip", true)) || onlineHabbo == null ? "" : Emulator.getTexts().getValue("command.cmd_userinfo.ip_current") + ": " + onlineHabbo.getClient().getChannel().remoteAddress().toString() + "\r") +
|
||||
(onlineHabbo != null ? Emulator.getTexts().getValue("command.cmd_userinfo.achievement_score") + ": " + onlineHabbo.getHabboStats().achievementScore + "\r" : ""));
|
||||
|
@ -15,6 +15,7 @@ public class Permission {
|
||||
public static String ACC_UNLIMITED_BOTS = "acc_unlimited_bots";
|
||||
public static String ACC_UNLIMITED_PETS = "acc_unlimited_pets";
|
||||
public static String ACC_HIDE_IP = "acc_hide_ip";
|
||||
public static String ACC_HIDE_MAIL = "acc_hide_mail";
|
||||
public static String ACC_NOT_MIMICED = "acc_not_mimiced";
|
||||
public static String ACC_CHAT_NO_FLOOD = "acc_chat_no_flood";
|
||||
public static String ACC_STAFF_CHAT = "acc_staff_chat";
|
||||
|
Loading…
Reference in New Issue
Block a user