mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 13:15:53 +12:00
Add %BAN
This commit is contained in:
parent
9f44620fd7
commit
49522e9fef
8 changed files with 165 additions and 6 deletions
|
@ -523,6 +523,10 @@ namespace HISP.Game
|
|||
public static string FountainDrankYourFull;
|
||||
public static string FountainDroppedMoneyFormat;
|
||||
|
||||
// Login Fail messages
|
||||
public static string LoginFailedReasonBanned;
|
||||
public static string LoginFailedReasonBannedIpFormat;
|
||||
|
||||
// Disconnect Messages
|
||||
public static string KickReasonBanned;
|
||||
public static string KickReasonKicked;
|
||||
|
@ -537,7 +541,10 @@ namespace HISP.Game
|
|||
|
||||
// Click
|
||||
public static string NothingInterestingHere;
|
||||
|
||||
public static string FormatIpBannedMessage(string Ip)
|
||||
{
|
||||
return LoginFailedReasonBannedIpFormat.Replace("%IP%", Ip);
|
||||
}
|
||||
public static string FormatAwardEntry(int iconId, string awardName, int bonusMoney, string description)
|
||||
{
|
||||
return AwardEntryFormat.Replace("%ICONID%", iconId.ToString()).Replace("%AWARDNAME%", awardName).Replace("%BONUSMONEY%",bonusMoney.ToString("N0")).Replace("%DESCRIPTION%",description);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue