SignCodePad
SignCodePad
This is a plugin to create a codepad on a wallsign. It works without any client modification.
This Plugin adds a codepad to minecraft based on minecraft wallsigns. If you've entered the correct code, a redstonetorch is powered and you can activate any sort of mechanism for example open an door or pushing some piston. If you've entered the wrong code an other redstonetorch can be powered and you can for example remove the floor with pistons to let the player fall in lava or something like that. The positions of the redstone torches are configurable when creating the sign. The time how long the redstonetorch should be activate is also configurable. When the redstonetorchs aren't powered there are normal torchs in there position to simply helping you to build your redstone mechanism. A SignCodePad can only be destroyed by the owner or by admins with the required permission.
Features:
- Full functional CodePad
- No file configuration needed
- Positions of torchs configurable
- Codes are saved as MD5
- Powers RedStone Mechanism
- SuperPermis support
- Calibration for different types of Texturepacks (Please read Texturepacks and Calibration)
Download:
Instalation:
To install the plugin simply download and move the jar file into your plugins folder.
Permissions: Changed in verion 2.0.3
- signcodepad.use (Permission to use a SignCodePad an the SignCodePad Calibration)[User]
- signcodepad.create (Permission to create a SignCodePad)[User]
- signcodepad.replaceblock (Permission to replace a not air block with a torch)[Admin]
- signcodepad.masterdestroy (Permission to destroy SignCodePads without being the owner)[Admin]
HowTo:
Calibration
HowTo Normal
HowTo Advanced
Known issues:
- None known
Changelog:
V2.2.0
- Updated To 1.6.2
V2.1.0
- Updated To 1.1-R6 and 1.2.3-R0.2
- Added block locking. Enter B in the second line and The Code to The third Line Of a sign Above the block that should be locked.
V2.0.3
- Finally fixed NoLagg bug
- Fixed Permissions
- You need to write the permission nodes to lower case: signcodepad
V2.0.2
- Fixed version 2.0.1
V2.0.1
- Fixed noLag Bug
- Added permissions in lower case
- Fixed blockbreaking behind signs
- Improved getWorld by string
V2.0
- Added advanced calibration by CalA
- Block break behind SignCodePad is now blocked
- Fixed NPE with deleted world
- Fixed NPE with the wrong code
- Checks if a SignCodePad exists while loading. If not the entry is removed.
- Torch "generation" is fixed. Only modify not create a torch
- Corrected enable and disable Message
- Changed version in plugin.yml (forgot that the last versions)
- Using default calibration values if user has not calibrated
V1.2.1
- Fixed player can't destroy own sign
V1.2
- Added message if a player created the wrong sign.
- Added * and # to use in Codes.
- Language fix
V1.1
- Added shortcut [SCP] (Thanks to isikerkan for the hint)
- Removed the possibility to create Normal signs as SignCodePad which aren't usable
V1.0.1
- CB 1337
- Bug while saving fixed
V1.0
- Publishing
@davboecki @theask
Can we help troubleshooting in any way? I had PEX installed before using SCP and it was working fine. After your update 2.0.1 I encountered the issue immediately. PEX was never configured, just started.
The changelog says added Permissions in lowercase. When the permission was registered before in uppercase and is now lowercase could that cause the issue on previously registered permissions?
I'm working on a fix. This will come within the next couple of days.
Untill then please use version 2.0.
@Deven1990
Me Too xD
If I build this, this only works the first time. then appears to me, "No Torch to Change" and it is only very briefly on the door. If I want to remove the torch it always goes or she goes away and it's raining too many torches.
translated with google translated
please help
Hmm... I dont know it :P
@davboecki
Tried it again today and does not work :( also there are errors at launch saying the permission nodes that signcodepad is trying to register already is registered (just as theask said below)
so yea, creating signs works well but on server restart the Signs.yml is purged of any signs already created...
@theask
Have the same issue with the new version! Checked PEX but no permissions are there. Checked Plugins dir for double jar but only the recent version is installed (sometimes this issue is caused when a plugin is installed twice eg SCP_1.jar + SCP.jar)
Seemed to work with PEX until yesterday...
Hey!
I have see 2 Buggs: The Torch - I cant remove it... If I break the Block under it the Server crashed... The Sign looks in Spoutcraft very sh*ty... Can you fix that? EDIT: And does it Support PEX?
EDIT2: I Found this... Its Upcase down:
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:192) at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424) java.lang.IllegalArgumentException: The permission signcodepad.create is already defined!
13:38:13 [WARNING] Plugin SignCodePad v2.0 tried to register permission 'signcodepad.create' but it's already registered
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:192) at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424) java.lang.IllegalArgumentException: The permission signcodepad.use is already defined!
13:38:13 [WARNING] Plugin SignCodePad v2.0 tried to register permission 'signcodepad.use' but it's already registered
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:192) at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424) java.lang.IllegalArgumentException: The permission signcodepad.replaceblock is already defined!
13:38:13 [WARNING] Plugin SignCodePad v2.0 tried to register permission 'signcodepad.replaceblock' but it's already registered
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:192) at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424) java.lang.IllegalArgumentException: The permission signcodepad.masterdestroy is already defined!
13:38:13 [WARNING] Plugin SignCodePad v2.0 tried to register permission 'signcodepad.masterdestroy' but it's already registered
at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:192) at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:424) java.lang.IllegalArgumentException: The permission signcodepad.* is already defined!
13:38:13 [WARNING] Plugin SignCodePad v2.0 tried to register permission 'signcodepad.*' but it's already registered
@hiroscho
That was a bug. Is fixed in version 2.0.1.
@firegore
Added Permissions in lower case.
@NODeeJay
Should be fixed now.
@Calraw
Added improved getWorld function with error msg to fix your problem, hopefully.
On the server on which I play, every sign is known as SignCodePad? By this I mean that normal signs are considered SignCodePads. Therefore one must always first take down the sign and then the block. Is that intended or is this a bug?
you MUST! write the PermissionNodes in lowercase otherwise it doesn't worked for me
SCP 2.0 PermissionsEx 1.17
Hi there,
really cool plugin, we use it very often on our servers to protect storage areas and portals. After installing noLagg it get many errors when somebody uses the signs:
It told me to contact the author, so here it is. If I can help in any manner (testing etc) let me know.
Bukkit: 1.0.1-R1 SCP: 2.0 Plugins: Blacksmith, CraftBukkitUpToDate, FalseBookBlock, FalseBookChat, FalseBookCore, FalseBookExtra, FalseBookIC, iConomy, MobileAdmin, SimpleItem, PickBoat, Safe Creeper, SignCodePad, SignLink, SleepNotify, SpawnX, WeatherNews, WeatherSigns, WorldEdit, WorldGuard, dynmap-mobs, Dynmap-WorldGuard, dynmap, mcMMO, NoLagg, Train Carts
Thanks for your help!
Hi again, Seems version 2.0 does not work after restart of server... So I checked the Signs.yml and its empty (of signs) after each restart.. The file is filled when I create new signs but cleared when server starts up again (when scp loads up).
@cky2250
I went back here with the same proble, I read the changelog for 2.0 and noticed a CalA calibration which is exactly what you described... it works fine with this...
many thanks for the plugin davboecki!
well it is not working properly for me even on the minecraft theme. it is off to the left by a lot. I have done the Cal about 2 million times.
Also can you make it so it can open glass(box and pane), along with iron doors. Then this plugin will be a beast. Love the idea of it.
Edit i got an idea. To fix the whole issue about calabration.
-Right click the sign to move the button, then Left click to press the selected button. This may take a bit longer to unlock, but it work for anyone. So what you could do is just put in the config file if the server admin wants this mode on or not. Here is a link to a plugin that has that type of layout in button pressing. http://dev.bukkit.org/server-mods/scrollingmenusign/@davboecki
I kinda figured thats exactly what was going on. Thanks for getting back to me though and seriously, great work on this!
The problem is if i set the torch to a redstonetorch_off it will be set to a redstonetorch_on by the server itself because there is no power on the block behind. if you change a block to a redstonetorch this is automaticly checked. So the easiest way is to set it to a normal torch.
davboecki
Great work on this plug-in, starting to use it quite heavily on my server.
One thing I was curious about:
When the codepad is in its off state, the torch changes to a regular torch which breaks its potential functionality as 2 way anything. What happens if you have your plugin switch the regular torch to the redstone_torch_off item?
I'm sure you're smart and tried that already, wasn't meaning to insult your intelligence or anything, was just curious.
It is not the sign texture itself but the font what cause the problem with the calibration.
I don't know any way to change the font with spout without changing the texturepack.
Tell me when i am wrong.
And for creative mode would something like a doubleclick to destroy the sign be ok?
davboecki
Couldnt you integrate spout to let the signs use the normal texture ?