2

Ip ban bypass

Esaspe 12/4/25 1:47 pm
455
12/28/2025 9:14 pm
Greetings. I am running paper offline server and today a griefer joined my server. I used command ban-ip <player_name> in game, then recieved notification in console that this player and their ip was banned, but after a few seconds the griefer joined server again with exact same ip and nickname. Then i banned them by nickname from console and that worked.



Also, i am using typewriter and luckperms. I made a simple script in typewriter, that bans player for placing tnt if their primary group is default. The script worked fine until yesterday, when griefer (obviosly with cheats) was not banned for placing tnt. This was the first case and today is the second.

Has anyone encountered this?
Posted by
Esaspe
Level 3 : Apprentice Server owner
2

  Have something to say?

JoinSign in

4

Morabon
12/28/2025 9:14 pm
Level 1 : New Crafter
Hey! Sounds like you’re running into a mix of bypass issues and plugin quirks. 😕


For the first case with the IP ban: Paper’s /ban-ip <player> command can sometimes fail if the player is using a VPN, proxy, or some kind of IP spoofing cheat. That would explain why they could reconnect with the same IP immediately. Banning by username from the console worked because it directly targets the player’s UUID, which is more reliable than IP bans.


For the Typewriter script: it seems like the anti-TNT ban isn’t triggering anymore because some cheats can spoof block placement events or bypass standard event hooks. You might want to check that your script is listening to the correct block placement event (BlockPlaceEvent) and that Typewriter has permission to enforce bans for all players, not just normal ones. Also, make sure LuckPerms is correctly identifying the player’s primary group at the moment of the event—sometimes it can fail if the player is using multiple groups or has temporary overrides.


Basically:




    1. IP bans aren’t foolproof against VPNs or spoofing. UUID bans are safer.




Double-check event hooks and group checks in your Typewriter script. Maybe add some logging to see if the TNT placement event is even firing for that player.
2
Papa Enny
12/04/2025 3:25 pm
Level 62 : High Grandmaster Answer Dwarf
make a whitelist and disable offline players(non cracked)
3
Esaspe
12/04/2025 4:19 pm
He/Him • Level 3 : Apprentice Server owner
history
I had whitelist turned on for some time, but that is not exhaustive solution, because even with whitelist on bad people came to server. Therefore i decided to open server to everyone with hope, that good players can join., And they joined. Also your reply don't answer my question. I posted my problem here, because it is really strange situation, because console logs, banned-ips list say that this ip is banned, but player joined again after a few seconds
2
Papa Enny
12/04/2025 4:44 pm
Level 62 : High Grandmaster Answer Dwarf
maybe it is a bug with the ip ban
But still if your serv is cracked, make it normal
2

Welcome