summaryrefslogtreecommitdiff
path: root/README
blob: 62e942a8558ac3875d782167f99ec35c0d70cd92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rkick: Restricted kick mod for Minetest
=======================================

Privs:
rkick - Can kick players that do not have the rkick_immune priv
rkick_immune - Cannot be kicked with /rkick

Command (just the one):
/rkick <player> - Kicks a player that does not have the rkick_immune priv (requires the rkick priv). The kick reason is fixed to "Kicked by %s", where "%s" is replaced by the name of the player that issued the command.

Command Output:
"ERROR: You don't exist. Go away!" - The player that issued the command does not exist. Should never happen.
"ERROR: You did not specify a player, or the player you specified does not exist." - The player specified could not be found.
"You cannot kick %s.", where "%s" is replaced by a name - The player that you attempted to kick has the rkick_immune priv.
"Kicked %s", where "%s" is replaced by a name - The player specified was successfully kicked.