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 function 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 jacklink01 jacklink01 Aug 16, 2014 at 03:04 UTC - 0 likes

    @FlipperSon98: Go

    It does work on 1.7.9 if you use the version that says For 1.7.9-R1.0 on the right. :)

    Last edited Aug 16, 2014 by jacklink01

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

  • Avatar of FlipperSon98 FlipperSon98 Aug 16, 2014 at 03:02 UTC - 0 likes

    Hey Can you make it work with Spigot 1.7.9 please?

    BFAK:90957201,a790ea1a9dc410c41bc518d226bb6c12fa3ff1cb4088d092b37d34e6f5594024

  • Avatar of MinecraftAdmin MinecraftAdmin Aug 15, 2014 at 16:18 UTC - 0 likes

    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?

  • Avatar of twisted067 twisted067 Jul 25, 2014 at 20:38 UTC - 0 likes

    @jacklink01: Go

    Thanks much! Waiting for the approval then.

  • Avatar of jacklink01 jacklink01 Jul 25, 2014 at 20:26 UTC - 0 likes

    @twisted067: Go

    I just uploaded it! It should be approved in a day or so.

  • Avatar of twisted067 twisted067 Jul 25, 2014 at 19:48 UTC - 0 likes

    @jacklink01: Go

    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.

  • Avatar of jacklink01 jacklink01 Jul 25, 2014 at 01:52 UTC - 0 likes

    @AT_HE: Go

    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.

  • Avatar of twisted067 twisted067 Jul 23, 2014 at 21:44 UTC - 0 likes

    Any chance this could be updated for 1.7.10? Using Spigot

    Last edited Jul 23, 2014 by twisted067
  • Avatar of AT_HE AT_HE Jul 10, 2014 at 16:12 UTC - 0 likes

    @jacklink01: Go

    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)

    Last edited Jul 10, 2014 by AT_HE

    <<size 0px>>BFAK:90618214,3eab542c1eff754c4af5ce4a10c20b3a0c125f87a2c5b57bcbc47377527744a3<</size>>

  • Avatar of jacklink01 jacklink01 Jul 10, 2014 at 15:23 UTC - 0 likes

    @AT_HE: Go

    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.

    Last edited Jul 10, 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
Jul 25, 2014
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
LampControl
Downloads
12,566
Recent files

Authors