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
Could you integrate a day / night feature?
I miss "Glowstone Lanterns" so much... http://dev.bukkit.org/bukkit-plugins/glowstone-lanterns/
Is 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.
@brisingrhawk1994
BukkitDev has just approved it! LampControl 2.5.3
AWESOME PLUGIN******
will you be updating to 1.8 soon ?
@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. :)
@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.
Hey, 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 )
@jacklink01
Could you add interaction compatible with protect plugin? (ex: residence ,worldguard etc)
@FlipperSon98
It does work on 1.7.9 if you use the version that says For 1.7.9-R1.0 on the right. :)
Hey Can you make it work with Spigot 1.7.9 please?
Awesome 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?
@jacklink01
Thanks much! Waiting for the approval then.
@twisted067
I just uploaded it! It should be approved in a day or so.
@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.
@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.
Any chance this could be updated for 1.7.10? Using Spigot
@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)
@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.
@jacklink01
usePermissions: false
anyway, i found for some reason
e.getPlayer().hasPermission("lampcontrol.hand")
gottrue
even 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