Full Config: Admin
The complete configs/shared/admin.lua for Advanced Housing (sd-housing): the admin command and its permissions.
TIP
See the configuration guide for what each file controls. Download this file as a reference, and merge changes with the config shipped in your installed version.
lua
-- The admin panel. It is the one sd-bombs and sd-scooters use, so it looks and handles the same.
return {
Command = 'housingadmin', -- chat command that opens the panel; the ace it grants is command.housingadmin
Group = 'group.admin', -- ace principal with full access: the command, every read and every change
ViewGroup = false, -- optional ace principal (e.g. 'group.mod') that can open the panel and look, but not change anything
EditAce = 'sd_housing.edit', -- the ace every change needs; granted to Group automatically, add it to other principals to let them edit
OpenAnyDoor = true, -- whoever holds EditAce may turn any lock in the world, not only from the panel
LogLimit = 300, -- log entries the panel's Log tab loads
RefreshMs = 4000, -- ms between snapshot refreshes while the panel is open (sales and locks by players)
}