AntiGrief


Adds automatic antigrief and admin commands.

Utilities
6 years ago
0.16
19
Owner:
Sovereign9000
Source:
N/A
Homepage:
N/A
License:
MIT
Created:
6 years ago
Latest Version:
4.1.0 (6 years ago)
Factorio version:
0.16
Downloaded by:
19 users

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.

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 an artillery remote is used.
When grenades are 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/factoriorpg

Thanks to @RedstyIt for their help with multiplayer testing. Check out their server RedMew.