HiddenMotives / VPNGuard

PocketMine-MP Plugin: VPNGuard will prevent players from joining your server behind any type of anonymizer.
MIT License
20 stars 12 forks source link

Is the plugin working ? (Block VPN ?) #4

Closed MisteFr closed 7 years ago

MisteFr commented 7 years ago

Working ! But the system of command when the ip is anonymous doesn't work where can i replace that by $player->close() in the code ?

HiddenMotives commented 7 years ago

Make sure you use the proper format when setting commands in the config.yml

command:
- kick %p You seem to be using a VPN or Proxy

And yes you may replace the foreach loop https://github.com/HiddenMotives/VPNGuard/blob/master/src/basprohop/libraries/Async.php#L75 with $player->close() if you really wish to do so.

MisteFr commented 7 years ago

Working thanks 👍