SignMod
SignMod - Simple Modifications to signs with permission support!
SignMod is a plugin made for your server to look pretty! You can easily change the colors on signs with & or #, just like the title says! You can also set permissions so only a certain group can color a sign.
Current Features
- Support for Bukkit Permissions
- Players can color signs with & and #
- Players can create, modify, color and delete signs with commands
Permissions
- signmod.e - Allows the user to color a sign yellow
- signmod.* - Allow user to use all colors
- signmod.create - Allows use of the /signmod create command
- signmod.modify - Allows use of the /signmod modify command
- signmod.delete - Allows use of the /signmod delete command
- signmod.setcolor - Allows use of the /signmod color command
Colors and Codes for Colors
- &0 - Black
- &1 - Dark Blue
- &2 - Dark Green
- &3 - Dark Aqua
- &4 - Dark Red
- &5 - Purple
- &6 - Gold
- &7 - Gray
- &8 - Dark Gray
- &9 - Indigo
- &a - Bright Green
- &b - Aqua
- &c - Red
- &d - Pink
- &e - Yellow
- &f - White
- &l - Bold
- &n - Underline
- &k - Random letters
- &o - Italics
- &m - Strikethrough
NOTE: You can also use # in substitute for &
ToDo List
- Add commands to color signs - 50%
- Economy system; make users pay to color their sign
- Storing items in signs (like ChestShop) to sell (this could take some time).
If you have any other reccomendations for things to add, please don't bother to let me know with a ticket!
Plugin In Action
I have many examples of my plugin in action and functioning properly on my Minecraft server. Check it out: mc.fragunited.net
Changelog
- Version 1.3.2 Updated for 1.5.2 Beta and fixed permission issues.
- Version 1.3 Updated for 1.5.1 Dev and added basic commands.
- Version 1.2 Updated for 1.4.7 RB and added extra text modifications.
- Version 1.1 Updated for 1.2.4 RB and added # functionality. Also changed permissions to signmod and cleaned up code.
- Version 1.0 Updated for Bukkit 1.2.3
NOTE: I am looking for someone to help manage the plugin. I need developers as well as people to write documentation. Version 1.4 of the plugin is not far away.
Using version 1.3.2, looks like there is a problem in function "onCommand". Here is an error log:
[19:25:59 INFO]: Adambean issued server command: /signmod modify 3 &eWeapons
[19:25:59 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'signmod' in plugin SignMod v1.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:199) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:544) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:932) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] Caused by: java.lang.IllegalArgumentException: Plugin already initialized! at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:98) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.fragunited.signmod.SignMod.<init>(SignMod.java:12) [?:?] at net.fragunited.signmod.SignModCommands.onCommand(SignModCommands.java:22) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] ... 13 more Caused by: java.lang.IllegalStateException: Initial initialization at org.bukkit.plugin.java.PluginClassLoader.initialize(PluginClassLoader.java:101) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:59) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.fragunited.signmod.SignMod.<init>(SignMod.java:12) [?:?] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.7.0_45] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [?:1.7.0_45] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [?:1.7.0_45] at java.lang.reflect.Constructor.newInstance(Unknown Source) [?:1.7.0_45] at java.lang.Class.newInstance(Unknown Source) [?:1.7.0_45] at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:52) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:133) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:308) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at co.technius.PluginManager.PluginControl.loadPlugin(PluginControl.java:289) [?:?] at co.technius.PluginManager.PMCommandExecutor.loadCmd(PMCommandExecutor.java:448) [?:?] at co.technius.PluginManager.PMCommandExecutor.onCommand(PMCommandExecutor.java:497) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:199) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:544) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:531) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251) [craftbukkit.jar:git-Bukkit-1.7.2-R0.2-15-g2f3dbd3-b2992jnks] ... 3 more
Would be great if you could check that if bold and a color is used (&l&6) that you get the bold colour. If that's even possible...
When using /signmod modify, if you try to use 15 (the max) characters, it tells you you are using too many.
Here is my example:
/signmod modify 4 &4&lPvP Allowed
'&4&lPvP Allowed' is 15 characters, including the space and format codes. I could normally type this in manually, but I get the "Maximum Characters: 15" message when I try to use the command.
Please fix the character count!
I believe 1.6 is not properly showing colored signs due to a lighting bug. Ad different angles signs color is proper.
Does not seem to be working with 1.6
Everyone on my server uses & to activate the color code and we need # to be turned off. # is interfering with our chest shops as some of the item codes end in #10 for example. So is there anyway i can do that?
@ks07
Sorry, but not as of now.
Hi prattcmp, have you got source up anywhere? Github perhaps?
Thanks for fast work. ;)
@iBaer
I will be working on fixing this today. Expect a fixed version some time this week.
EDIT: Fixed in the latest update.
I've got the same problem as devman45. I use the newst Signmod version + 1.5.2 craftbukkit build (guess it didn't work with 1.5.1 as well, I used op there). Permission nodes are just wrong and don't have any effect at all :o
Ther is some bug in the permissions, only ops can use /signmod modify at all!
@kilorat2 Nope. Permission check is performed every time the command is run. What problems are you running into with it exactly? I suggest submitting a ticket.
I tried using this, but I am guessing the permissions check is done at login. This makes it so I can't do world specific permissions, so I can't use this plugin.
I like it soooooooooooooooooooooooooo much :D
@LubangDalam
I don't see what you mean.
It is same like essentials right?? i look it same... just this add plugin
@Wrath_3109
Sorry it took me so long, but it's updated. I just found the source code for this again. I will be following the todo as planned.
== PLEASE UPDATE TO CB 1.4.7! ==
could you add supoort for the other text formatting?
like &l, &k, &o? i use them quitea lot and I'd love to see those added