i need a plugin that ban players that is not on a list if they get owner/op the list have to be configurable
sverre26.90656927 I can make you a plugin that disables Op so people cant op but you can still op through operators.txt And I can also add no Deoping you would have to do it through operators.txt also EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Then how exactly would checking their name help? Wouldn't checking their IP be a better solution? It's probably to avoid people who aren't suppose to have it get it...
As Muffin89 said you shouldn't be giving anyone OP on your server anyway. Using permissions is the best way for this problem.
Just tell someone to check like if a config contains their name, check their name and their ip in a different config like @EventHandler public void playerJoin(PlayerJoinEvent event){ Player p = event.getPlayer(); if(p.hasOp() || p.hasPermission("A Staff permission i guess?"){ check if a list of their name contains something? else deop and run manudel if u use groupmanager if their name is on the list check if their ip then if their ip is on a list you let the join? else kick? } }
First of all, there is no such thing as a force op hack. The only reason someone would be able to OP themselves is if you give them op, you give someone else op who gives them op, or you installed that stupid scam Nodus block plugin which is in fact an oping plugin. So this is basically error on your end, there is zero reason for a plugin like this because it shouldn't be a problem to start with.