-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /listranked #131
Comments
Blocked by northwood-studios/NwPluginAPI#240 |
Is it possible to use Reflection to handle it ? |
It is, but I don't want to resort to such hacks. I want to rely on what is officially provided by the modding api. |
Another approach to go through var permissionHandler = ServerStatic.GetPermissionsHandler();
if (permissionHandler != null)
{
var userGroup = permissionHandler.GetUserGroup(player.UserId);
// ...
} |
It was some time ago now but im pretty sure I tried that and it didnt work. |
Anyway it is requires to go through iteration instead of direct calling object, and thats not nice. |
Whoops didnt mean to delete that comment, but basically, im sick so cant verify today but im pretty sure it always returned null or an empty object. |
Same as /list but only showing online users who have server roles.
Closes #85
The text was updated successfully, but these errors were encountered: