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 Jun 19, 2021Is this plugin being supported still?
Does anyone know of a LiftSign plugin that works with 1.17 This one worked on 1.16.5 but now doesn't seem to work
-
View User Profile
-
Send Message
Posted Apr 30, 2016I gave my Admins perms but it wont let them use the signs?
-
View User Profile
-
Send Message
Posted Dec 20, 2014@Marsh707:
Marsh. No one has time to answer you after 2 minutes. So calm down. The creator will get to you when ever he's ready...
-
View User Profile
-
Send Message
Posted Nov 18, 2014@Marsh707
1 - Calm Down
2 - All you should have to do is put the jar in your plugin folders provided you're using bukkit.
-
View User Profile
-
Send Message
Posted Sep 26, 2014HOW DO YOU INSTALL IT !!!!!!!
-
View User Profile
-
Send Message
Posted Sep 26, 2014How do you install it?
-
View User Profile
-
Send Message
Posted Sep 19, 2014can the dev add [floor 1] or something like thad?
-
View User Profile
-
Send Message
Posted Apr 8, 2017Actually, on the first line of the sign, or any other line obviously other than the 2nd line you can write text, so example: Floor 1
[Lift up]
-
View User Profile
-
Send Message
Posted May 30, 2014@akamassassin
It works perfectly with 1.7.9 Not every plugin needs to update with minecraft/bukkit updates. Just try it before demanding an update.
-
View User Profile
-
Send Message
Posted Mar 30, 2014update it
-
View User Profile
-
Send Message
Posted Jan 13, 2014lol andune is right. Trying to shave 1 mb of memory off a java memory black hole is a bit like a fat woman ordering diet coke with her mega meal at mcdonalds
-
View User Profile
-
Send Message
Posted Dec 27, 2013@OldPrelude
How do you make performance decisions for your server? Do you "gut feel" everything? Or do you test metrics and facts? If the former, you can stop posting here, I have no interest in engaging in a performance dialog without factual performance numbers. If the latter, then if you would kindly post your factual concerns, I will gladly take them under consideration. Since you haven't posted any yet, I'll share my own numbers:
Vanilla Craftbukkit 1.7.2 on my Linux server running Sun Java 1.7.0_25 (Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode)) with no plugins consumes 46.4MB of PermGen after startup. Adding just LiftSign increases that to 49.9MB, giving a total memory "weight" of 3.1MB. Installing CraftBook for comparison (which also requires WorldEdit), gives a total startup footprint of 52.2MB, or 5.4MB of memory "weight".
And both of these numbers are completely moot on a small server where memory is not a concern or on a large server where you have more than enough memory and are CPU limited instead. If you happen to be on a budget memory server where you believe the difference between a 3MB in-memory plugin and a theoretical smaller 1MB in-memory plugin justifies the cost/time of hiring a developer to write said smaller plugin, then please feel free to do so. Assuming you are "gut feel" performance optimising, you're just swinging blindly and not actually achieving any significant memory or performance gains, but I won't stop you. Best of luck.
-
View User Profile
-
Send Message
Posted Dec 26, 2013point taken and noted. I just installed it. but im not sure i like it. you wouldnt be that developer that would rewrite this for a fee?
-
View User Profile
-
Send Message
Posted Dec 26, 2013@bennerkaj
I tested a few lift signs with the above configuration and it works fine for me. Make sure you set the permissions correctly.
-
View User Profile
-
Send Message
Posted Dec 26, 2013@OldPrelude
LiftSign will not slow down your server, in fact, it is specifically coded to cache sign data so that it is very efficient. CPU is the single most precious resource on most MC servers and all my plugins are coded to preserve CPU, trading off a little bit of RAM if necessary to do so. There are servers out there where RAM is tighter than CPU, if that's you and you've done some analysis to determine that LiftSign is so big that 1MB in memory is preventing that 20th player from logging in, then maybe it's not for you.
Keep in mind, an average player takes between 50-80MB in chunks and other plugin data, so LiftSign is roughly equivalent to <2% of one player. If you had 50 other plugins just like LiftSign, that's one total less player you would be able to have if we assume you're on a memory-maxed server. But if you have 50 other plugins and you're complaining about memory, then you're using the wrong server for the job.
Last note, I write plugins for fun. If you want a "commercially efficient" plugin, then you should hire a developer at developer rates to build one for you. LiftSign just so happens to be "commercially efficient" anyway, but I didn't write it to sell into a commercial market, so you're barking up the wrong tree if you're trying to find commercial plugins.
-
View User Profile
-
Send Message
Posted Dec 25, 2013Man i beg you. Can you just make a lightweigth version and cut all the coding policy? This is 1.X Megabytes. Thats crazy!!! I agree when you say it should only be arround 20kb.
I totaly respect and apriciate your point in creating this plugin, and i would love to start using it for the same reasons you mention. But i cannot compromise my server speed because its got to load a huge heavy plugin. It completely defeats the purpose of cutting out craftbook i think altough technicaly thats not entiraly true.
Anyhows, would you please consider it? As for a practice you made your point. Now lets move on to the next goal, make it commercialy efficient for everyone and a tiny filesize :(?
-
View User Profile
-
Send Message
Posted Dec 2, 2013is this compatible with 1.7.2
if not i hope you will updatet it, it is a really awesom plugin
-
View User Profile
-
Send Message
Posted Aug 17, 2013@ChaosThosis
You need to enable the permissions, which are described in the project description above. If you do not currently use a permissions system, then you can read about them here:
http://wiki.bukkit.org/Understanding_Permissions
Alternately, you can edit the LiftSign.jar and edit the 'plugin.yml' and change the default from 'op' to 'true'.
-
View User Profile
-
Send Message
Posted Aug 17, 2013How do I make it so Non-Op's can use the lifts? My members can not go up and down on lifts.
-
View User Profile
-
Send Message
Posted Aug 5, 2013@craftik7
More power to you, though not sure why you came by here to tell me about it.
I wrote this because the original SignLift plugin was not open source and I won't run closed source plugins on my server. The author of that plugin didn't want to open source his code when I asked him about it, as I was volunteering to fix some bugs. Perfectly within his rights not to, but with so many good open source plugins out there and having found backdoors and severe lag-inducing plugins in the past (that were obviously so after reviewing the code), I won't run them on my server. You're free to choose differently.
I understand that the SignLift author has since changed his stance and open sourced his plugin, but this one was already written and I'm happy with how it works so I continue to use it myself and support it. If you still are having success and like the SignLift plugin, I'm glad for you, please go post on that plugin's thread to let the author know, I'm sure he'll be happy to hear it. It really has nothing to do with this plugin.