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. Code:
    Group Check complete. Checked '2' groups. Detected '0' possible error(s). '0' which are critical based on your settings.
     
  2. I've ran through your data file on my test server without error, did you add the second group to the data file manually? If so, did you reload the plugin?
     
  3. Yea like this :

    Editing manually
    Unload plugin
    Save edit
    Reload plugin

    Are you able to connect with authlevel = 0 if you are admin with the perm ?
     
  4. Connecting with no authlevel when in player mode, authlevel 2 when in staff mode.
    Code:
    (16:57:20) | [Logger] Canopy Sheep (76561198076638087) ran chat command: /toggle
    (16:57:21) | Removed Owner: 76561198076638087
    (16:57:21) | Config Saved
    (16:57:21) | [Staffmode] Canopy Sheep is now out of staff mode.
    (16:57:30) | [RemovedIP]/76561198076638087/Canopy Sheep joined [windows/76561198076638087]
    (16:57:30) | Canopy Sheep[9331/76561198076638087] has entered the game
    (16:57:39) | [Logger] Canopy Sheep (76561198076638087) ran chat command: /toggle
    (16:57:39) | Added owner unnamed, steamid 76561198076638087
    (16:57:39) | Config Saved
    (16:57:39) | [Staffmode] Canopy Sheep is now in staff mode.
    (16:57:47) | [RemovedIP]/76561198076638087/Canopy Sheep has auth level 2
    Are you seeing the Removed/Added Owner and config saved messages?
     
  5. Yea, it's when i see on console 'isn't moderator' about myself
    Like my perm doesn't exist and automatically granted for modo perm
     
  6. When you test your moderator group, are you adding yourself to auth level 1 and removing yourself from auth level 2?
     
  7. I doesn't want to test moderator group, i don't have the the choice

    Ok so: seem to work if I edit admin group first then edit moderator group, I need to force staffmode.admin on top to works for me, but when I toggled to player, my stuff was removed entirely

    Now, when I'm player, I can't do /sm to be owner, I need to readd on RCON with ownerid steamid be cause "You are not allowed to use this command"

    If I give the perm staffmode.admin to default group, I can use the command /sm twice to be owner so it works, but if I granted defaut group tp use this, every players can be owner so, right?

    Works with grant user 'steamid' staffmode.admin
     
    Last edited by a moderator: Aug 11, 2017
  8. Granting yourself the permission will solve this.
    Code:
    Grant user (id) (permission)
    You should definitely do this to your moderator(s) as well
    [DOUBLEPOST=1502429795][/DOUBLEPOST]And to answer your question, yes everyone in the default group will be able to use it.
     
  9. Lol, I edit my message when you add your own :p
    Ok so seem to works fine now

    I need to do some test with moderator group now

    So I recommend to edit data file with admin perm on top ^^
    Tonight, I give you some infos about moderator if it works or not.

    What about inventory cleaned ? (I use autokit from Kits plugins)
     
  10. Could work out a way for that, it'll take time though. However, good idea!
     
  11. Soooooo finally:

    Big thanks to help me and take the time !
    I tell you end of afternoon if it works fine for moderator too

    Hopefully this plugin can help so much owner
    Great work, if I don't forgot, I'll click on support button to support you for the time you spend with me and to understand every message I said xD

    Cya !

    PS: An other idea: a command like /sm list to list players able to toggle and their actual authlevel ? :)
     
    Last edited by a moderator: Aug 11, 2017
  12. That's possible definitely. I'll see what I can do.
     
  13. Ok so, this is a report from a moderator:

    "Works fine, but the plugin need update I think. First, toogling works fine, great work. But randomly, I loose all my inventories include weapons, resources, ammos... and sometimes, i was TP begind the floor, on the water, but i don't know if it's Staffmode"
     
  14. Neither one of these seem to be related to this plugin because no modifications are made to the inventory. Same thing with the teleport, nothing changes the player's location on toggle.
     
  15. Ok thanks
     
  16. Whenever I switch from staffmode into offdutymode it wont allow me to go back on to duty

    {
    "Groups": {
    "Admin": {
    "GroupName": "admin",
    "AuthLevel": 2,
    "OffDutyGroup": "offduty",
    "OnDutyGroup": "admin",
    "PermissionNode": "staffmode.admin"
    }
    }
    }
    [DOUBLEPOST=1502680601][/DOUBLEPOST]And yes, offduty has staffmode.admin perm
     
  17. You need to use a real group

    Did you create the Oxide group offduty ?
     
  18. yes, i did.
     
  19. Have you only 1 group or more than 1 ?
     
  20. I have default, admin, offduty
    [DOUBLEPOST=1502689224][/DOUBLEPOST]I can go out of staffmode, but when i try to do /staffmode it doesnt do anything, doesnt even tell me that i dont have permission. I have offduty granted with staffmode.admin