FriendlyGamer 0b3e9518b1 Message | 4 years ago | |
---|---|---|
.. | ||
.gitattributes | 4 years ago | |
.gitignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
init.lua | 4 years ago | |
mod.conf | 4 years ago |
A Minetest mod that adds a "future_ban" command to queue an offline player for banning when they next join. Players need to have the "ban" priviledge to use this command.
The list of player names to be banned is stored in the "future_ban.lua" file in the world folder for a particular game. As soon as a player with a name on this list logs in they will be immediately banned. In this way the IP address of the player doesn't need to be known at the time the ban is issued.
/future_ban
without a player name will present a list of the names currently stored for banning. These players have not yet been banned. As soon as a player with a matching name logs in they'll be banned and removed from the list.
/future_ban <name>
Adds a player name to the ban list, or removes it if it's already on the list.
This mod was originally created by PilzAdam in 2012 and published under the WTFPL. It was rehosted and relicensed to MIT licensing by FaceDeer in 2019.