Skip to content

mt-mods/reboot_warner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Reboot Warner

luacheck

This mod simply looks for a file periodically, which must be created by touch(1) or something similar, and owned by the same user who is running the Luanti server. This file simply serves as a sort of flag.

If found, the file is immediately deleted, and pop-up warnings are issued to all players on the server that it will be rebooting soon.

This mod must be listed in secure.trusted_mods (assuming mod security is enabled) in order for the os.remove() function to work.

The pop-up function is provided by kaeza's notice mod.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

4 watching

Forks

Packages

 
 
 

Contributors

Languages