Page 1 of 1

[Mod] Kick all users on server shutdown [kickall]

PostPosted: Fri Feb 06, 2015 10:33
by est31
Installing this mod makes the server kick all players when it shuts down. This prevents users from continuing to build inside their local copy of the game.

The mod adds three commands:
    /kickall <reason> kicks all players without the nokickall
    /reallykickall <reason> kicks all players regardless of their nokickall priv
    /kshutdown <reason> kicks all players without the nokickall and shuts down the server

The last command is to enable the server owner to give a reason to the kick. All three commands require the server priv to run.

See github readme for further information.

License: LGPLv2+
Dependencies: none
Source: Github
Download zip: here

Re: [Mod] Kick all users on server shutdown [kickall]

PostPosted: Fri Feb 06, 2015 10:51
by Krock
I would prefer the old screen freeze bug (or feature) but currently, this is a good way to prevent kids from building a house on an offline server.

Re: [Mod] Kick all users on server shutdown [kickall]

PostPosted: Fri Feb 06, 2015 16:25
by Wuzzy
Good idea, until this bug is fixed, of course:

https://github.com/minetest/minetest/issues/1654

It is currently kinda ugly how the Minetest client “manages” a server shutdown.

Re: [Mod] Kick all users on server shutdown [kickall]

PostPosted: Thu Mar 05, 2015 05:02
by Sokomine
The mod on Krock's server which shows a formspec to the player that the server has shut down is very handy. It informs the player that the server is down, but you can still walk around, plan your actions for the next day, and take some last screenshots.