|sfan5 37cdbf014e Fix list of names in log message upon (un-)banning||2 months ago|
|doc||5 years ago|
|importers||2 years ago|
|.luacheckrc||2 years ago|
|README.md||7 months ago|
|bower.json||4 years ago|
|dbimport.lua||2 years ago|
|gui.lua||11 months ago|
|init.lua||2 months ago|
|mod.conf||3 years ago|
|serialize.lua||5 years ago|
This mod attempts to be an improvement to Minetest’s ban system.
The mod provides the following chat commands. All commands require the
Bans a player permanently.
/xban <player_or_ip> <reason>
/xban 127.0.0.1 Some reason.
Bans a player temporarily.
/xtempban <player_or_ip> <time> <reason>
time parameter is a string in the format
is one of
s for seconds,
m for minutes,
h for hours,
D for days,
M for months, or
Y for years. If the unit is omitted, it is
assumed to mean seconds. For example,
42s means 42 seconds,
minutes, and so on. You can chain more than one such group and they will add
up. For example,
1Y3M3D7h will ban for 1 year, 3 months, 3 days and 7 hours.
/xtempban Joe 3600 Some reason.
Unbans a player.
Shows the ban record on chat.
This prints one ban entry per line, with the time the ban came into effect, the expiration time (if applicable), the reason, and the source of the ban. The record is printed to chat with one entry per line.
Manages the whitelist.
/xban_wl (add|del|get) <player_or_ip>
Whitelisted players are allowed on the server even if it’s otherwise marked as banned. This is useful to only allow certain users from shared computers, for example.
add subcommand adds the player to the whitelist. The
removes the player from the whitelist. The
get subcommand checks if the
player is in the whitelist, and prints the status to chat.
/xban_record add Jane
Shows a form to consult the database interactively.
The following commands require the
server privilege, so they are only
available to server administrators.
Imports ban entries from other database formats.
importer argument specifies from which database to import. These are
the supported import plugins at the time of writing:
minetest: Import entries from Minetest’s ban list (
v1: Old format used by xban (
v2: Old format used by xban (
Removes all non-banned entries from the xban db.