iamceph
LampControl
Easily control your redstone lamps or rails.
What is LampControl?
LampControl allows you to control your redstone lamps or rails by clicking on it. You don't need redstone to power anything!
This plugin is lightweight and does not use any files or anything like that. That super Java Reflection says that this one is compatible with whole bunch of versions! Performance is faster, new WorldEdit 7.0 is supported and much more features are coming! Awesome, right?
How it works?
Well, if you are OP or you have permissions for lampcontrol.use, you can easily turn your lamps on with just right click. You can also use WorldEdit with commands /lampon (alias /onlamp) or /lampoff (alias /offlamp).
Config file
language: en -> default is en, you can make your own if you want
debug: false
=== Permissions ===
- lampcontrol.command.on - Allows using "/lampcontrol on" command
- lampcontrol.command.off - Allows using "/lampcontrol off" command
- lampcontrol.rightclick - Allows changing states of powerable or lightable blocks with right click on them
Github source: HERE
-
View User Profile
-
Send Message
Posted Dec 14, 2014Could you integrate a day / night feature?
I miss "Glowstone Lanterns" so much... http://dev.bukkit.org/bukkit-plugins/glowstone-lanterns/
-
View User Profile
-
Send Message
Posted Dec 11, 2014Is it possible to add a permission and configurable option to have lamps turn on/off by themselves per the time of the day?
Meaning, if it's day time the lamps will automatically turn off, night time they will turn on or if it's raining they turn on too.
-
View User Profile
-
Send Message
Posted Dec 6, 2014@brisingrhawk1994
BukkitDev has just approved it! LampControl 2.5.3
-
View User Profile
-
Send Message
Posted Dec 6, 2014AWESOME PLUGIN******
-
View User Profile
-
Send Message
Posted Dec 5, 2014will you be updating to 1.8 soon ?
-
View User Profile
-
Send Message
Posted Nov 9, 2014@starg09
I recommend that you use LWC for this. When you lock iron doors with LWC, you can right click to open them and then they stay open until clicked again, but since its locked by you, then only you could close it.
I might look into this when Spigot 1.8 is out. :)
-
View User Profile
-
Send Message
Posted Nov 9, 2014@ZwingGX
It should work with protection plugins. It checks if a user has permission to build before changing the state of the lamp.
It works fine with WorldGuard on my server.
-
View User Profile
-
Send Message
Posted Nov 9, 2014Hey, love your plugin, can't live without it!
I wanted to ask you if you could please add a feature for 1.8: Being able to force an iron trapdoor to "open", for decorative purposes :D
(You could already implement it though, so it works with Carbon until Spigot 1.8 is released :P )
-
View User Profile
-
Send Message
Posted Oct 19, 2014@jacklink01
Could you add interaction compatible with protect plugin? (ex: residence ,worldguard etc)
-
View User Profile
-
Send Message
Posted Aug 15, 2014@FlipperSon98
It does work on 1.7.9 if you use the version that says For 1.7.9-R1.0 on the right. :)
-
View User Profile
-
Send Message
Posted Aug 15, 2014Hey Can you make it work with Spigot 1.7.9 please?
-
View User Profile
-
Send Message
Posted Aug 15, 2014Awesome plugin! The only problem I am finding is that clicking the redstone lamp with a stack of glowstone consumes the entire stack. Is there a way to fix it so it only takes one item?
-
View User Profile
-
Send Message
Posted Jul 25, 2014@jacklink01
Thanks much! Waiting for the approval then.
-
View User Profile
-
Send Message
Posted Jul 25, 2014@twisted067
I just uploaded it! It should be approved in a day or so.
-
View User Profile
-
Send Message
Posted Jul 25, 2014@jacklink01
Hey any chance for 1.7.10 compatibility soon? I get a "This version of Craftbukkit is not compatible! Try /lc update" /lc update just says there is no updates available.
-
View User Profile
-
Send Message
Posted Jul 24, 2014@AT_HE
It is because you are OP and 'opUsesHand' is set to true in the config. Non-op players can't use their hand unless they have the permission.
That permission check for lampcontrol.hand works the way I intended it to.
-
View User Profile
-
Send Message
Posted Jul 23, 2014Any chance this could be updated for 1.7.10? Using Spigot
-
View User Profile
-
Send Message
Posted Jul 10, 2014@jacklink01
i tested like op .. maybe when i am op all permissions gets true by default :/ .. anyway it shouldn't be because when someone needs to test something he gets op, and if all permissions are set to true can be difficult to debug (happened to me)
-
View User Profile
-
Send Message
Posted Jul 10, 2014@AT_HE
Well if you have usePermissions set to false then of course the permissions won't work. lol. If you want to use permissions, then you need usePermissions to be set to true.
EDIT: I think I understand what the issue is though after some more thought. I will look into this when I have time.
-
View User Profile
-
Send Message
Posted Jul 10, 2014@jacklink01
usePermissions: falseanyway, i found for some reason
e.getPlayer().hasPermission("lampcontrol.hand")gottrueeven i have not permissions configuredmy permissions.yml file is empty as default, i haven't even a permission plugin installed! .. tested with cb179r1, try it