Hi, this seems to be a great plugin, but I have yet to be able to make it work at all.
and I think my problem is that I don't know what the proper input I need to write in the console to make it work.
Here is an example of what I'm talking about since I'm sure it's not clear.
I installed the plugin called "SignArtist"
When I did so, I had to type in the console "grant group admin signartist.url" for it to work.
I'm sure I need to do the same for your plugin as well but I can't find the information about that.
I've tried "grant group admin PermissionsManager" but it didn't work.
I'm guessing you have your own file extension to add after the plugin name.
Am I missing something?
Am I on the right track?
Thanks in advance for your time, much appreciated!
PermissionsManager
Moved
Total Downloads: 4,273 - First Release: Sep 18, 2017 - Last Update: Jan 5, 2018
- 5/5, 27 likes
-
/perms player someplayersname
/perms group somegroupsname
The rest is point and click.
These are in-game chat commands. Nothing is done from console.
Edit:
The plugin itself requires no permissions.
The only prerequisite is that you are admin/authlevel 2 -
Whoa, thanks for the quick reply.
Whenever I try "/perms player MyName" I get this error message:
Permission Manager: This command is reserved for admin.
I'm an admin/authlevel 1
Is it because I'm only level 1, and not the owner/level 2? -
That'll be it ^^. It's authlevel 2, for now.
Does Authlevel 1 give you access to grant/revoke all permissions by console command?
If so, I'll lower the requirement in the plugin.
In the mean time, you could do it yourself by changing line 165 in the .cs from
if (player.net.connection.authLevel < 2)
to
if (player.net.connection.authLevel < 1) -
YES!! It worked.
The owner is my little brother and I'm helping him.
So, for the moment I only have the Level 1.
Thanks for the very quick replies.
Much appreciated!
Btw, this is such a helpful addon, it should be by default with Oxide. -
@Steenamaroo
is it possible to assign permissions to groups? i mean to add this, it would be very helpful -
Nice plugin, but u should make an exception solver, like the chat message, cuz for now if user went wrong with perms command it just messages to server console. (Try using try-catch, or other things...)
-
Can you gave an example or elaborate please?
[DOUBLEPOST=1506690922][/DOUBLEPOST] -
-
Have you messed with the cs? I fixed all the chat command stuff in 0.0.6.
I don't really consider the console command thing an issue because they aren't advertised or intended for manual use.
The same will happen with any (most?) other plugins that use internal console commands.
Try 'UI_AddKit' with kits, for example.Last edited by a moderator: Sep 30, 2017 -
-
Everything does work clean, to the best of my knowledge.
There's no need to be typing console commands of any kind with this plugin.
That you had to dig around in the .cs to find the command should be a clue.
If there's a genuine issue with the chat commands, I'd be glad to sort that out.
Right now, though, I'm unable to replicate the issue in your video.
Again, have you modified your copy in any way? -
Easily one of the best, easy-to-use plugins made for Rust. Thank you!
-
Thank you, @AuzziPuppy
-
Yeah, thanks mate. I was able to set up player, mod and admin in like 5 minutes. It was a mess before i installed this.
-
New error:
Code:(22:28:44) | PermissionsManager was compiled successfully in 319ms (22:28:44) | [PermissionsManager] Creating a new config file (22:28:44) | Loaded plugin PermissionsManager v0.0.6 by Steenamaroo (22:28:49) | Failed to call hook 'cmdPerms' on plugin 'PermissionsManager v0.0.6' (IndexOutOfRangeException: Array index is out of range.) (22:28:50) | at Oxide.Plugins.PermissionsManager.cmdPerms (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.PermissionsManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:29:04) | Saved 22,398 ents, serialization(0.00), write(0.02), disk(0.01) totalstall(0.03).
-
Nope.
Can you tell me how you triggered that? -
Thats why when it tried to call the hook, it gives:
Code:(22:28:49) | Failed to call hook 'cmdPerms' on plugin 'PermissionsManager v0.0.6'
-
You're typing "/perms" without parameters?