Command Signs
Make signs run commands!
CommandSigns allows you to assign any commands to any block making it easier for your players to do their command-based business!
Required Dependency
- Vault is required for CommandSigns. You can get it here: Vault
Features
- Run commands from signs or any other block with a single click
- Signs can have any other text on them, the commands are linked to the sign behind the scenes
- Elevate user permissions to run any command you choose
- Restrict who can use the sign and when
- Activate your CommandSigns with redstone
How To Use
- Place a sign (or block) and add any writing you want
- Add lines to your clipboard with /commandsigns line<number> <\text or /command>
- Right click the block to make it a CommandSign
Basic Tutorial
Advanced Usage (using money and permissions)
Reference Guide
Auto Updating
CommandSigns automatically checks for updates in order to keep your server up to date with the latest bug fixes! You can set CommandSigns to update completely automatically in config.yml, or to manually update, type /commandsigns update.
Videos
Video by luigi_vampa
Links
View Source on GitHub Feel free to contribute!
Help/Support
If you encounter a problem and it's not something covered by the tutorials and reference guide, please submit a trouble ticket using Bukkit's ticket requester in the menu above.
If it's something simple, post a comment and CJ will get back to you.
-
View User Profile
-
Send Message
Posted May 11, 2012@Jong1
Seems legit enough. (I use mv with no problems) I was just wondering because it might have been loading worlds after cs, causing issues. Hopefully that yml file I sent you works.
-
View User Profile
-
Send Message
Posted May 11, 2012Yes zdb, Multiverse. Latest stable release,
-
View User Profile
-
Send Message
Posted May 11, 2012@Jong1
What plugin do you use for multiworld? (Multiverse, etc.)
Also, be sure to delete/rename signs.dat before using that signs.yml.
-
View User Profile
-
Send Message
Posted May 11, 2012Thanks. I will try later. Inflection definitely exists here.
-
View User Profile
-
Send Message
Posted May 11, 2012@Jong1
Nope. Everything looks fine. I'll import it for you.
NOTE: While importing I got a null due to the world inflection not existing. I just made it but please make sure you have that world.
Here's the file: http://dl.dropbox.com/u/38069635/CommandSigns/signs.yml
-
View User Profile
-
Send Message
Posted May 11, 2012@zonedabone Like to give you a challenge! Did you look at my signs.dat? No clues?
-
View User Profile
-
Send Message
Posted May 11, 2012@Royalgamer06
I added that as a temp feature so you could import your signs and be done. Why do you still have signs to import? Are you making new signs with [command] instead of with the commands?
-
View User Profile
-
Send Message
Posted May 11, 2012@Jong1
The system is designed to import old signs. The error that you're having is on a line that is basically impossible to have an error on...
-
View User Profile
-
Send Message
Posted May 11, 2012I will try tomorrow. But, obviously, being able to import existing signs is vital. Did you look at my signs file? Is there nothing there that helps?
-
View User Profile
-
Send Message
Posted May 11, 2012Can you try backing up and deleting signs.dat and starting again, just to see if it works?
BACK UP.
I can't even see how that error would happen.
-
View User Profile
-
Send Message
Posted May 11, 2012Sorry zdb,
Signs did not work and no yml was created with the test version.
There was an error on loading the pluign:
2012-05-11 16:12:44 [INFO] [CommandSigns] Enabling CommandSigns v1.7.3
2012-05-11 16:12:44 [INFO] [CommandSigns] Loaded 36 messages.
2012-05-11 16:12:44 [INFO] [CommandSigns] Loaded 29 signs
2012-05-11 16:12:44 [SEVERE] Error occurred while enabling CommandSigns v1.7.3 (Is it up to date?)
java.lang.NullPointerException
at org.zonedabone.commandsigns.CommandSigns.saveFile(CommandSigns.java:325)
at org.zonedabone.commandsigns.CommandSigns.loadFile(CommandSigns.java:153)
at org.zonedabone.commandsigns.CommandSigns.onEnable(CommandSigns.java:274)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
and on stopping it:
2012-05-11 16:14:28 [INFO] [CommandSigns] Disabling CommandSigns v1.7.3
2012-05-11 16:14:28 [SEVERE] Error occurred while disabling CommandSigns v1.7.3 (Is it up to date?)
java.lang.NullPointerException
at org.zonedabone.commandsigns.CommandSigns.saveFile(CommandSigns.java:325)
at org.zonedabone.commandsigns.CommandSigns.onDisable(CommandSigns.java:267)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:362)
at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:399)
at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:392)
at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:245)
at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:399)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:479)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Here is my signs.dat file (with user data substituted by "USER":
https://skydrive.live.com/redir.aspx?cid=b418a24494a4ad85&resid=B418A24494A4AD85!237&parid=B418A24494A4AD85!121
-
View User Profile
-
Send Message
Posted May 10, 2012Here's my first iteration of YAML saving. It will auto-import your signs.dat and rename it to signs.bak, as well as making a new signs.yml file. Please note that this is a test release and should only be used if you want to give feedback or are having trouble saving in earlier releases.
http://dl.dropbox.com/u/38069635/CommandSigns/CommandSigns.jar
EDIT: I just wanted to say that this new system is really much better than the old one and like I said it'll make adding more stuff in the future easy. (Since everything is a named key and yaml lets you supply default automagically)
-
View User Profile
-
Send Message
Posted May 10, 2012@Jong1
.yml will make updating the config much easier, because everything will be a named key.
-
View User Profile
-
Send Message
Posted May 10, 2012<<reply 698564="">>
yml would be good! It would make it easier to read and we could bulk edit signs much more easily. Please update the yml on each change too :)
-
View User Profile
-
Send Message
Posted May 9, 2012@zonedabone
Always the same signs it appears, I'd say half in the same area work - half don't.
And it didn't simply reduce the file size, it killed half the signs.
-
View User Profile
-
Send Message
Posted May 9, 2012@bk871
Reverting from the dev to the stable would reduce file size because the new signs have much more data.
@Jong1
Could you shut down the server with a sign and pastebin the contents of the signs.dat before you start up?
EDIT: I think I'll rewrite the saving and loading to use a yml file. (It'll be much cleaner)
-
View User Profile
-
Send Message
Posted May 9, 2012@bk871
Was there any pattern on which signs were removed?
-
View User Profile
-
Send Message
Posted May 9, 2012@prizna123
That will be in 1.8.0.
-
View User Profile
-
Send Message
Posted May 9, 2012I am currently using commandsigns in a way so that I can use them for a quiz, Is it possible to limit how many times a player can use a sign so that I am able to limit how many times a player can take this quiz?
-
View User Profile
-
Send Message
Posted May 9, 2012<<reply 698042="">>
Tried again zdb with your latest from your post below.
Sorry, but same problems
Nothing saved until the server is properly stopped. Maybe this is by design, but it is risky and different to every other plugin I know.
signs.dat is saved when the server stops but the signs do not work after the reboot.
I've reverted to your last official version and that works fine provided I manually run the /cmds save command. Very cool by the way! Just exploring some of the power! Just created a sign with a group permission that removes that permission for that user when it runs, so making a sign that the user can only run once! :) Fantastic