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

est31
Developer
 
Posts: 173
Joined: Mon Dec 29, 2014 01:49

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

by est31 » Fri Feb 06, 2015 10:33

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
 

User avatar
Krock
Developer
 
Posts: 4151
Joined: Thu Oct 03, 2013 07:48
Location: Switzerland
GitHub: SmallJoker

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

by Krock » Fri Feb 06, 2015 10:51

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.
Mod Search Engine - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
 

User avatar
Wuzzy
Member
 
Posts: 3243
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

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

by Wuzzy » Fri Feb 06, 2015 16:25

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.
 

Sokomine
Member
 
Posts: 3616
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

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

by Sokomine » Thu Mar 05, 2015 05:02

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.
A list of my mods can be found here.
 


Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 5 guests