Rewrite(Core/BanManager): Rewrite Ban system (#1576)
* Added ban manager * Delete ban functions in world class * Separate ban account to (ban account, ban ip, ban character) * Support world announce
This commit is contained in:
@@ -1290,6 +1290,7 @@ enum TrinityStrings
|
||||
LANG_BAN_CHARACTER_YOUPERMBANNEDMESSAGE_WORLD = 11005,
|
||||
LANG_BAN_ACCOUNT_YOUBANNEDMESSAGE_WORLD = 11006,
|
||||
LANG_BAN_ACCOUNT_YOUPERMBANNEDMESSAGE_WORLD = 11007,
|
||||
|
||||
|
||||
LANG_NPCINFO_INHABIT_TYPE = 11008,
|
||||
LANG_NPCINFO_FLAGS_EXTRA = 11009,
|
||||
@@ -1302,6 +1303,10 @@ enum TrinityStrings
|
||||
LANG_CREATURE_NOT_AI_ENABLED = 11015,
|
||||
LANG_SELECT_PLAYER_OR_PET = 11016,
|
||||
|
||||
// Continue show Ban in world (ip)
|
||||
LANG_BAN_IP_YOUBANNEDMESSAGE_WORLD = 11017,
|
||||
LANG_BAN_IP_YOUPERMBANNEDMESSAGE_WORLD = 11018,
|
||||
|
||||
LANG_MUTED_PLAYER = 30000, // Mute for player 2 hour
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user