Go to file
Lejo 00cd63e25a Fix sha1 crash when ip=nil 2019-07-01 21:17:42 +02:00
LICENSE Switch to MIT License 2019-06-21 13:15:54 +02:00
README.md Switch to MIT License 2019-06-21 13:15:54 +02:00
init.lua Fix sha1 crash when ip=nil 2019-07-01 21:17:42 +02:00
mod.conf Fix mod.conf name 2019-06-30 09:21:50 +02:00

README.md

Vps Blocker

This mod checks the ips of the player for vpns, proxys, or other hosting services. These clients will be blocked

It gets the information from nastyhosts.com and iphub.info

Installing

First you need to add vps_blocker to secure.http_mods to allow https requests.

If you want to use iphub.info(recommend) you need to register there and paste your API key in the minetest config to iphub_key = 123

Set the kick message:

vps_kick_message = "You are using a proxy, vpn or other hosting services, please disable them to play on this server."

Commands

Use /vps_wl (add or remove) (name) to allow people using vps.

License

The idea for the mod is taken from https://github.com/red-001/block_vps but it's a complete redo of it.

Created by Lejo License: MIT