Set Permissions For wOS Admin Commands

How to configure permissions for wOS admin commands

"Admin Commands" refer to the console command "wos_openadminmenu"

  1. Navigate to lua/wos/advswl/config/general/sv_adminsettings.lua
  2. Find the "wOS.ALCS.Config.CanAccessAdminMenu" value
  3. Add a rank to the table and set it equal to true

 

Example

Permits the ranks "owner" and "developer" to use the admin commands built into wOS (No other ranks can use them except for the ones specified in the table)

wOS.ALCS.Config.CanAccessAdminMenu = {

["owner"] = true,

["developer"] = true,

}

  • 6 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

Console Commands

wOS admin console commands wos_openadminmenu - Opens a menu that allows you to set peoples...

Item Giving Function

Item Giving Function How to give items through functions Method 1 This method depends on the...

XP Giving Function

Giving XP Through Code How to give XP through functions   ply:AddSkillXP( number )   You can...

Item Spawning Function

Item Spawning Function How to spawn items with a function Method 1 This method depends on the...