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.
-
View User Profile
-
Send Message
Posted Sep 29, 2012@Jawz_cod
Already done, newest release runs fine on 1.3.2. Come to think of it, old release did too, sans the aforementioned PEX issue.
-
View User Profile
-
Send Message
Posted Sep 29, 2012Can you update plug-in to 1.3.2 please?
-
View User Profile
-
Send Message
Posted Sep 29, 2012@sirtaj
Yes, this was an inadvertent dependency on PEX from the library that LiftSign uses. It's fixed and released as v0.2.1. Link is in the ticket that Jungalist81 opened if you need it before Bukkit admins approve & syndicate it.
Thanks for the bug report.
-
View User Profile
-
Send Message
Posted Sep 28, 2012@sirtaj
I concur sirtaj.
This plugin yields an error during startup so you are not doing anything bad (tested it myself). It just needs to be fixed and upgraded. I wrote a nice ticket to andune and hopefully he will respond soon :)
-
View User Profile
-
Send Message
Posted Sep 14, 2012I've got what is possibly a very dumb question, so apologies in advance.
I'm using Essentials Group Manager + GroupBridge for permissions, so I disabled all the permissions backends in the LiftSign config.yml up to and including pex (only superperms, perm2-compat and ops are enabled).
However, on startup the plugin throws a large number of "java.lang.ClassNotFoundException: ru.tehkode.permissions.bukkit.PermissionsEx" errors and fails to start up. The server otherwise continues to start and function normally.
Am I doing something wrong? I don't understand the bukkit permissions system particularly well, so I'd appreciate some guidance.
-
View User Profile
-
Send Message
Posted Aug 22, 2012Yep. Or if you find a bug and I'm not available to fix it, you can find/fix it yourself and contribute it back. Or if you want a new feature that I don't want to build, you can add it yourself. Or if you just want to explore the code to see how it works, make sure it's efficient, doesn't have any backdoors, etc, you can do all that too.
Regarding testing, I run this now on my server so in addition to all the unit tests I wrote, it's actively being used and tested by my server population every day. No problems.
-
View User Profile
-
Send Message
Posted Aug 17, 2012Gonna test here in a bit. Been having issues with the same plugin you argued about not being open source. I completely agree with the fact that once that guy goes AWOL then we are all screwed? Forget that, at-least somebody can fix your plugin and re-upload it somewhere if you ever dissapear :P