FearlessStudios

Control who can toggle lights

Set the command name and limit the blackout command to staff.

Let only staff toggle the lights

If you do nothing, any player can toggle the blackout. To require permission, turn on the ACE check in the installed config.lua:

Config.AcePerms.Enabled = true

Give your staff group the matching permission in server.cfg:

add_ace group.admin worldblackout allow

Restart. Run /worldblackout once with a staff account and once without the permission. The server console can still run worldblackout.

Command and permission settings

SettingDefaultMeaning and when to change it
Config.CommandworldblackoutToggle command without a slash. Rename to avoid a command collision.
Config.AcePerms.EnabledfalseEveryone can toggle by default. Enable for staff-only control.
Config.AcePerms.PermissionRequiredworldblackoutACE checked when restrictions are enabled. Change only to match your permission scheme.

What stays fixed

Flicker timing isn’t configurable. FS-Blackout starts with lights normal and does not remember its previous state. FS-Weather can use the server exports, but it is not required.