th_groups

Comandos Admin

Visualizar os grupos

/groups (id ou steamhex)

Se utilizado com o steamhex deve conter steam: no inicio, exemplo:

/groups steam:11000010a5c81e5

Adicionar um grupo

/givegroup (id ou steamhex) group

Se utilizado com o steamhex deve conter steam: no inicio, exemplo:

/givegroup steam:11000010a5c81e5 vip

Remover um grupo

/remgroup (id ou steamhex) group

Se utilizado com o steamhex deve conter steam: no inicio, exemplo:

/removegroup steam:11000010a5c81e5 vip

Api Server

getPlayerGroups(charIdentifier): table

addPlayerGroup(charIdentifier, 'group')

removePlayerGroup(charIdentifier, 'group')

hasGroup(charIdentifier, 'group'): bool

hasPermission(charIdentifier, 'perm'): bool

hasAnyPermission(charIdentifier, perm): bool

Last updated

Was this helpful?