Hello! How can i do so only specific servers can use my plugins? My currently code, that doesn't work: Code: if (Bukkit.getServer().getIp() != ("xx.xxx.xx.xxx")) { Bukkit.getServer().getPluginManager().disablePlugin(this); i've put that in my onEnable. But it doesn't work correctly. It disables all the time, even if the ip is correct. Hope your guys can hope!
Then we can decompile it and replace it anyways. There is no way to protect your jars. Not possible, we can easily bypass your checks.
Because i don't want other people to give it to others. Its made for a server, so they shouldn't could sell it to others.. and if they decompile it, they can do what they want to. Woaw, i can really see my english is so bad right now..
To be honest: we can have that gone with 10 minutes where 5 is setting up the project. Most servers have somebody available to do that stuff for them if needed.
This server doesn't have, but i will give them a chance. I've removed the ip-check. I can always stop updating it.