Question Staff Demotion

Discussion in 'Bukkit Help' started by Protom1234, Apr 15, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Protom1234

    Hey there,

    I need to know how to disable someone's socialspy and NCP notifications only when they get demoted from Staff.

    How can I do this?

    Thanks
    Protom.
     
  2. Offline

    TheEntropy

    @Protom1234 I believe that is all based on permissions. If you demoted a staff member, you would need to move them to another group without those permissions or specifically deny the demoted users from using those permissions (it all depends on what permissions plugin you're using). Also, make sure they are no longer an operator.

    NoCheatPlus Permissions: https://github.com/asofold/NCPDocs/blob/master/wiki/permissions/permissions.creole
    Essentials Permissions/Commands: http://wiki.ess3.net/wiki/Command_Reference/Perm

    I hope this answers your question. I'm unsure if you want to be able to do this from another plugin... or just do it through normal gameplay.
     
  3. Offline

    Protom1234

    But, the command they do isn't the problem. When they turn it on then get demoted they still see everything from socialspy even in a different group but the the socialspy is still enabled from the group.
    @TheEntropy
     
  4. Offline

    TheEntropy

    @Protom1234 Ah, I think I underestand, now. I'm fairly sure Essentials has a variable for that in every user configuration. I suppose you can find out that demoted staff-member's UUID and locate their UUID in the folder: 'plugins/Essentials/userdata/their-uuid.yml. In their config you should see a variable towards the very bottom that reads:

    Code:
    socialspy: true
    
    If it is, change it to

    Code:
    socialspy: false
    
    There is probably a command to do this in Essentials, but I am unaware of it. I have had this same problem in the past and this has worked to fix it every time. After you have changed that variable and saved their config, make sure to run the command /essentials reload
     
  5. Offline

    oceantheskatr

  6. Offline

    Protom1234

  7. Offline

    oceantheskatr

    @Protom1234 ahh true, I hadn't ever tried to take away socialspy from an offline player. In that case, follow what @TheEntropy said :p
     
  8. Offline

    Protom1234

    @TheEntropy how do I know which is which though? For example, they don't have names, it's just a bunch of numbers. Plus when I get a few players it's going to be hard to find their file.
     
  9. Offline

    oceantheskatr

  10. Offline

    Protom1234

  11. Offline

    oceantheskatr

    @Protom1234 No problem! :)

    If that's all you need, be sure to mark this thread as solved.
     
Thread Status:
Not open for further replies.

Share This Page