Weol / wuma

A Garry's Mod server addon for managing usergroup- and user-specific restrictions, limits, and loadouts
Apache License 2.0
15 stars 7 forks source link

User Groups don't appear when using xAdmin2 #48

Closed afuckingstoner closed 4 years ago

afuckingstoner commented 4 years ago

When using xAdmin2, the usergroups I created do not appear. xAdmin2 also does have CAMI implemented

wuma1 wuma2

Weol commented 4 years ago

Hmm, it might be difficult to fix this since its a paid addon. We can at least try to narrow it down. The CAMI function that is used to fetch usergroups is CAMI.GetUsergroups(). If you can run lua_run PrintTable(CAMI.GetUsergroups()) in the server console then it will print all of the usergroups registered in CAMI. Please paste the output here,

Weol commented 4 years ago

As far as I can tell, xAdmin2 is not implementing CAMI properly. CAMI.GetUsergroups() should return all registered usergroups, but its not with xAdmin2.