Factorio Anti-Grief/Admin Scenario (NO MODS!)
Posted: Sat Jan 13, 2018 2:58 am
Adds many useful commands and automatic detection to counter multiplayer griefing.
You can install this as a normal mod, or a scenario (softmod). Installing as a softmod will work with vanilla multiplayer clients.
Download on the mod portal: https://mods.factorio.com/mod/AntiGrief
The commands are as follows:
/ungrief - Removes all deconstruct markers.
/gtoggle - Toggle DeconstructGuard.
/garea <area> - Set the maxmimum area to trigger DeconstructGuard. (Default 1000)
/gwhitelist <player> - Whitelist a player to deconstruct large areas.
/gblacklist <player> - Blacklist a player from deconstructing large areas.
/glist - Show players who are whitelisted to deconstruct.
/gmode <mode> - Set mode of DeconstructGuard. warning or block. Default is block.
/search <itemName> - Search all player inventories for an item.
/god <player> - Toggles god mode for a player.
/give <itemName> <count> <player> - Give a player items.
/setspamtime <time> - Limit the rate (in seconds) of related warnings about a player.
/gauto <time_in_minutes> - Set a time (in minutes) where players will be automatically whitelisted. (The default, -1, disables auto-whitelist.)
The script will watch game events and emit the following warnings (seen by admins only):
When an atomic bomb is equipped.
When an artillery remote is equipped.
When grenades are used.
When an artillery remote is used.
When friendly entities are destroyed.
When blueprints are removed.
When offshore pumps, nuclear reactors, or rocket silos are removed or destroyed.
(When in block mode) - Ensure that non-whitelisted players can't deconstruct more than the max area.
(When in warning mode) - Print a warning when non-whitelisted players deconstruct an area more than the max area.
CREDITS:
Many thanks to /u/Mylon (Brickcaster) for his many additions. Check out his work:
https://github.com/Brickcaster/factorio ... igrief.lua
https://github.com/Brickcaster/factorio ... tekick.lua
Thanks to @RedstyIt for their help with multiplayer testing. Check out their server RedMew.
You can install this as a normal mod, or a scenario (softmod). Installing as a softmod will work with vanilla multiplayer clients.
Download on the mod portal: https://mods.factorio.com/mod/AntiGrief
The commands are as follows:
/ungrief - Removes all deconstruct markers.
/gtoggle - Toggle DeconstructGuard.
/garea <area> - Set the maxmimum area to trigger DeconstructGuard. (Default 1000)
/gwhitelist <player> - Whitelist a player to deconstruct large areas.
/gblacklist <player> - Blacklist a player from deconstructing large areas.
/glist - Show players who are whitelisted to deconstruct.
/gmode <mode> - Set mode of DeconstructGuard. warning or block. Default is block.
/search <itemName> - Search all player inventories for an item.
/god <player> - Toggles god mode for a player.
/give <itemName> <count> <player> - Give a player items.
/setspamtime <time> - Limit the rate (in seconds) of related warnings about a player.
/gauto <time_in_minutes> - Set a time (in minutes) where players will be automatically whitelisted. (The default, -1, disables auto-whitelist.)
The script will watch game events and emit the following warnings (seen by admins only):
When an atomic bomb is equipped.
When an artillery remote is equipped.
When grenades are used.
When an artillery remote is used.
When friendly entities are destroyed.
When blueprints are removed.
When offshore pumps, nuclear reactors, or rocket silos are removed or destroyed.
(When in block mode) - Ensure that non-whitelisted players can't deconstruct more than the max area.
(When in warning mode) - Print a warning when non-whitelisted players deconstruct an area more than the max area.
CREDITS:
Many thanks to /u/Mylon (Brickcaster) for his many additions. Check out his work:
https://github.com/Brickcaster/factorio ... igrief.lua
https://github.com/Brickcaster/factorio ... tekick.lua
Thanks to @RedstyIt for their help with multiplayer testing. Check out their server RedMew.