playit-cloud / playit-minecraft-plugin

A Minecraft plugin to make your server public without port forwarding using playit.gg
https://playit.gg
32 stars 7 forks source link

[FEATURE] IP ban #20

Open AJXD2 opened 1 year ago

AJXD2 commented 1 year ago

If a user gets ip banned in game the player gets ip banned from the tunnel instead of all players getting banned (Maybe hook into popular plugins like AdvancedBan?)

maxomatic458 commented 1 year ago

playit tries to get the real IP from players but that doesnt always work (depending on the server software and version)

it should work if a server supports that

Server Type Playit works Real IP works Plugin Download
Spigot 1.19 ✔️ ✔️ 0.1.4
Spigot 1.16.5 ✔️ ✔️ 0.1.4-mc1.16
Paper 1.19 ✔️ ✔️ 0.1.4
Paper 1.8 - 1.18 ✔️ 0.1.4 & 0.1.4-mc1.16
Magma 1.18 ✔️ 0.1.4
BungeeCord 🚧

(copied from readme) if Real IP works, then IP banning should also work

if Real IP does not work, then your server will think all the connections are from the same IP. because of that IP banning one person would cause everyone to get banned