Different commands for entry and exit
Hello. How can I make it so that there is a separate command for the “hidden admin” and a separate command to exit the “hidden admin”? Please fix this, please, I really need it, I will be eternally grateful. Or write here how to fix it in the plugin.
My problem could be fixed by assigning a separate permission to a separate profile, but alas... When I set different permissions on profiles, in the Rust game it says in the chat that the permission has not been issued.


Merged post

Although everything is actually issued, I checked it does not work. I set one as the default, give permission and it works.

@DoBriy, I use this plugin and I want to help you but I'm a little confused on some of the terms you are using. When you say "Hidden Admin"  and EXIT Hidden Admin, or you talking about the command to activate ADC?  (i.e. /deepcover)

When you say

"My problem could be fixed by assigning a separate permission to a separate profile, but alas... When I set different permissions on profiles, in the Rust game it says in the chat that the permission has not been issued." Is it actually saying "You don't have permission to use this command"?

You probably already know this, but for anyone else that wouldn't nessisarily know I'll say this anyway.

When changing a permission, you need to add a player (yourself) to that permission.  For example, when I change the permission and add my name "bear" so the other admin doesn't use this profile, it would look like this ...

{
      "Profile": 1,
      "Name": "Seanboy",
      "UserId": 76561############,
      "Better Chat Group": "rookie",
      "Required Permission": "admindeepcover_bear.use"
    },
    {
      "Profile": 2,
      "Name": "AZASU",
      "UserId": 76561############,
      "Better Chat Group": "default",
      "Required Permission": "admindeepcover.use"
    },
    {
      "Profile": 3,
      "Name": "Helk",

where Rookie is a different group allowing different permissions from our default, and _bear was added to identify that this is my profile to use.  I have to then go to the Console and add the permission:
oxide.grant user <name><permission> or o.grant user bear admindeepcover_bear

When you say

"... I set one as the default, give permission and it works."

Are you refering to the default listed in the config?  Because this is for Better Chat, assigning a Group Permission to you when you log in.

If you are talking that the first one in the list always loads in, that's how it works from default.  If you type /deepcover again, it should go to the next profile and if you type /deepcover another time, it should go to the third profile and so on.  This can be set up to shuffle if selecting in the config to change this to "false". 

 
  "Change Identity In Order": true,

If you want to just skip around to different profiles, then you would type /deepcover 1, for the profile with the highest priority or /deepcover 3 for the 3rd one in the list of fakes.

This plugin works fine the way it's written but takes a bit of messing around with to make it function in a way you can fool other players, sometimes even other moderators that may have limited permissions.

 

 



 

 

 

Thank you for your response. Everything you described in detail works, what doesn't work is the permissions for each profile separately, that is, I leave everything as is by default and grant permission to use the command. Everything works. But if I hammer in my permissions for each profile, and of course grant them, then any command stops working, and it says that permissions have not been granted, although I have granted them all. I also noticed that while in deepcover, the sleeping bags I installed do not work, that is, I cannot appear on them, but when I am alive, they are on the map. But that's another story... I'd like to figure out the first one.

Merged post

I need this in order to give my admin separate personalities, and myself others.

Merged post

I figured it out, it's all about the global settings in the game itself for god mode, I just needed to disable this global.god in the console


Merged post

I'm sorry, I wrote it in the wrong place, the problem was solved by another plugin, everything is unchanged here for now, I'm figuring it out

Good  to hear.  Sorry, I was away from technology for a couple of days, to see this post and reply timely.

TheBear