mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Modified the 2 ban messages.
This commit is contained in:
parent
d4c3a4ad45
commit
0f58746525
@ -184,7 +184,7 @@ public class TFM_ServerInterface
|
|||||||
{
|
{
|
||||||
final BanEntry nameBan = (BanEntry) nameBans.getEntries().get(username.toLowerCase());
|
final BanEntry nameBan = (BanEntry) nameBans.getEntries().get(username.toLowerCase());
|
||||||
|
|
||||||
String kickMessage = ChatColor.RED + "You are banned from this server.";
|
String kickMessage = ChatColor.RED + "You are temporarily banned from this server for awhile.\nAppeal at http://totalfreedom.boards.net/.";
|
||||||
if (nameBan != null)
|
if (nameBan != null)
|
||||||
{
|
{
|
||||||
kickMessage = kickMessage + "\nReason: " + nameBan.getReason();
|
kickMessage = kickMessage + "\nReason: " + nameBan.getReason();
|
||||||
@ -228,7 +228,7 @@ public class TFM_ServerInterface
|
|||||||
|
|
||||||
if (isIpBanned)
|
if (isIpBanned)
|
||||||
{
|
{
|
||||||
String kickMessage = ChatColor.RED + "Your IP address is banned from this server.";
|
String kickMessage = ChatColor.RED + "Your IP address is temporarily banned from this server for awhile.\nAppeal at http://totalfreedom.boards.net/.";
|
||||||
if (ipBan != null)
|
if (ipBan != null)
|
||||||
{
|
{
|
||||||
kickMessage = kickMessage + "\nReason: " + ipBan.getReason();
|
kickMessage = kickMessage + "\nReason: " + ipBan.getReason();
|
||||||
|
Loading…
Reference in New Issue
Block a user