SignUtilities
SignUtilities
SignUtilities provides useful commands and other features for signs.
Features
- Change text color on signs via the /setcolor command or using &4Red text for example.
- Copy and paste text on signs. You can even copy and paste one line at a time.
- A news system. Add news to your news paper and players can right-click on the sign to read it.
- Command signs - Enter [cmd] on the first line of a sign then the command with the arguments on the other lines as if writing it in the chat.
- Spawn minecarts or boats from a chest.
- Activate signs with redstone.
- More...
Types of Signs
Color Reference
config.yml
Commands and Permissions
All permissions default to true unless otherwise specified. Currently only signutilities.commands.snewsp for the /snewsp command is false meaning if you want players to be able to edit all news papers (not just their own) give them this permission.
Command | Permission | Description |
---|---|---|
signutilities.* | Gives access to most SignUtilities features | |
signutilities.commands.* | Gives access to most SignUtilities commands | |
signutilities.signs.* | Gives access to create and use all types of signs | |
signutilities.signs.news.* | Gives access to create and use news signs | |
signutilities.signs.cmd.* | Gives access to create and use cmd signs | |
signutilities.signs.web.* | Gives access to create and use web signs | |
signutilities.signs.activator.* | Gives access to create and use activator signs | |
signutilities.signs.minecart.* | Gives access to create and use minecart signs | |
signutilities.signs.boat.* | Gives access to create and use boat signs | |
signutilities.signs.news.create | Allow the player to create a news sign | |
signutilities.signs.news.use | Allow the player to use the news sign | |
signutilities.signs.cmd.create | Gives access to the creation of classic cmd signs | |
signutilities.signs.cmd.use | Gives access to the use of classic cmd signs | |
signutilities.signs.cmd.custom.create | Gives access to the creation of custom cmd signs | |
signutilities.signs.cmd.custom.use | Gives access to the use of custom cmd signs | |
signutilities.signs.web.create | Gives access to the creation of classic cmd signs | |
signutilities.signs.web.use | Gives access to the use of classic cmd signs | |
signutilities.signs.activator.create | Gives access to the creation of activator signs | |
signutilities.signs.activator.use | Gives access to the use of activator signs | |
signutilities.signs.minecart.create | Gives access to the creation of minecart signs | |
signutilities.signs.minecart.use | Gives access to the use of minecart signs | |
signutilities.signs.boat.create | Gives access to the creation of boat signs | |
signutilities.signs.boat.use | Gives access to the use of boat signs | |
/setcolor <color> [line #] | signutilities.commands.setcolor | Set the color of specified line. If no line is given the full sign is colored. |
/settext [line #] <text> | signutilities.commands.settext | Set the text on the line # specified. If no line # is given the full sign will be edited. Use a ; (semicolon) in the text for the next line. |
/scopy [line #s] | signutilities.commands.scopy | Copy the content of a sign. Add numbers as arguements to copy specific lines. i.e. /scopy 1 3 to copy lines 1 and 3. |
/spaste [line #] | signutilities.commands.spaste | Paste the copied content to a sign. If only one line has been copied you can enter a line number to paste it to. |
/swa <add/del> | signutilities.commands.wireless | Add or remove a wireless connection between a sign and an activator (Button, plate, lever). |
/snews <add/del> <name> <text> | signutilities.commands.snews | Add or remove a news item from your newspaper. |
/snewsp <add/del> <NewsPaperName> <name> <text> | signutilities.commands.snewsp | Same as /snews but allow to change any newspaper. Defaults to false. |
Source
Forked with permission from the original SignUtilities by timcolonel.
I just uploaded an update which hopefully fixes the issues people reported and also adds a block break/place simulation to check if players can break/place where the sign is to prevent them from editing it. There was a check for editing text with WorldGuard before but now it should do every plugin and every command the player can do which it didn't before.
Please let me know if you find any issues. Thanks =)
@Etsija
I will fix that. Can you please tell me what the exact steps are to reproduce that error?
@Etsija
All the commands are listed above with instructions on how to use them. Simply right click a sign to select it and do /scopy then right click another sign to select it and do /spaste. Read the command descriptions above for more details.
Would it be possible to hand out at least minimal user instructions for the normal use of this plugin? By clicking the signs here and there and trial and error, I think I have managed to do a "copy". No "paste", so far. Guessing blindly is never that much fun, you know.
EDIT: Also loads and loads of these Java errors when trying to handle the signs (merely when trying to set up the news system).
... 17 more 08:19:33 [SEVERE] Could not pass event PlayerInteractEvent to SignUtilities v1.15.0b org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:181) at net.minecraft.server.v1_5_R2.PlayerInteractManager.interact(PlayerInteractManager.java:370) at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:632) at com.bergerkiller.bukkit.common.internal.network.CommonPacketHandler$CommonPlayerConnection.a(CommonPacketHandler.java:301) at net.minecraft.server.v1_5_R2.Packet15Place.handle(SourceFile:58) at net.minecraft.server.v1_5_R2.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:110) at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:578) at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:474) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at com.timcolonel.SignUtilities.SignCommands.NewsSign.run(NewsSign.java:63) at com.timcolonel.SignUtilities.Manager.SUSignManager.runSignCommand(SUSignManager.java:59) at com.timcolonel.SignUtilities.Listeners.SUPlayerListener.onPlayerInteract(SUPlayerListener.java:119) at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 17 more
@glaivereinpald
Should work fine with 1.5.1 but I do plan to update somewhat soonish.
update?
@raphy95
no economy plugin found!
See the 3 comments before yours.
Got the same error:
@ryvix
Thanks ryvix. This looks like just the plugin we're looking for!
@CommanderGizmo
I will adjust it to disable the ability to use the economy for required features if it doesn't find one. It would use any economy plugin supported by Vault. For the minecart sign people can charge people to use it.
Hello, thanks for updating this plugin. I am experiencing an issue getting it running on my server. Please see the server log here. It would seem that the plugin continues loading after declaring it isn't going to load.
Why is an economy plugin required? What if we don't want to charge for it's usage? I do have Vault installed, but I didn't see any particular required economy plugins listed.
@shellriegel
Sorry this is because I accidentally compiled it with java 7 (which people should probably use anyway). I am in the middle of adding some more features but once I am done I will upload a java 6 compiled version instead.
ryvix,
When the Bukkit-1.4.6-R0.3-b2586jnks enumerates plugins, SignUtilities.jar throws a severe error, it doesn't appear to load into the server.
2013-01-07 19:32:01 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.6-R0.3-b2586jnks (MC: 1.4.6) (Implementing API version 1.4.6-R0.3)
2013-01-07 19:32:01 [SEVERE] Could not load 'plugins/SignUtilities.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException java.lang.UnsupportedClassVersionError
com/timcolonel/SignUtilities/SignUtilities : Unsupported major.minor version 51.0
I believe you need to recompile your .jar with java version 6
@austin101
I will definitely look into that and see how it goes.
Any chance of supporting custom style of the text such as bold, underline, etc?
I got this plugin to edit my signs but was disappointed when most of my signs had Bold in them and it took the bold out when I changed the color.
Also, I even used /settext [line #] &b&l Text Here Normally on a sign it would make bold aqua color "Text Here" Instead it just makes Aqua "&l Text Here"
Thanks!
@Marium0505
I've been using it and haven't had any errors or complaints yet. I have been meaning to do some more testing and bug fixing so if you find any bugs please let me know =)
Does the plugin work on the most recent beta build of bukkit?
@retricide
The check you might be referring to would happen on the SignChangeEvent. It also actually will do some additional checks when they interact with the sign but I think the colors are converted in the SignChangeEvent. Glad to hear it's working =)
Does this plugin work by checking the sign when a player places it - or does it just check the text when a sign is clicked?
For example, if a plugin auto-generates a sign will it work? Or does it need to be placed to have additional functions?
Edit: It seems to be working...awesome!
I removed the Direct Edit feature completely because it wasn't actually working properly. It would still edit a sign in place but it annoyingly erased all text from the sign and no sort of trickery I tried would make it show up. Using the /settext command is currently the best way to edit a sign without breaking it and placing a new one.
If you want them to add the ability to edit signs directly into Minecraft where it probably should be maybe try posting your thoughts on this topic. http://www.minecraftforum.net/topic/1565561-editing-signs/