SimpleSignEdit
Not satisfied with the mechanics of other sign edit tools, such as requiring the use of commands, I went and threw together a plugin that lets you edit signs simply by right-clicking them with another sign in hand.
Download here. (Older versions available here.)
If you are upgrading from 1.6 or earlier, be sure to set up your database info in the config before you start up your server with the updated plugin.
When you right-click to edit a sign, you can then view and edit the text of the sign just as you would when creating it. You can only edit signs if you are the owner or if they are owned by everyone. To include colours on the sign, use the & character followed by a digit or a letter from A to F. This works both when placing and when editing. If you want to include an & character on the sign, and the plugin interprets it as a colour code, simply double it and the plugin will realize that you don't want it to be converted.
To see who owns a sign, hold a stick in your hand (you can change this to any item in the config file), and right-click the sign. To change who owns a sign if you have permission, hold a feather in your hand (you can change this to any item in the config file), and right-click the sign. Then either type the new owner name into chat, or walk over and punch them. You can also enter the symbols @, #, and * into chat to set the owner to yourself, no-one, or everyone, respectively. You could also edit ownership by editing the config file, but since signs are stored by their location that would not be an easy task.
To configure the items used for setting/viewing the owner of the sign, simply set the "view-owner" or "set-owner" values in the config file to the ID of the item you want to use. You can also change the "allow-stacking" and "break-protect" values if you wish. It's probably a good idea to leave the "signs" section alone since that keeps track of who owns which sign. You can also configure it so that you need to be sneaking (or not sneaking) to edit signs.
Video by Warby579 aka UltiByte:
List of things to maybe do:
- None right now
Is the database just for storing owner information because I use lwc and logblock and donT need it
This plugin works fine on CB 1.0.1-R1, if anyone is wondering.
Would you mind updating this für 1.0.0 ? Thanks
The correct permission is "simplesignedit.colour.red"; this was broken on some versions though, so make sure you have the latest version. (There hasn't been an update in some time, so you probably do, but just make sure. :) )
2011-12-24 19:38:30 [INFO] [SimpleSignEdit] Table found! (Error code was SQL:2003 SQLState: null; feel free to post this line on the forum as it may help me improve the plugin; however, this is not a bug)
And perhaps add to craftbukkituptodate?
Can you Help with permissions color code?
I try all this but not work only
simplesignedit.colour.* works but i dont want all colors
SimpleSignEdit Folder dont created I create it and its works now
I'm fairly sure I've tested on MC1.0 and found it to work. If you're getting errors, could you post a ticket with more information? (Unless there's already a ticket with the same error, i n which case comment on that ticket.)
i got this when i started my server:
10:57:28 [INFO] [SimpleSignEdit] Table found! <Error code was SQL:2003 SQLState:null; feel free to post this line on the forum as it may help me improve the plugin; however, this is not a bug>
hope it helps :)
Hrm no good for the dev builds of 1.0?
Hi, :-)
i use Bukkit 1538 and get this Error:
18:28:29 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
>
18:28:29 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
>
18:28:29 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:161)
>
18:28:29 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:324)
>
18:28:29 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:337)
>
18:28:29 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:165)
>
18:28:29 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:182)
>
18:28:29 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
>
18:28:29 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
>
18:28:29 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
>
18:28:29 [SEVERE] at ca.celticminstrel.signedit.SignEdit.onEnable(SignEdit.java:203)
>
18:28:29 [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:154)
>
18:28:29 [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:582)
>
18:28:29 [SEVERE] at org.sqlite.JDBC.connect(JDBC.java:64)
>
18:28:29 [SEVERE] at org.sqlite.JDBC.createConnection(JDBC.java:77)
>
18:28:29 [SEVERE] at org.sqlite.Conn.<init>(Conn.java:57)
>
18:28:29 [SEVERE] at org.sqlite.Conn.open(Conn.java:103)
>
18:28:29 [SEVERE] java.sql.SQLException: path to 'plugins/SimpleSignEdit/signs.db': '/home/r1_U10371/game/23333_4266_290/minecraft_bukkit/plugins/SimpleSignEdit' does not exist
>
18:28:29 [INFO] Failed to load database from 'jdbc:sqlite:plugins/SimpleSignEdit/signs.db'!
>
18:28:29 [INFO] SimpleSignEdit v1.8.1 enabled.
Can you Fix it, and upgrade for Bukkit 1538?
It keeps on throwing errors at me like: Could not pass PLAYER_INTERACT to SimpleSignEdit
I think there's an auto-save parameter in the config which you need to change to false if you want to be able to edit the config without restarting the server. (Obviously you need to change this while the server's not running, but once it's changed, future changes can be made with just a /reload.)
@Celtic_Minstrel
I just re-tested this when nobody was on my server, and it turns out I had to set break-protect to True while the server was off altogether, because modifying it and reloading plugins rewrote it to false again. It's working, and sorry for the mixup on my behalf, Excellent work on a simple, and effective plugin!
Short answer: I would guess that this is probably not compatible with Lockette or Alerter, unless one of them accesses my API. I'm not sure though.
@Chromana
This won't prevent users from editing signs created with Lockette (unless Lockette accesses my API); however, the player who placed the sign would be the only one who can edit it, so I think the effect would be pretty much the same.
@Pyromancer3D
If you set break-protect to true, then signs can be broken only by their owner, which is normally the person who placed them.
I'm with Chromana, only I'm using Alerter, which also incorporates the lockette system of
Those signs are unbreakable, but I would like it if all signs owned by players became unbreakable via this plugin, but it seems that I can always break them no matter what (as well as all my users with no permissions granted)
Hi. Short Version: Is this compatible with Lockette (and Deadbolt etc) so that any user can edit any sign except for Lockette signs?
Longer Version: Lockette locks doors/chests/furnaces etc by having the following things written on the sign:
The person on the 2nd line is the one who owns the lock sign. I'd also want to have break-protect set to false. Is this possible?
Existing &'s on a sign will be converted to &&, yes; this is because && is converted to & when saving the sign to allow you to include an & on the sign.
if i edit a sign he makes a double &-sign i.e "&2Hello" gets "&&2Hello"
Hello! I found your plugin unbelievably useful and so decided to make a Video about it!
http:www.youtube.com/watch?v=J5CkTl1Dc90
Feel free to use it how you like :)
PS. I'm posting it on both dev and plugins just in case you only check one :)