LampControl

LampControl Logo

LampControl

Turn on lamps by clicking them and with WorldEdit!

LampControl allows players to use a specified item to turn on Redstone Lamps and keep them on. This plugin is lightweight and does not use a database to keep the lamps on. LampControl changes the state of the block to ON in your world and keeps it that way until the block is updated. This means you could even use this plugin to turn on lamps, remove the plugin, and the lamps would still be on.

Features

  • Turn on/off Lamps with item (default: flint/steel)
  • Turn on Lamps with WorldEdit
  • OPs can turn on/off lamps with their hand
  • BONUS: Turn on/off Powered Rails just like lamps
  • Plugin automatically checks for updates

Config

  • Choose the LampControl Item
  • Use permissions or allow everyone to control lamps
  • Enable/Disable pressure plates controlling lamps
  • Enable/Disable OPs turn on lamps with their hand
  • Enable/Disable lamp toggling
  • Enable/Disable powered rail toggling.
  • Enable/Disable automatic update notifications

Commands

All of the commands below will set the lamps in a WorldEdit selection to ON.

  • //lamp
  • /lamp
  • //lc
  • /lc
  • /lampcontrol
  • /<command> [percentage] - Set a percentage of random lamps to be turned ON
  • /<command> off [percentage] - Set a percentage of random lamps to be turned OFF
  • /<command> update - Update to the latest version of LampControl

Permissions

  • lampcontrol.use (Only applies if usePermissions: true)
  • lampcontrol.worldedit (Allows using lamp to turn on lamps)
  • lampcontrol.hand (Allows turning on lamps with an empty hand)
  • lampcontrol.update (Notifies user of updates and allows updating command)

Updater

In the unlikely event that you missed it in the previous four sections, this plugin has an update checking system! It will automatically notify you of available updates for the plugin and let you download them using the command /lc update. You can disable this feature in the config.

TO-DO

  • Allow toggling of lamps so you can turn OFF lamps that are on. DONE!!!
  • Add /lamp off to turn off lamps in a selection DONE!!!
  • Let me know your ideas!

This plugin is updated and improved upon from LumosMaxima

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of GlowTimeHD GlowTimeHD Jan 26, 2015 at 13:11 UTC - 0 likes

    @EarlyReflex: Go

    I know the Plugin NightLamps. I use it. A user has fixed the problem with the pistons. You have to PN him if you want to have the fixed plugin. His name is Mooticus on Spigot.

  • Avatar of EarlyReflex EarlyReflex Jan 21, 2015 at 05:30 UTC - 0 likes

    @jacklink01: Go

    That's a good point. Would it be possible to store that information into the block data itself? The world files would take care of saving the data and all. The plugin would only have to look for these blocks with special data tags. That could be a way.

    Another way would be to make the option toggleable. The plugin would only save lamp data when the option is on. That's not much data (world, x, y, z).

    Or make it another plugin! :D

  • Avatar of jacklink01 jacklink01 Jan 21, 2015 at 04:08 UTC - 0 likes

    @EarlyReflex: Go

    I really like the idea and would like to implement it, but one of the best things about LampControl is that it does not store any data about the lamps so it is lightweight and works very reliably. If I were to implement this, I would have to store data for the plugin to know which lamps need turned on. Unless anyone has some suggestions?

    Last edited Jan 21, 2015 by jacklink01

    Server IP: mine.voidteam.net || Server website: voidteam.net || Admin/Main Operator

  • Avatar of EarlyReflex EarlyReflex Jan 21, 2015 at 00:07 UTC - 0 likes

    I 2nd TomXPro and GlowTimeHD for that feature... StreetLights, qStreetLights, StreetLights Reloaded and CityLanterns simply don't work in Spigot 1.8. NightLamps works just fine, but has a nasty bug that prevents placing pistons... That makes it unuseable, and the author seems to have abandoned it.

    That would be a very welcome feature!

  • Avatar of jacklink01 jacklink01 Dec 22, 2014 at 19:38 UTC - 0 likes

    @Si7VdeR: Go

    You need to be using version 2.5.2. Version 2.5.3 is only for the real Spigot 1.8. Sorry I don't currently provide backwards compatibility.

  • Avatar of Si7VdeR Si7VdeR Dec 22, 2014 at 19:34 UTC - 0 likes

    Lamp Control isn't compatible with this version ... I am using Spigot 1.7.10 + Protocol Hack to make it 1.8 Whhyyyy ?

  • Avatar of GlowTimeHD GlowTimeHD Dec 17, 2014 at 17:31 UTC - 0 likes

    @TomXPro: Go

    Year that would be great! When this feature is added I will use it.

    At this moment I'm using StreetlightsReloaded. It's not up to date but yours is. So think about it.

    PS: Sorry for bad English I'm from Germany :)

  • Avatar of TomXPro TomXPro Dec 14, 2014 at 11:46 UTC - 0 likes

    Could you integrate a day / night feature?

    I miss "Glowstone Lanterns" so much... http://dev.bukkit.org/bukkit-plugins/glowstone-lanterns/

  • Avatar of MarioAlessandroDevs MarioAlessandroDevs Dec 12, 2014 at 02:40 UTC - 0 likes

    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.

  • Avatar of jacklink01 jacklink01 Dec 06, 2014 at 15:09 UTC - 1 like

    @brisingrhawk1994: Go

    BukkitDev has just approved it! LampControl 2.5.3

    Last edited Dec 06, 2014 by jacklink01

How have you been living without this plugin?

  1. Choice:

  1. Results
  2. 0 comments

Facts

Date created
Jul 30, 2013
Categories
Last update
Dec 06, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
LampControl
Downloads
17,002
Recent files

Authors