MyCommand Signs/Permissions

Discussion in 'Spigot Plugin Help' started by ChickenPillow, Jun 5, 2016.

  1. Hi, I need some help with the plugin MyCommand (https://www.spigotmc.org/resources/mycommand.22272/) What I want is: I already have a command to do more than one command (Like this plugin is for), but I only want deops to be able to use this command on a sign, how can I make it that they only have permission to use the command on the sign but not in chat, so if they want money they cant go /reward but can only click the sign at the end of something (like parkour) as a reward.

    Thanks
    - ChickenPillow
     
  2. I think you can't do that, but you can try with worldguard plugin something, try type /rg flag __global__ blocked-cmds /reward or watch some tutorials on youtube about worldguard or about mycommand plugin.. :)
     
  3. mathhulk

    mathhulk Retired Moderator
    Retired

    Simply have the player execute the command as OP when he clicks on the sign, but do not give the player permission for the command by default.