Jump to content

Recommended Posts

Posted (edited)

     :D   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..) :mellow:

########################################################
## 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!    :rubshands:

 

Thank you if for reading this Topic!

Edited by ShadedDiamond
  • 1 month later...
Posted

This plugin would take ages for just you to make, So I would try spread the message on other places since if there were coders on here, Willing to help, They would probably want some money or something more than just credit.

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...