Is there any possible way to have one global No permission message?

Discussion in 'Plugin Development' started by football70500, Jul 26, 2015.

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

    football70500

    Well basically, what I want to do is make it so that if a user doesn't have permission for ANY command on my server, it will send them the same message for each command. ("[!] You dont have permission for this") Is this possible?
     
  2. Offline

    teej107

  3. Offline

    1Rogue

    Try getting the Command from bukkit from the PlayerCommandPreprocessEvent and then checking #getPermission against the player. This would only stop registered permissions, however.
     
  4. Offline

    Hawktasard

    @teej107
    I thought people would stop doing this by 2015
    Never gonna give you up, never gonna let you down.
     
Thread Status:
Not open for further replies.

Share This Page