LiftSign
Lift Signs is an open source plugin that allows your users to create "[Lift up]" and "[Lift down]" signs much like CraftBook. The point of this plugin is to provide this simple capability as a single plugin for those who want it without everything else that comes with CraftBook. Further this plugin is intentionally provided as open source so you are free to download, view and modify the source (GPL license), which is actually the primary reason it was written since the only other alternative today (SignLift) is a closed source plugin.
Installation
- Download LiftSign.jar and put into your plugins directory
- Restart or live-load using the excellent PlugMan or PluginReloader plugins
- Add permissions for your users (liftsign.normal.use and liftsign.normal.create)
Usage
Your users can create "[Lift up]", "[Lift down]" and "[Lift]" signs by putting those strings on the second line of the sign. Since this is designed to function exactly the same as CraftBook elevators, please refer to the CraftBook elevator wiki for examples.
Youtube demo video, courtesy of @IngrownPenguin:
Dev builds
- Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
- Jenkins
Why is the plugin file so big?
The basic reason is because I care more about good development practices and a maintainable plugin than I do about download size in the current age of fast networks.
LiftSign uses a development pattern known as Inversion Of Control (IoC) to make its code very flexible and easily testable. The use of the Google Guice IoC library adds size to shade into the plugin - the actual plugin code is only 20Kb, but the included libraries make it larger when shaded. The upshot is LiftSign uses well-tested common libraries and thanks to IoC making it easier to write unit tests, its own code is also well-tested at 72% unit test coverage; most plugins don't have any unit tests at all. (LiftSign code stats available here)
Source code
Click on the repository tab to find the github link.
@andune
that's odd, it worked now lol - Maybe it was because I dropped the plugin in and did a reload and this time around I actually stopped and restarted the server? I'll post if it acts up again. Thanks for this awesome plugin :)
@CoasterCrazy
Here is what I see when starting them both up together:
So you'll have to provide more information than "stopped working". Please open a ticket here and provide any log files, stack traces you see, etc. Or if it's simply in-game behavior, how to reproduce said issue. I've briefly looked over the source of CreeperHeal and there is nothing obvious that would be in conflict between these two plugins.
LiftSign causes an important plugin to stop working, this one: http://dev.bukkit.org/server-mods/creeperheal-nitnelave/
I was wondering if you could check out and maybe suggest a fix? Thanks!
v0.3 is released which fixes the message issue and the Vault/PEX issue. Direct link here to use until it's approved by Bukkit mods.
@Presentmaster3
Sorry about the lift sign error, I just looked at the code and it's an easy fix. I'll fix the PEX issue someone else mentioned as well and get a new release out soon.
@VOTProductions: I've got the same error, very annoying! Please fix!
Seems to conflict with WebPortal
Hi, I'm using Vault, and , LiftSign is faking a PermissionsEx, and making Vault bring up an error.
It just says Lift sign has no valid tagret sign
@JustazG
Maybe your Users don't have the Permissions to use or create a lift? "Add permissions for your users (liftsign.normal.use and liftsign.normal.create)"
I have a problem If the player clicks on the sign ir writes % Red% no permissions and if the op clicks op takes to top where is the problem plz help? Sorry about my bad english
@VOTProductions
Yes, i also need this update :)
Hello, Can you please remove the "Lift sign has no valid target" message? Because everyone on the server is receiving it when they click a sign, even signs that haven't got [Lift] on them. Thanks!
@dustyhacker
Hmm OK I will consider the feature; please open an enhancement ticket describing the intended use case with as much detail as you can. I tend to lose things in comment streams but I check tickets pretty regularly. (Also LiftSign is open source, so if you know Java feel free to add the feature and push it back to me)
Regarding mobbounty and BOSEconomy, I find it unlikely LiftSign has anything to do with that. LiftSign hooks exactly 3 Bukkit events: BlockBreakEvent (to detect signs being torn down), SignChangeEvent (to detect lift signs being made) and PlayerInteractEvent, to detect players clicking on signs.
The only one that would seem to even be remotely possible to be related to kills/bounties is PlayerInteractEvent, and this method exits immediately if it wasn't a right-click interact event. If it was a right click, it looks to see if the clicked block was a sign and checks the liftsign stuff if so, otherwise it exits.
That's all LiftSign does, it's very simple.
I'm not sure what troubleshooting you've done to arrive at the conclusion LiftSign is breaking the other two, but if you believe that is the case, please setup a minimal working test environment with just the plugins in question (BOS, mobbountyreloaded and LiftSign) and confirm that adding/removing LiftSign.jar to that environment "breaks" the other two. If confirmed, please ZIP & upload the plugins directory from that test environment and I will download it and try to reproduce.
@andune
I "believe" it was the direct redstone event as I never actually used something like a clock and certainly the only setups i tested/witnesses were direct related.
Also i'm come across an odd error, we use mobbountyreloaded (along with vault and BOSEconomy) and for some reason liftsign was stopping the awarding of money for kills, I tested with all my plugins and liftsign was the only one to cause that. Not sure why, but I thought i'd better give you heads up about it.
@dustyhacker
It certainly would be possible, however I'm not quite sure how that's supposed to work. A redstone event isn't necessarily triggered by a player (a timed event, for example), so how do you know which player to teleport and when? Or is it specifically only supposed to work on direct redstone events (such as a button press on the opposite block face)?
@ervik1996
I do not help with permissions. Please read the documentation for your permissions plugin of choice. Also note that liftsign defaults permissions to 'op', so if you are unable to figure out permissions, anyone with op can still use LiftSigns.
Good luck.
hi. i'm new to bukkit and i cant use permission. can someone help me install this plugin. it says that i have to write liftsign.normal.use and liftsign.normal.create and i am using bpermission and the files is config custom_nodes groups mirrors tracks users
please help
This works as a dream! Much better than bLift and AsknElevators!
Yup, works like a dream now. Only one small thing, the "other" plugin let the signs be activated by a button press (usually on the back of the block the sign was on)
Would this be possible to add into this one too?