[INACTIVE][MECH]CommandSigns v0.4 - Issue commands using signs [672]

Discussion in 'Inactive/Unsupported Plugins' started by Edward Hand, Feb 22, 2011.

  1. Offline

    Deadlystrike

    I would realy like to see a abiltiy to use the sign commands via redstone
    my plan was to make it so that the guest aproaced the sign activated a presaure plate
    The preasure plate would display the rules and open a door out of the spawn for a few seconds
     
  2. Offline

    xbankaix007

    works great, thanks!
     
  3. Offline

    fghjconner

    Would it be possible for the signs to force someone other than the activator to speak? ie. a sign that makes the admin /give something, or makes the resident idiot say so, etc. If so, these kinds of signs could also work with redstone. Then you could have redstone controlled protection and such :)
     
  4. Offline

    Jekotia

    Depending on what plugins you have, the item spawning is possible. With general you can use /i or /item and it doesn't require a target name. If no name is given it gives the items to the player using the command.
     
  5. Offline

    Zankou666

    Ok, Here is the error with both CommandSigns and SignColours installed
    2011-02-26 07:19:42 [INFO] This server is running Craftbukkit version git-Bukkit
    -0.0.0-458-g557f3d2-b440jnks (MC: 1.3)

    2011-02-26 07:20:34 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to SignColo
    urs
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onBlockRightClick(SignListen
    er.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-26 07:20:38 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to SignColo
    urs
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onBlockRightClick(SignListen
    er.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-26 07:21:50 [SEVERE] Could not pass event SIGN_CHANGE to SignColours
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onSignChange(SignListener.ja
    va:23)
    at org.bukkit.plugin.java.JavaPluginLoader$27.execute(JavaPluginLoader.j
    ava:262)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:842)
    at net.minecraft.server.Packet130UpdateSign.a(SourceFile:39)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-26 07:21:52 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to SignColo
    urs
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onBlockRightClick(SignListen
    er.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    ------------
    And here it is with just CommandSigns installed

    2011-02-26 07:27:42 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to SignColo
    urs
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onBlockRightClick(SignListen
    er.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-26 07:27:44 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to SignColo
    urs
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onBlockRightClick(SignListen
    er.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-26 07:28:17 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to SignColo
    urs
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onBlockRightClick(SignListen
    er.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-26 07:28:19 [SEVERE] Could not pass event BLOCK_RIGHTCLICKED to SignColo
    urs
    java.lang.NullPointerException
    at com.edwardhand.commandsigns.SignListener.onBlockRightClick(SignListen
    er.java:39)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:232)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:500)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)

    ------------------------
    No matter what /command i put on the sign this happens.
     
  6. Offline

    Edward Hand

    You're not using permissions 2.1 by any chance are you?
     
  7. Offline

    Zankou666

    I am.
    EDIT. Reverted back to Permissions 2.0 and it seems to be working.
    Are you going to be updating your plugin to 2.1 permissions?
     
  8. Offline

    Deadlystrike

    any plans on adding redstone activation as well
     
  9. Offline

    Edward Hand

    It all depends on whether I can get the permissions stuff sorted out. Permissions are in a state of flux at the moment, which is making it hard to continue. But I would like to add the option of redstone activated signs, yes.
     
  10. Offline

    imaxorz

    This is an awesome plug in!

    I'm using it to make shops with DynamicMarket. Its a good match.

    I too would love to see the ability for players who do not have a permission still be able to execute sign commands as long they have permission for that. This way I can take away /shop buy and sell and force people to come to physical locations, making the game more interesting :)

    Thanks for the great plug in!
     
  11. Offline

    ZachBora

    Please make this work with permissions 2.4! I've been trying to get sign commands to work since friday :(
    The [Free] signs from Essentials arent working for colored wool and other items with damage.
     
  12. Offline

    Edward Hand

    Try 2.5. That's been working alright for me.
     
  13. Offline

    ZachBora

    My users get the message "You go not have permission to give items". I tried both /give 1 64 and /item 1 64

    Could another plugin conflict? I'm only using permissions for permission stuff.
     
  14. Offline

    Edward Hand

    You cannot currently use signs to run commands you wouldn't ordinarily be able to use in chat. I'm 2/3 of the way through writing the next version of the plugin, which has the possibility of overriding permissions for signs (so watch this space).
     
  15. Offline

    SSA

    Awesome, can't wait. Are you going to add a <player> and/or other variables as well?
    You rock!
     
  16. Offline

    Edward Hand

    So far I've got <X> <Y> <Z> and <NAME> and I've got a customisable permissions override and the ability to change [command] to something else. I just need to finish up the security on the sign placements, do a little more persmissions stuff and make them restone activateable.
     
  17. Offline

    SSA

    Awesome, can't wait. If you need help testing let me know.
     
  18. Offline

    imaxorz

    Super excited for the next release!
     
  19. Offline

    qwert1484

    speaking of the new release, is there any chance of an ETA? Or a beta?
     
  20. Offline

    ZachBora

    Edward if you need testers I could really use a version that lets people do /item or /give
     
  21. Offline

    LucidLethargy

    Is there a way to make this fire off server commands that users normally don't have permissions to? I really would love to do that as I used to run repairshops with Signcommands (hmod) just like that. It allows the use of localized commands, preventing the use of global commands!

    Anyway that's my big suggestion, if this plugin could do that you would be my hero!!
     
  22. Offline

    Edward Hand

    It's coming. Could you explain to me what you mean by 'localised commands'?
     
  23. Offline

    ZachBora

    On hmod there was ServerDo:, AllDo: and some other things. ServerDo I think was like what an op would be able to do, thus making anyone be able to /save-all and /say etc.
     
  24. Offline

    mrtankjump

    Can't wait until this works on commands that the user doesn't have permission to use. Would make sign shops possible for DynamicShop, forcing an area restriction. Somehow making this use an NPC instead of a sign would be AMAZING. Figure out a way to have a chat dialogue issue commands based on inputs to an NPC and you would be worshiped by the RP minecrafters. Would totally donate for that.
     
  25. hmm... so you say we'll be able to do something like <player> soon, with redstone activation?

    This would be PERFECT for my server... users must first pass a 'test' before they can get out of spawn (basically acknowledging that they read the rules). Once they leave the area, they can press a button to be 'free', and TP out of the spawn, and be changed to the default group with permissions
     
  26. Offline

    pigrocket

    I remember the hmod plguin like this having an option where if an op placed a sign with commands that only they could do, and anyone could use them. This let me make a big tower on my server where people could go to change the time from day to night. Would that be possible with this?
     
  27. Offline

    Clay Michaels

    uploaded .jar to /plugins, but nothing happens when I make a sign. Color doesn't change, so I assume the listener isn't working. Is there something else I need to do?
     
  28. the sign colors are a different mod... this mod only does the commands (i believe)
     
  29. Offline

    LucidLethargy

    Oh i'm sorry this is so delayed, I take global commands like AutoRepair's /rep or /repair and I deny them to everyone on the server. Then I use this plugin (or SignCommands from hmod) to fire off server commands people don't usually have access to. This makes previously global commands "localized". Sorry if my wording threw you off -.-

    Can't wait to see server commands for this reason! It makes this plugin invaluable, and I think if half the people on bukkit knew about this method this thread would be flooded!

    P.S. I love how your plugin, unlike SignCommands from hmod, uses a colored identifier! Even for my idea it's nice because it lets my guys know it's special, and thus something they can click on! Great work in general!

    P.P.S. This plugin works perfectly with the newest recommended bukkit, version 493!
     
  30. Offline

    MacVaultDweller

    What are you using for a spawn border that allows teleport out?
    --- merged: Mar 7, 2011 4:14 AM ---
    Is it possible to make this default to ops.txt if no permissions plugin is found?
     

Share This Page