Inactive [MECH] CommandSigns v1.2.0 - Issue commands using signs[1317]

Discussion in 'Inactive/Unsupported Plugins' started by HansAnderson, Aug 26, 2011.

  1. Offline


    Version: v1.2.0

    This plugin is a complete rewrite of CommandSigns based off the original by Edward Hand. With CommandSigns, you can add invisible text or commands to signs. When the sign is right clicked, the command runs and/or the player gets a message.

    The /* feature of this plugin will not work properly with PermissionsExtended (PEX).
    There is a small issue where PEX doesn't utilize the permissions.yml from the root server folder.
    It has been tested with PermissionsBukkit and bPermissions.

    • Run commands from signs
    • Signs can have any other text on them, the commands are linked to the sign behind the scenes
    • Uses a new permissions node so that players can use commands they wouldn't normally have access to!
    How to use:
    1. Place a sign, add any writing you want
    2. Add lines to your clipboard with /commandsigns line<number> <text>
    3. Right click a sign to make it a CommandSign
    /commandsigns line<number> <text>
      - Add a line with one command (see Command Formatting). Number may be 0-9
    /commandsigns read
      - Read a CommandSign (the command lines associated with it)
      - Note: You need permission to create a sign in order to read
    /commandsigns copy
      - Copy a CommandSign to clipboard (the command lines associated with it)
      - Note: You need permission to create a sign in order to read
    /commandsigns clear
      - Clear your CommandSigns clipboard
    /commandsigns remove
      - Remove a CommandSign
    Command Formatting:
    In the place of <text> for a line, you may write a single command or sign formatting (such as @group). There are 10 total lines for separate commands or sign formatting. See Examples.
      -  Runs a command from the player who clicked the sign
      - Runs command with elevated permissions from the 'CommandSigns.permissions' node
      - Doesn't work for OP commands like /stop
      - (For WorldEdit //wand, use /*/wand)
      - Limits the sign use to only that group
      - **Check the permissions section below for usage!**
      - Print the message to the player's chat
      - Replaced in the command by the player's name
      - Replaced in the command by the player's x, y, or z coordinates
    examples (open)
    /commandsigns line0 \say Hello server! <NAME> just logged on.
      - "Hello server! <playername> just logged on."
    /commandsigns line0 \You just clicked
    \commandsigns line1 \a sign!
      - "You just clicked
          a sign!"
      - (Message sent to the  player who clicked)
    /commandsigns line0 /*warp point1
      - Warps the player to point1
      - (If the /* nodes are set up correctly)
    /commandsigns line0 @mods
    /commandsigns line1 /*warp point1
      - Warps the player to point1 only if they have the '' permission node
      - (If the /* nodes are set up correctly)

    permission nodes (open)
      - All permissions
      - All create permissions
      - Create signs without /* commands
      - Create signs with /* commands
      - Remove CommandSigns
      - Use all signs
      - Use signs without /* commands
      - Use signs with /* commands
      - Replace<group> with the group name from @group
      - Allows use of signs with the matching group name
    - Allows use of all @group signs

    In your permissions.yml (in main server folder) create parent node 'CommandSigns.permissions' and attach children nodes from plugins you want to give permissions for when using the /* prefix.
    permissions.yml example (open)
            warp.go: true
    Now using /*warp <somewhere> on a sign will allow a player who doesn't normally have access to the /warp command to use the sign.

    Download CommandSigns

    Version 1.2.0
    • Only one command per line now (commands can have many more syntax options)
    • Added ability to copy a CommandSign text to 'clipboard'
    • Fixed '*' permission node
    Version 1.1.0
    • Now supports all superperms permissions plugins!
    Version 1.0.1
    • Fixed a missing permissions node from the plugin.yml
    Version 1.0.0
    • Initial release

    I wanted the functionality of the old plugin, but the /* feature was broken. After becoming frustrated trying to figure out and update Fluff's version, I went back to the original and completely rewrote it. This is really my first plugin and Java experience.

    If this is not an acceptable submission, that is fine. I wrote it for my server and don't have time to go nuts adding features we don't need. However, I saw many people also wanted the /* feature, so I shared my work.

    I'm open to changing the name to something different, or withdrawing the submission. My main goal was to make this available to anyone who wants to use it.

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

    Donald Scott

    I can confirm /*/wand does not work. Is there a fix planned?
  3. Offline


    How can I get a sign to
    Same issue here...
  4. Offline


    All of my ranks are gone!!! After i installed this it went ka-poop... I need help every1 is default rank. ;(
    EDIT: I uninstalled this plugin, but all of them are STILL GONE!!! AND I'M GETTING MAD!!! Someone HELP ME ALREADY!!! PLEEEEEEEEAAAAAASE!!!!!!! I got a boatload of complaints!!!
  5. Offline


    Try back up your permissions.yml and then make a new users: group: to see if its permissions (It could be a typo in permissions)
  6. Offline



    I use this on my server and people cannot seem to use the signs, i have given the deafult rank: CommandSigns.use.* and the permissions plugin i use is PEX, they can however use the command in chat: /warp eastoutpost but on the sign they can't. the console doesn't say anything and admins with the * node can use it, im not sure why they cannot use it please help!
  7. Offline


    My current project has halted a little bit because I can't run more than 10 lines =/

    I friggen love this plugin and at first I would say it's only limited by the other plugins installed but now...
    I hadn't read the 10 line limit part... stumbled upon that myself.
    I use it with WorldGuard and WorldEdit by selecting a region and then running a WE command. It's really quite powerful. But I'm wanting to control 10 regions with a single sign. For that I need 20 lines at least because first WG needs to select the region and then WE can make it's move.

    Is there any chance you can increase the limit to say... 50 lines?
    I've decompiled the jar and I'm looking for some sort of number I need to change... but it can't be that simple I gather.

    What is the reason for limiting it to 10 lines?
  8. Offline


  9. Offline


  10. Offline


    not working for me, using Craftbukkit for MC 1.1 on windows, i got a lot of errors
  11. Offline


    Care to share what they are?
  12. Offline


    I can't seem to get the /* to work with the default permissions.yml, how do i add permissions, I did what it said, to no avail.

    Here is my permissions.yml thats in the base file

    admincmd.*: true

    That should work right? so admincmd has a command that is /gm, and so on commandsigns i did
    /CommandSigns line0 /*gm
    Then as a not OP I gave it.... SHIT I FUCKED UP lol thanks for the help

    Is there a permissions you can give for basic OP commands like /op or /gamemode ?

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


    I have this problem also. :(
  14. Offline


    Argh ive been stuck on trying to make a sign that adds you to a group with permission plus.
    But i cant get the /* to work because i have no idea how to find the children nodes please help.
  15. Offline


    Please update for latest recommended build.
    godsyn likes this.
  16. Offline


    Any plans to update for R5?
    Minecraft dev server launched.
    174 recipes
    27 achievements
    15:35:44 [INFO] Starting minecraft server version 1.1
    15:35:44 [INFO] Loading properties
    15:35:44 [INFO] Starting Minecraft server on *:25569
    15:35:45 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R4-13-g6381da2-b1952jnks (MC: 1.1) (Implementing API version 1.1-R5-SNAPSHOT)
    15:35:45 [SEVERE] Could not load 'plugins/CommandSigns-1.2.0.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(
            at org.bukkit.craftbukkit.CraftServer.<init>(
            at net.minecraft.server.ServerConfigurationManager.<init>(
            at net.minecraft.server.MinecraftServer.init(
    Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/player/PlayerListener
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(
            at Method)
            at java.lang.ClassLoader.loadClass(
            at java.lang.ClassLoader.loadClass(
            at com.hans.CommandSigns.CommandSigns.<init>(
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
            at java.lang.reflect.Constructor.newInstance(
            ... 8 more
    Caused by: java.lang.ClassNotFoundException: org.bukkit.event.player.PlayerListener
            at Method)
            at java.lang.ClassLoader.loadClass(
            at java.lang.ClassLoader.loadClass(
            ... 27 more
    15:35:45 [INFO] Preparing level "world"
    15:35:45 [INFO] Default game type: 0
    15:35:45 [INFO] Preparing start region for level 0 (Seed: -97394964482756812)
    15:35:45 [INFO] Preparing start region for level 1 (Seed: -97394964482756812)
    15:35:46 [INFO] Preparing start region for level 2 (Seed: -97394964482756812)
    15:35:46 [INFO] Preparing spawn area: 20%
    15:35:46 [INFO] Server permissions file permissions.yml is empty, ignoring it
    15:35:46 [INFO] Done (1.416s)! For help, type "help" or "?"
  17. Offline


    Yes please, please make this ready for R5 and fix: CommandSigns can't be used in protected areas or can't be used with players who don't have build rights...
  18. Offline


    Hey there! I'm really hoping you can help me out here.. I know how to set up the signs, and they work for my ops, but my non ops cant use them? I've added the CommandSigns.use.* to the groups, etc.. but nothing? Using PEX, heres a look at the permissions.yml:
  19. Offline


    That would be your protection plugin disabling users from using items.
  20. Offline


    Yes, I know, but how to fix it?
  21. Offline


    Contact the author of your protection plugin. It isn't something to be discussed here, as it isn't a direct issue with command signs.
  22. Offline


  23. Offline


    Could you give me a copy of your config file in permissionsbukkit? im trying to do the same thing
  24. Offline


  25. Offline


  26. Offline


    Link to request?
  27. Offline


  28. Offline


  29. Hey, It is probably an obvious answer and you will probably say it doesn't work or something similar, I understand you wrote that it does not support the /* feature when using Pex however I have given defaults the permissions to use /pex user <user> group set <group> and this works fine however does anyone know how I make it so when they click the sign, it gives them the command because I am typing this into the commandsign /commandsigns line1 /pex user <> group set trusted and it keeps thinking the player is called <>, does anyn know how I make it so it gives the person running the command through the commandsign the group rathe than a person which does not exist also known as <>. I would be grateful for some help, I have been trying to fix it for several days now, Thanks

    Edit: What I mean is, Is there a substitute for <user> to make it think it activate for the user hitting the sign rather than it activating for <>.

    Edit: Do I simply just write <user> in the command?

    Idiot Edit: I have just relaise when reading the notes on the plugin to put <name> for player name, I feel very very silly now, but i had been up all day and very tired when doing these permissions
  30. Offline


    Has anyone had any success getting this to run on CB2060?
  31. Offline


    kevile likes this.

Share This Page