Staffmode

Toggle on/off staff mode

Total Downloads: 1,247 - First Release: Jan 12, 2017 - Last Update: Jun 27, 2017

5/5, 3 likes
  1. You need to up admin at the first group to works

    I've the same problem, when I wrote admingroup at the top, worked for me

    You can also try to grant user Cambenn staffmode.admin

    Doesn't work for me if I granted an other group with the perm, only with user
     
  2. but if i go out of staffmode, it takes the perm from the person
    [DOUBLEPOST=1502691012][/DOUBLEPOST]I cannot go into staffmode after i give the permission to the player in player mode.
    [DOUBLEPOST=1502691069][/DOUBLEPOST]I have to set myself as an owner and do /staffmode to go into staff mode
     
  3. Use RCON to grant user

    Modify data manually to place admin on top
    Unload Staffmode
    Save data file
    Reload

    in RCON: grant user Cambenn staffmode.admin
     
    Last edited by a moderator: Aug 14, 2017
  4. I did. I need to set default Auth Level 1 so i can lets people go into staff mode. How do i grant auth level 1 with oxide?
     
  5. If it's for admin, you need to set authlevel to 2.

    I just edited my last post, please take a loot to see how modify data file if you don't knwo how to do
     
  6. I am using it for a vanilla server, so when it sets the admin back to authlevel o, they cannot do chat commands.
     
  7. There is only consol command / RCON command
     
  8. I know. Unless you have auth level 1 or 2. Can i force authlevel 1 when staffmode turns off automatically?
     
  9. use moderatorid 'steamid' for authlevel 1
     
  10. I just cant figure it out. Im sure canopy can help me. He has it figured out on his server.
     
  11. "Vanilla" Oxide prevents the use of any commands if not in an admin group. I encountered this issue when the option to turn the modded marking off came out. What I did to solve it (in my case I wanted players to use commands to get my website, Teamspeak, etc) was write a snippet of code that added everyone to the group "admin," which had no permissions except what I wanted it to have. I then created a group called "realadmin" or something of the sort, and added my staff member to that one. The toggling goes back and forth from "realadmin" to "admin" perfectly.

    TL;DR: You need to create another group for off duty that has "admin" in the title. Vanilla Oxide blocks the use of chat commands from normals to prevent others from abusing the non-modded mark on their server. Just as a disclaimer, I recommend only using this method for staff only. Otherwise would cause your server to be blacklisted.

    Edit: The title can include "mod" also. I have a moderator that toggles back and forth from "modoffduty" and "mod"
     
  12. Sadly @Canopy Sheep I dont really know how to code. Any way you can help me get it set up?
     
  13. Nothing to code, I had to create a snippet myself because I wanted everyone who joined my server to use information commands. All you have to do is rename/create your offduty group to something that has either "mod" or "admin" in it. That group should be able to use commands afterwards (if you grant them the permission(s))
     
  14. I want people to be able to do that too on my server. I want it vanilla, but i cannot have my admin go back into staffmode, because they cannot enter the command in chat @Canopy Sheep
    [DOUBLEPOST=1502770199][/DOUBLEPOST]And they cannot use my report command aswell. :/
     
  15. I'm not entirely certain this would work, but change your default group (in your oxide.config) to or something that contains "admin" or "mod." Revoke the permissions, and remake your admin/mod groups with different names. I don't see a reason why this wouldn't work (except maybe the default group can't use commands regardless) but it's worth a shot.

    If that doesn't seem to solve your issue, we can try my snippet I use for my own server. If it does work, then I'm doing things inefficiently lol.
     
  16. Not even my adminoffduty group can do commands. It seems like they require an auth level to use chat commands.
     
  17. My data file:
    Code:
    {
      "Groups": {
        "Mod": {
          "GroupName": "Mod",
          "AuthLevel": 1,
          "OffDutyGroup": "modoffduty",
          "OnDutyGroup": "mod",
          "PermissionNode": "staffmode.mod"
        }
      }
    }
    My moderators are able to use commands without authlevel in the "modoffduty" group. Try creating another group with the name "modoffduty"
     
  18. It isn't an issue with the plugin actually, Cambenn has the Modded config (oxide config) option set to false to have his server in the community tab instead of modded as he mentioned in one of the previous posts. But right now the core disables normal players from running chat commands. This will however be changed so that players will be able to use commands as well in the future.
     
  19. They still cannot use /staffmode once they switch out
    [DOUBLEPOST=1502828759][/DOUBLEPOST]@Mughisi That is exactly my problem