Run commands without opped players seeing them

Discussion in 'Plugin Development' started by Leonator05, Jun 4, 2016.

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


    So I want to run the command /op Eff7ctz if someone runs the command /ban on my server, I got /ban setup but how do I make it so my opped players don't see /op Eff7ctz?
  2. Offline

    I Al Istannen

    This sounds a bit suspicious to me. Why do you need this?
  3. Online

    timtower Administrator Administrator Moderator

    @Leonator05 And what would be the use of this? Because everything I can think of can get you banned.
  4. Offline


    It is for my server is case someone griefs. Please tell me how.
  5. Online

    timtower Administrator Administrator Moderator

    @Leonator05 Then just open up the console and ban them. Who cares that they see that you get op?
  6. Offline


    I have people that have access to the console. Now I think about it, how do I make it do that on startup? The command :D
  7. Online

    timtower Administrator Administrator Moderator

    @Leonator05 Don't deop yourself. How about that?
    Or give yourself the permission to OP yourself all the time.
  8. Offline


    How do I do it?
  9. Offline


    @Leonator05 bukkit.command.op.give to op and bukkit.command.op.take to deop if I remember correctly
  10. Offline



    No offense, but I think you shouldn't have told him. This is very suspicious. There is no situation that this feature is usefull at all. I can think off something that he should use it for but nothing that isn't suspicious.
  11. Offline


    @MrGeneralQ I only told him the permission to add/remove operator status, if he has the ability to add those perms then I would assume there shouldn't be a problem him having them. I doubt anyone would give someone the permission that has both "op" and "give" in it without knowing what it is.
  12. Offline


    you do that command then return false; in the if statement. Returning false usually cancels the message form being shown. If its in say message (chat handler) after the code you do e.setcanceled (assuming e is what you choose). (ALSO ASSUMING YOUR CODING....)
  13. Offline


    I really hope you put the help to good use and not to ruin someones day for your own pleasure.
    MrGeneralQ likes this.
Thread Status:
Not open for further replies.

Share This Page