Jump to content

ShadedDiamond

Members
  • Posts

    1
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Interests
    Owner of Tekkit classic server, ShadedDiamond Our website is http:/www.shadeddiamond.enjin.com/ server ip can be found there.

ShadedDiamond's Achievements

Dirt

Dirt (1/9)

0

Reputation

  1. Hello, I'm a plugin developer and just looking for some help coding a plugin to detect hackers. I will most likely upload it to bukkit and make it open source so anyone on the technic forum for tekkit classic can use this to better protect there server. Yes I am aware of TekkitRestrict but, it is always buggy and never really gets the player but kicks people for doing nothing wrong. If you have any suggestions or if you would like to help code this with me comment bellow and will start from there! So Here the code I got for now: This is the Main Class TekkitHackPrevention package thp.xzknightzx.prevention.hack; import java.io.File; import java.util.logging.Logger; import org.bukkit.plugin.java.JavaPlugin; public class TekkitHackPrevention extends JavaPlugin{ public final Logger logger = Logger.getLogger("Minecraft"); public static TekkitHackPrevention plugin; @Override public void onEnable(){ this.logger.info(prefix() + "Is Enabled"); ThpConfig(); } @Override public void onDisable(){ this.logger.info(prefix() + "Is Disabled"); } public String prefix(){ return "[TekkitHackPrevention]: "; } // Creates Config File If it does not exist. public void ThpConfig(){ File config = new File(getDataFolder(), "config.yml"); if (!config.exists()){ getConfig().options().copyDefaults(true); saveDefaultConfig(); } } } Here is my Config File: (For Now It's Empty..) ######################################################## ## TekkitHackPrevention (THP) ## ## ## ######################################################## So right now it's a skeleton so I am working on this so it will not always be empty. I will give you credit if you do help to make this plugin! Thank you if for reading this Topic!
×
×
  • Create New...