Solved How do you override a bukkit plugin

Discussion in 'Bukkit Help' started by messageofdeath, Feb 1, 2012.

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

    messageofdeath

    How do you override a bukkit plugin in 1.1 I have been trying and looking around because i want a message to appear when they type /plugins they dont get the plugins they get some text please help me
     
  2. What is the text they get when they type /plugins?
     
  3. Offline

    messageofdeath

    *How dare you look there that's inapropriate* in orange
     
  4. What plugins are you running at the moment? That looks like its denying the access to /plugins for the players.
    Does /plugins work fine for you though?
     
  5. Offline

    messageofdeath

    it works perfectly fine but i also denied access from the command. I just want to show that text I have.
     
  6. Which permissions plugin are you using?
     
  7. Offline

    messageofdeath

    oh wait i think i mis lead the conversation here sorry thats the text i want to put there in my new plugin im making. The plugins command works fine but i want to remove what comes up orginally from bukkit and replace it with *How dare you look there that's inapropriate* in orange

    PermissionsEx

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  8. Ah. You could simply deny the access to bukkit.command.plugins for the groups you don't want to access the command.

    If you are using PermissionsEx, you could do "- - bukkit.command.plugins" and if you are using bPermissions, make it "bukkit.command.plugins:false"

    That will not give them a message you wrote here, but it will tell them that they are lacking permissions to use that command. I think that with PermissionsEx you can define what it tells the users when they lack permissions to certain command from its configuration.
     
  9. Offline

    messageofdeath

    But i just want it for that command because im writing other plugins with there own permission denied acces with them I just want plugins to do that

    this is my coding for my plugins command in my plugin


    else if (cmd.getName().equalsIgnoreCase("plugins")) {
    player.sendMessage(ChatColor.GOLD + "How dare you look there that's inapropriate!");
    return true;

    }

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 23, 2016
  10. Offline

    DrHolbr

    I use a plugin to do exactly what you want called "stop looking at my plugins" aka SLAMP
     
  11. Offline

    messageofdeath

    I'm making an all-in one plugin for my server
     
  12. Offline

    DrHolbr

    SLAMP has gave me problems in the past let me know if you release it publicly 8)
     
  13. Offline

    messageofdeath

    will do
     
  14. Offline

    Royal_Soda

    DrHolbr
    What kind of problems? Maybe I can help.
     
Thread Status:
Not open for further replies.

Share This Page