Inactive [MECH] CommandSigns v0.9 - Issue commands using signs [953]

Discussion in 'Inactive/Unsupported Plugins' started by Fluff, May 5, 2011.

  1. Offline

    Fluff

    CommandSigns v0.9

    Tired of having to type out the same commands again and again? Want to allow your players to use commands only at certain places? Help is at hand!

    Feature Summary
    • Allows chat commands and chat messages to be send on right-clicking a sign.
    • Allows commands to be run on signs that players wouldn't be able to use through chat.
    • Sign usage can be limited to specific players or groups.
    • Supports 'variables' for player name and x,y,z position.
    • Won't allow users to gain access to forbidden commands without permission (secure).
    • Add a cost to use a sign, or a reward for clicking the sign!
    • Limit the number of times a sign can be used.
    • Enable and disable signs without destroying them.
    • Permissions-friendly
    • Developer API available
    User's Guide

    About The Developers

    Want to ensure your bug or suggestion isn't lost in the thread? Post it on our issue tracker.

    Command Summary (open)

    • /commandsign enable - Enables the next command sign you right-click on.
    • /commandsign enable <x> <y> <z> - Enables the command sign at x,y,z in the current world.
    • /commandsign enable <x> <y> <z> [w:]<world> - Enables the command sign in world <world> at x,y,z.
    • /commandsign enable [a:]<alias> - Enables the command sign at the alias.
    • /commandsign enable <uses> - Enables the next command sign you right-click on with a number of uses.
    • /commandsign enable <uses> <x> <y> <z> - Enables the command sign at x,y,z in the current world with a number of uses.
    • /commandsign enable <uses> <x> <y> <z> [w:]<world> - Enables the command sign in world <world> at x,y,z with a number of uses.
    • /commandsign enable <uses> [a:]<alias> - Enables the command sign at the alias with a number of uses.
    • /commandsign disable - Disables the next command sign you right-click on.
    • /commandsign disable <x> <y> <z> - Disables the command sign at x,y,z in the current world.
    • /commandsign disable <x> <y> <z> [w:]<world> - Disables the command sign at x,y,z in world <world>.
    • /commandsign disable [a:]<alias> - Disables the command sign at the alias.
    • /commandsign alias - Right-click on a block to get the alias of its location.
    • /commandsign alias <x> <y> <z> - Get the alias of the location x,y,z in the current world.
    • /commandsign alias <x> <y> <z> w:<world> - Get the alias of the location x,y,z in world <world>.
    • /commandsign alias [a:]<name> - Right-click on a block to set the alias of its location.
    • /commandsign alias <x> <y> <z> [a:]<name> - Set the alias of the location x,y,z in the current world.
    • /commandsign alias <x> <y> <z> w:<world> [a:]<name> - Set the alias of the location x,y,z in world <world>.
    • /commandsign alias remove - Right-click on a block to remove the alias of its location.
    • /commandsign alias remove [a:]<name> - Removes the alias.
    • /commandsign alias remove <x> <y> <z> - Remove the alias at location x,y,z in the current world.
    • /commandsign alias remove <x> <y> <z> w:<world> - Remove the alias at location x,y,z in world <world>.
    • /commandsign alias [a:]<name> [a:]<newname> - Set the alias of the location at <name> to <newname>.
    • /commandsign config - Lists all the configuration nodes.
    • /commandsign config <node> - Lists the configuration node.
    • /commandsign config <node> <value> - Sets the configuration node to the value.
    • /commandsign exec [a:]<alias> - Executes the command sign at the location pointed to by the alias.
    • /commandsign exec <x> <y> <z> - Executes the command sign at location x,y,z in the current world.
    • /commandsign exec <x> <y> <z> [w:]<world> - Executes the command sign at location x,y,z in world <world>.
    Syntax Summary (open)

    • [command] - use on the first line of a sign to define a command sign.
    • **[title] - use on the first line in place of [command] to customise the title of the sign
    • /command - runs a command as the player using the sign
    • /*command - runs a command as the fictional user &CommandSigns
    • /@command - elevates the player's permissions (using the permissions assigned to &CommandSigns) if necessary to run the command
    • @player/group - commands following (up to the next @) are limited to that player/group.
    • \message - prints the message to chat
    • \\message - prints the message to the player
    • <NAME> / <X> / <Y> / <Z> / <I> - replaced with the using players name/x/y/z-coord/current held item id on running.
    • $;<cost1>[;<costN>] where cost is <item id>,<item number> or <item id>:<item data>,<item number> - adds a cost to the sign
    • $$ - break evaluation of a command sign
    Permission Nodes (open)

    • commandSigns.use - Use a command sign.
    • commandSigns.create - Create, enable, or disable a command sign.
    • commandSigns.super - Create, enable, or disable a command sign using /*command, /@command, @player/group, or $.
    • commandSigns.super.cost - Create, enable, or disable a command sign using $.
    • commandSigns.super.elevated - Create, enable, or disable a command sign using /@command.
    • commandSigns.super.fakeuser - Create, enable, or disable a command sign using /*command.
    • commandSigns.super.restricted - Create, enable, or disable a command sign using @player/group.
    • commandSigns.default.<default group name> - A flag stating that the group is the default group.
    • commandSigns.config - Allows a user to manage the configuration.
    • commandSigns.alias - Allows a user to manage aliases.
    • commandSigns.exec - Allows a user to remotely trigger command signs.
    Reporting a Problem (open)
    The following bits of information are helpful to include when reporting a problem:
    1. Bukkit and plugin version.
    2. Excerpt from server log of the failed command usage, preferably with the debug configuration option set to true.
    3. Complete command sign text.
    4. Command sign configuration file.
    5. Name of plugin that the failed command comes from, preferably with a link to the plugin's forum thread.

    Recommended Plugins
    • With Annotate, you can have CommandSigns on practically any block with an almost unlimited amount of room for commands! They can even activate when pressing a button or a pressure plate!
    • With ScrollingMenuSign, your signs can look even nicer while allowing your users to scroll through a menu of commands!

    Download Latest Version
    MD5: 7f4076eea7198f2c0f17cde3f62f7c1f
    Download 0.8.1i - RB 803 and previous
    MD5: 72a60e16bfd775b3d15a03aca70e86e0

    Source

    To Everyone Asking For Redstone Support (open)

    Yes, I also think redstone support would be very cool. Unfortunately, there are some major limitations on what you can do with a redstone-controlled sign. You can read about those limitations in this post, and you can read a rationale about why those limitations exist in this post. Given those two limitations, I don't think redstone support is currently a useful feature to add, especially given what Annotate can do for you. (If you disagree, please post on the issue tracker on how you would use redstone support.) In the (not too distant) future, redstone support may will be added in a separate plugin due to the different nature of redstone command signs.

    Change Log
    version 0.9 - See Post
    • If PEX permissions work, this plugin supports it.
    • Economy redone; added Essentials Economy.
    • Localization support added.
    • Added new command: /commandsign exec
    • Events properly unregistered when plugin is disabled.
    version 0.8.13
    • Default groups should work for real.
    Older Entries (open)

    version 0.8.12
    • Added handling for default groups.
    • Added support for command aliases.
    • Added /commandsign config.
    version 0.8.11
    • Fixed @ directive.
    • Fixed '/commandsign disable' bug.
    • Added aliases.
    version 0.8.10
    • Fixed /@ permissions error.
    • Added exception handling for removing permissions from users.
    version 0.8.9
    • Added PEX and Permissions 3.0 support.
    • Added new placeholders: <N> and <I>
    • Fixed bug with regular / commands.
    • Added new directives: $$ and \\
    • Added additional debug messages.
    version 0.8.8
    • Fixed /* and /@ working without permissions support.
    • Fixed Permissions creating new users with the wrong casing.
    version 0.8.7
    • Fixed command sign creation permissions.
    • Added debug configuration option.
    version 0.8.6
    • Added Permissions checks to developer API.
    • Fixed enabling bug with /* and /@.
    • Updated to work with GroupManager and fake Permission plugins.
    version 0.8.5 - See Post
    • Fixed multi-world Permissions bug.
    • Changed @ group directive
    version 0.8.4
    • Removed support for Permissions 3.x
    • Updated to 818
    version 0.8.3
    • Fixed API bug
    version 0.8.2
    • Updated for Permissions 3.x
    version 0.8.1
    • Fixed GroupManager integration
    version 0.8
    • Added /@ to temporarily elevate a user's permissions.
    • Added developer API.
    version 0.7.1
    • Fixed item data bug - for real, this time.
    version 0.7 - See Post
    • Removed SignReadMore support.
    • Added Annotate support.
    • Added more granular permissions for advanced sign creation.
    • Removed a debug message that looked like an error.
    version 0.6.2
    • Fixed enable bug on sign creation.
    • Fixed item data bug.
    version 0.6.1
    • Fixed berating of users who can't create command signs but were just innocently putting up a sign.
    version 0.6
    • Added SignReadMore support.
    version 0.5.1
    • Can no longer place blocks directly on enabled command signs.
    • Fixed @ directive.
    • Changed fake user network code.
    version 0.5 - See Post
    • Added /commandsign commands.
    • Added finite-use signs.
    version 0.4.10
    • Fixed BOSEconomy support
    version 0.4.9
    • Supports BOSEconomy
    version 0.4.8
    • Trimming commands in hopes it fixes some problems.
    version 0.4.7 - See Post
    • Added cost signs.
    version 0.4.6
    • Hackish solution to 'items not showing up in inventory' bug.
    version 0.4.5 - See Post
    • Updated support for GroupManager.
    • Added configuration option to change the display name of the fake user.
    • Added configuration option to allow command parser to understand // commands.
    version 0.4.4
    • Fixed numerous bugs when not using Permissions.
    • Beginnings of an API for other plugin devs.
    version 0.4.3
    • Added configuration file.
    • Fixed chat command bugs.
    • Rearranged code for simpler maintenance.
    version 0.4.2 - See Post
    • BREAKING CHANGE - The fake user is now named &CommandSigns.
    version 0.4.1
    • Fixed for 740
    version 0.4
    • Bukkit team trying to break everything again
    version 0.35
    • Fixed conflict when using <NAME> in commands overriding permissions.
    version 0.3
    • Added NAME, X, Y and Z variables
    • Added permission filter
    • Allowed creation of signs that call commands user would not usually have access to
    • Allowed customisation of [command] to other text.
    version 0.15
    • Bugfix ("Insufficient Permissions" annoyance bug)
    version 0.1
    • Plugin Released
     
    Dimochka, c_dric, Flipp and 5 others like this.
  2. Offline

    wacossusca34

    I'm still getting the same issue. I've tried CommandSigns, 'CommandSigns' and 'CommandSigns' with no space behind it. Help?

    PS, i appreciate your guy's help :)
     
  3. Offline

    Azlodin

    use /@SpawN and not /*spawn. /*spawn will attempt to take '&CommandSigns' to the spawn location not the user you that clicked the sign.

    It depends. What plugin do you have have that handles teleportation? CommandSigns only issues the command, it doesn't have teleportation built-in.

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

    y1985

    Thx for reply. I figured it out now :D
     
  5. Offline

    Luke.Handle

    @Fluff Possible Increase the size of the User Guide link. I some how missed it everytime I read the post...? I knew this was what I wanted but reading the commands above was confusing me like crap. The User Guide was excellent though. Glad I eventually found it...
     
  6. Offline

    fitzy99

    Although this may be a somewhat noob question I am having trouble figuring out how to define cost on the signs. If someone could help me with that it would be much appreciated
     
  7. Offline

    codename_B

    So I heard you spoof a player? Is this true?
     
  8. Offline

    meiamone

    FYI, DuckShop conflicts with CS. Loading Bukkit, DuckShop reports an error without any helpful info. In-game, CS reports an error when attempting to enable a sign, particularly when assigning a quantity of uses.
     
  9. Offline

    MG127

    Woah, the alias-commands from CommandHelper work on the signs! thats so awesome!!!
     
  10. Offline

    wacossusca34

    Ok, got it to work, and I'm very impressed. I also installed annotate because I wanted to execute more than one command per block.

    You see, I'm trying to use this with mcmmo and groupmanager, so the default player, when they choose their race, they get several mcmmo bonuses, and even bonuses from other plugins. Also, one of the commands will set the player to the rank for their race, and that rank has no permissions fro commandsigns, so they can't just get the bonuses all over again and change races.

    Is this something that can be answered here, or needs to be posted on annotate forums?

    I need several commands executed on one line, because when I put it on a different line, CommandSigns doesn't even recognize it!
     
  11. Offline

    CW934

    im using bukkit permissions with the bridge. when using the /@kick <NAME>, the console says: Couldn't find the permissions file, even though on plugin reload, it says hooked onto permissions. help!
     
  12. Offline

    delro92

    Hey, would you mind bringing this plug in to 1060?
    Also, I'm using BOSEconomy, but if I try to use a sign without the money it says "You do not have enough money to pay for this sign", but it executes the command anyway. I hope you can fix this because this plug in is GREAT.
    Thanks in advance.
     
  13. Offline

    §Vishus§

    /commandsigns alias Doesnt work for me
    CraftBukkit 1000, latest build commandsigns,

    Error with debug:

    [SEVERE] Could not pass event PLAYER_INTERACT to CommandSigns
    java.lang.NullPointerException
    at com.omggamingonline.minecraft.common.AliasInterface.getAliases(AliasInterface.java:38)
    at com.omggamingonline.minecraft.common.AliasInterface.getAliases(AliasInterface.java:33)
    at com.edwardhand.commandsigns.CommandSignPlayerListener.onPlayerInteract(CommandSignPlayerListener.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    The only command that doesn't work for me is commandsign.alias.*.
    I test it on my op, all permissions (permEX), type the command, says to rt click, on rt click, nothing happens and the error shows up console-side.

    Thanks in advance.
     
  14. Offline

    Hkdavid1008

    Is it possible to use this to promote yourself if you're in the default group with groupmanager?
     
  15. Offline

    Godwar101

    Please update the plugin.
     
  16. Offline

    G1R Productions

    21:30:53 [SEVERE] Could not pass event PLAYER_INTERACT to CommandSigns
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.CommandSigns.verifyEnabledCommandSign(CommandSigns.java:523)
    at com.edwardhand.commandsigns.CommandSignPlayerListener.onPlayerInteract(CommandSignPlayerListener.java:158)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:573)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:460)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:369)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    >
     
  17. Offline

    w000rm

    This plugin is exactly what i'm looking for, but i'm having problems when using the /@god command. Basically it doesn't allow the command even if i put @ before.
    What am I doing wrong?
     
  18. Right for ALL the people moaning its not working THAT is because it has not been updated. saying it doesnt work will not help at all as this plugin is for bukkit build 953 NOT 1000 or 1060.
     
  19. Offline

    alfskan

    abandoned. inactive.
     
  20. Offline

    eHAce

    is it possable to use groupmanager with it because i have two teams and it would be awsome if i could, i type on the sign
    [command]
    /@manuadd <player> TEAM
    but the <player part does not work what do i type so the player using the sign will be added to a team?
     
  21. Offline

    niugnip

    read the first post, -.- its <NAME>
     
  22. Offline

    EmlynK

    So this plugin isn't being updated then? Shame...coz it would be pretty cool if command signs could be activated via redstone. For example, use a button on a wall to give the person some diamonds and then take them back to spawn.

    Does anyone know of a way to do this?
     
  23. Offline

    niugnip

    [command]
    /@give <NAME> Diamond 3
    /@spawn
     
  24. Offline

    h8no1

    DONT ABANDON THIS D:
     
    GrayMorning likes this.
  25. Offline

    Phlegm

    Dood make it like this:
    Code:
     [command]
      /region
    addowner plot1
    <NAME>
     
  26. Offline

    ammarkhomusi

    i have a quesion, how to i reward someone using this sign? Thanx
     
  27. Offline

    Phlegm

    reward them how O_O

    Things that need fixing (open)

    I can't use any commands that have 2 slashes, like worldedit commands. That needs fixing.
    I can't execute /plugins with a commandsign. Fix that please.
    Still Finding as many things that need fixing as possible--- Read later

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

    HansAnderson

    I'm not sure if this would be of interest to anyone, but I really enjoyed using this plugin. However, I was most interested in the /* feature. Since it didn't work, I completely rewrote the plugin from scratch. You'll find that much of the same functionality is there (including an Annotate like ability).

    Please note that this is only for PermissionsBukkit and without economy support.

    Link

    @Fluff: If you return, I will gladly share my code with you if it'll help you update.
     
  29. Offline

    Rellac

    Ok, so whenever I try to do the following:

    [commandsign]
    /@rank <NAME> <Insert Rank>

    It will tell me that I don't have the permission to use the command.

    Players aren't supposed to be able to use the rank command, of course, but "/@" should bypass those permission requirements, right?
     
  30. Offline

    HansAnderson

    @Rellac
    The /* and /@ features broke a while back for this plugin. If you are interested in having that functionality, please look at my previous post.
     
  31. Offline

    niugnip

    /@ works fine for me. (in combination with PEX) cb1000
     

Share This Page