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

    Lolmewn Retired Staff

    Yay! Found what I was looking for =D
     
  3. Offline

    Ryan Phox

    Thanks for the quick update and sorry for earlier remarks, was a long long day and I have been under allot of stress and also miss-understood some things as I was also tired, you are actually doing a great job and are actively continuing development as I can see which is more then I can say for allot of plugins I see lagging far behind, you have been more up to date then most.
     
  4. Offline

    Freestyling

    You should add redstone to it and then like with command /enableredsign that you click on the sign and that only that sign works with redstone unless you add more with the command
     
  5. Offline

    c_dric

    Hi Fluff,

    I've been using both CommandSigns & Annotate on my server and i love them.

    After updating to MC 1.6 (819), Annotate 1.2.3 & CommandSigns 0.8.5, the commandsigns that were linked to buttons and plates don't seem to work anymore. No errors in console, as if there is no commandsign there.

    I compared my 1.5 config with the new config created by Annotate. All the annotates .dat files have been moved to /Annotate/WoldName/ and all the commandsigns that were linked to buttons & plates are not working anymore.
    The standard commandsign signs are still working as before.

    I have around 40 of those buttons/plates. Is there a way i could convert my old config ?
     
  6. Offline

    Fluff

    I knew I forgot something. I'll update Annotate to check for that and convert things over in the next version.

    EDIT: Actually, could you post your Annotations.dat?
     
  7. Offline

    Clem

    @Fluff Hey, I am having quite a bad problem at the moment :/ When anyone who isnt' a user try to use a annotate/commandsign it spazzes saying
    Code:
    2011-06-04 01:10:55 [INFO] §9[PLAYER_COMMAND] &CommandSigns: /give USERNAME minecart 1
    2011-06-04 01:10:57 [INFO] ! CommandSigns Error: Couldn't find the permissions file!
    It says it can't find the permissions file... I have the latest Group Manager the Fakepermissions, and seems to work for almost all other plugins.. I believe I am running 0.81?
    Here is what happens when I start the server
    Code:
    2011-06-04 01:09:19 [INFO] CommandSigns: Integrated with iConomy
    2011-06-04 01:09:19 [INFO] CommandSigns: Integrated with Permissions
    2011-06-04 01:09:19 [INFO] CommandSigns: Integrated with GroupManager
    2011-06-04 01:09:19 [INFO] CommandSigns: Integrated with Annotate
    So it seems like it would no? Thanks Fluff xD!
     
  8. Offline

    Fluff

    Almost definitely the FakePermissions is the problem, but update to 0.8.5 and make sure. CommandSigns supports both Permissions and GroupManager, but it'll most likely hate any 'fake' Permissions plugin since it's not the real Permissions.
     
  9. Offline

    Clem

    @Fluff Well, can you possibly make it so it only choses one (permissions/group manager), because it is still having the same problem... It was working when I had Build 798 :/ Maybe GM and fakepermissions is outdated?
     
  10. Offline

    ledhead900

    Same issue mate, and I have 8.5

    But I put the Fake user in OP.txt it still not work

    Ok well im here waiting to test so just fire away.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Aug 23, 2018
  11. Offline

    Fluff

    No, it's because I added /@. I'll switch the order of some stuff and see if it helps.
     
  12. Offline

    Clem

    @Fluff i'll test it too! But it was working in the past with FakePermissions and GM :/ I think this one is on you fluff :p Your cool though =D
     
  13. Offline

    ledhead900

    I mange to work around it using /@ instead of /*
     
  14. Offline

    Clem

    o.0 okay I will try that too... but this surely must be a glitch.

    @ledhead900 @Fluff I am not trying to use /* I am just trying to use plain / but when I use /@ I get the same problem
    Code:
    2011-06-04 02:05:22 [INFO] ! CommandSigns Error: Couldn't find the permissions file!
    2011-06-04 02:05:25 [INFO] ! CommandSigns Error: Couldn't find the permissions file!
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 15, 2016
  15. Offline

    ledhead900

    oh well appears I suffer the sam we thought it worked but same thing for us too. appears to be an issue with well Not finding permissions we both use Fake perm and GM so lets hope fluff getsa fix out soon.

    we tried the /@ method but it only works for users with the permission its not elevating the user instead we get error u get when it trys to do that and with /* we get the fake player issue.


    bare with my broken english running on 1hr sleep here.
     
  16. Offline

    c_dric

    My Annotations.dat
    The backup version from 1.5.
    It looks like the converted version got cleaned of all previous annotations after last restart.

    Code:
    -3123.0_9.0_-13.0#plugins/Annotate/-3123.0_9.0_-13.0.dat
    
    -3344.0_59.0_-3109.0#plugins/Annotate/-3344.0_59.0_-3109.0.dat
    
    -3112.0_9.0_-26.0#plugins/Annotate/-3112.0_9.0_-26.0.dat
    
    -3077.0_9.0_-13.0#plugins/Annotate/-3077.0_9.0_-13.0.dat
    
    -2112.0_71.0_332.0#plugins/Annotate/-2112.0_71.0_332.0.dat
    
    -3090.0_9.0_20.0#plugins/Annotate/-3090.0_9.0_20.0.dat
    
    -3110.0_9.0_20.0#plugins/Annotate/-3110.0_9.0_20.0.dat
    
    -2112.0_70.0_333.0#plugins/Annotate/-2112.0_70.0_333.0.dat
    
    -3099.0_9.0_1.0#plugins/Annotate/-3099.0_9.0_1.0.dat
    
    -1652.0_119.0_-1384.0#plugins/Annotate/-1652.0_119.0_-1384.0.dat
    
    2011.0_73.0_-2370.0#plugins/Annotate/2011.0_73.0_-2370.0.dat
    
    -3090.0_9.0_-26.0#plugins/Annotate/-3090.0_9.0_-26.0.dat
    
    -800.0_65.0_493.0#plugins/Annotate/-800.0_65.0_493.0.dat
    
    -3088.0_9.0_20.0#plugins/Annotate/-3088.0_9.0_20.0.dat
    
    -3110.0_9.0_-26.0#plugins/Annotate/-3110.0_9.0_-26.0.dat
    
    -3077.0_9.0_-15.0#plugins/Annotate/-3077.0_9.0_-15.0.dat
    
    -3123.0_9.0_7.0#plugins/Annotate/-3123.0_9.0_7.0.dat
    
    -1653.0_111.0_-1402.0#plugins/Annotate/-1653.0_111.0_-1402.0.dat
    
    -1671.0_102.0_-1315.0#plugins/Annotate/-1671.0_102.0_-1315.0.dat
    
    -808.0_65.0_493.0#plugins/Annotate/-808.0_65.0_493.0.dat
    
    -786.0_64.0_505.0#plugins/Annotate/-786.0_64.0_505.0.dat
    
    -793.0_64.0_492.0#plugins/Annotate/-793.0_64.0_492.0.dat
    
    -3106.0_8.0_-18.0#plugins/Annotate/-3106.0_8.0_-18.0.dat
    
    -3096.0_9.0_-2.0#plugins/Annotate/-3096.0_9.0_-2.0.dat
    780.0_65.0_497.0#plugins/Annotate/-780.0_65.0_497.0.dat
    
    -3123.0_9.0_-15.0#plugins/Annotate/-3123.0_9.0_-15.0.dat
    
    -3077.0_9.0_9.0#plugins/Annotate/-3077.0_9.0_9.0.dat
    
    -1670.0_103.0_-1314.0#plugins/Annotate/-1670.0_103.0_-1314.0.dat
    
    -3088.0_9.0_-26.0#plugins/Annotate/-3088.0_9.0_-26.0.dat
    
    -3077.0_9.0_7.0#plugins/Annotate/-3077.0_9.0_7.0.dat
    
    -1808.0_73.0_-1375.0#plugins/Annotate/-1808.0_73.0_-1375.0.dat
    
    -3123.0_9.0_9.0#plugins/Annotate/-3123.0_9.0_9.0.dat
    
    -804.0_65.0_493.0#plugins/Annotate/-804.0_65.0_493.0.dat
    
    -3123.0_8.0_-26.0#plugins/Annotate/-3123.0_8.0_-26.0.dat
    
    -3112.0_9.0_20.0#plugins/Annotate/-3112.0_9.0_20.0.dat
    
     
  17. Offline

    Fluff

    Yeah, it didn't save the new names apparently. Tell me your world name and I'll convert this file for you.
     
  18. Offline

    c_dric

    World name is : Zero

    Thanks for your help.
     
  19. Offline

    Fluff

    0.8.6 released.

    All those little things that queued up over the week are in. @desht , I'll update the User Guide with the new API calls, but it's the same as I already posted here.

    @c_dric , your new Annotations.dat is attached (just make sure to take off the .txt extension). Let me know if it doesn't work for you.
     

    Attached Files:

  20. Offline

    c_dric

    Tested 0.8.6 with the new Annotations.dat and all the buttons are working again.

    Thanks a lot Fluff.
     
  21. Offline

    supre

    could you add the ability to use the signs by hooking them up to redstone?
     
  22. Offline

    Fluff

    Could you read the OP?
     
  23. Offline

    supre

    ok i've read tht sorry and added a comment to the issue tracker
    hope this gets added asap <3
     
  24. Offline

    Clem

    @Fluff does 0.8.6 fix the problems they me and @ledhead900 have been having with it saying
    Code:
    [INFO] ! CommandSigns Error: Couldn't find the permissions file!
     
  25. Offline

    Fluff

    I think it does.
     
  26. Offline

    Clem

    @Fluff where is the download for 0.8.6 I only see 0.8.5

    @Fluff never mind.. I guess the text just isn't changed... By the way.. that update fixed my teleport plugin :)))) I guess it was conflicting before (tele++)

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

    Fluff

    Yeah, version numbers on the download links just started with 818, so I forget to do it sometimes. No matter what version number the first link says, it always points to the latest version.
     
  28. Offline

    Flipp

    Hi, great Plugin, but I don´t get it running right.

    System: Bukkit 818, Permissions 2.7.4, Commandsigns 0.8.6, Annotate 1.2.3

    If I try to make a /@ sign, it doesn´t work. Without the @ it works (for Admin).

    Sign Text:
    [command]
    /@startquest test

    Code:
    Config:
    
    features:
        fakeUserDisplayName: CommandSigns
    legacy:
        useOldCommandSignsUser: false
        ignoreSpacesAtEndOfLine: false
        allowRunOnCommands: false
        useOldGroupDirective: false
    
    Permissions:
    
    groups:
        '&CommandSigns':
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        '&CommandSigns':
            group: '&CommandSigns'
    
    ServerLog:
    
    [INFO] ? CommandSigns: Crappyhead could not execute command "/startquest test". Does command exist?
    2011-06-05 10:48:29 [INFO] ? CommandSigns: If so, &CommandSigns may be missing a permission.
    In the Chat i get: Unknown Console Command...

    Edit: must be because of the Plugin of the Command (MineQuest). Because a command like /@time day works...
    Maybe you know why.
    Greets Flipp
     
  29. Offline

    Darcion

    download for8.6 doesnt work
     
  30. Offline

    c_dric

    I would like to disable the ability to create commandsigns for all but ops/admin.
    Even simple ones (without /* or /@) because they can still be used together with buttons/plates to trick ops into running dangerous commands.

    However i can't get it to work. I thought not giving the commandSigns.create perm would do it.
    But as a default/deopped user i could create a /ban <NAME> command sign, and as admin later on i could ban myself :)

    Here is a summary of my permissions (2.7.4)
    Maybe you can spot what's wrong with it :)


    Code:
    plugin:
        permissions:
            system: default
    groups:
        admins:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
            - mods
            permissions:
            - '*'
        mods:
            default: false
            info:
                prefix: '&a'
                suffix: ''
                build: true
            inheritance:
            - vip
            permissions:
            - scrollingmenusign.destroy
            - scrollingmenusign.colorsigns
            - scrollingmenusign.commands.list
        vip:
            default: false
            info:
                prefix: '&a'
                suffix: ''
                build: true
            inheritance:
            permissions:
            - scrollingmenusign.scroll
            - scrollingmenusign.execute
            - scrollingmenusign.commands.create
            - scrollingmenusign.commands.sync
            - scrollingmenusign.commands.break
            - scrollingmenusign.commands.delete
            - scrollingmenusign.commands.add
            - scrollingmenusign.commands.remove
            - scrollingmenusign.commands.title
            - scrollingmenusign.commands.show
            - scrollingmenusign.commands.page
            - annotate.view
            - annotate.ann
            - commandSigns.use
        default:
            default: true
            info:
                prefix: '&f'
                suffix: ''
                build: true
            inheritance:
            - default
            permissions:
            - scrollingmenusign.scroll
            - scrollingmenusign.execute
            - annotate.view
            - commandSigns.use
    
    
     
  31. Offline

    Clem

    I'm sorry but I am terribly confused with
    and when I try to make a sign with groups built in I do
    Code:
    /ann line1 [command]
    /ann line2 /@Member
    /ann line3 /*money grant -10
    /ann line4 /@Donator
    /ann line5 /*money grant -5
    that doesn't work either... ahh, Basically how would I use the money signs and Allowing only a certain group to use... The wiki is very helpful on those :/
     

Share This Page