Changing What Usergroups Can Use Forms

How to configure what forms certain usergroups may use

 

Method 1

Allow certain usergroups to use all forms regardless of what is defined in the form's file itself

Navigate to lua/wos/advswl/config/general/sh_swlwos.lua

Find the "wOS.ALCS.Config.AllAccessForms" value

You can add and remove whatever usergroups you wish (Make sure to put quotations around the rank's name, and add a comma after every entry

 

Example

Allows only "owner", "developer", and "superadmin" ranks to use ALL forms

wOS.ALCS.Config.AllAccessForms = { "owner", "developer", "superadmin" }

 

 

Method 2

Restricting certain forms to specific user groups

Navigate to lua/wos/advswl/forms and choose whatever form you want to edit permissions for

Find the "FORM.UserGroups" value

This is a table of what usergroups can use what stances of the form

 

Example

This allows the "vip" rank to use stances 1, and 2 of this form, and "vip+" ranks to use all 3 stances of this form

FORM.UserGroups = { 

["vip"] = { 1, 2 }, 

["vip+"] = { 1, 2, 3 },

}

 

 

 

  • 0 utilizatori au considerat informația utilă
Răspunsul a fost util?

Articole similare

Allow Moving While Attacking For A Lightsaber Weapon

How to enable moving while attacking on lightsaber weapons Go to your lightsaber in...

Setting Base Stats For Personal Lightsabers

How to configure base stats for personal lightsabers Navigate to...

Adding Forms To Lightsaber Weapons

How to configure Forms for specific Lightsabers Go to your lightsaber in lua/weapons Find the...

How To Disable Lunge

How to disable lightsaber swing lunge Navigate to...

Creating A Lightsaber Weapon

How to create a custom lightsaber weapon Navigate to lua/weapons Open any premade...