Head Lamp
Sadly with the recent changes to the way lighting works in minecraft i've have to make some rather major changes to the code so this plugin is going to be back in alpha till I can work out the rest of the more serious bugs. To the best of my knowledge this wont break a map in any way but use at your own risk
Head Lamp
Ever run out of torches and find yourself lost in the dark? Just too lazy to put up a torch to see what you are mining? Well Head Lamp is the solution you are looking for. Easy to install and simple to use Head Lamp will light your way in even the darkest of holes.
Creates a source of light to follow you around for ease of mining and exploring. Is Currently command based, to active or deactivate type:
/hl enable /hl disable
Features
- Configurable for specific items or always on.
- Permissions
- Extinguishes when the player contacts water.
Config File
- Configures the plugin to emit light only when a specific item is held, a torch for instance. -1 for all the time.
- Item ID: 50
Permissions
By default only op can enable Head Lamp but everyone can disable it. This allows for the server admin to activate Head Lamp for players in the config file while allowing all players to disable it should they want to. Seems to be compatible with PermissionsEx (PEX).
- headlamp.*:
- description: Gives access to all Head Lamp Commands
- children:
- headlamp.enable: true
- headlamp.disable: true
- headlamp.enable:
- description: Allows players to enable Head Lamp.
- default: op
- headlamp.disable:
- description: Allows players to disable Head Lamp.
- default: true
File Submission Status
- All Files are up to date!
Change Log:
Version 0.8
Change code for compatibility with the new bukkit style. Back to alpha.
Version 0.8.1
Temporary fix for null pointer exceptions while switching items with nothing in hand.
To Do:
- Allow op's/admins to enable Head Lamp for other players through the console or in game.
- Increase Efficiency
- Fix Bugs
- Clean up the bukkit page.
- Please leave suggestions!
Bugs:
The main new bug with this version is that the light will not disappear when you move between chunks. I believe that it will disappear over time or with a log out and log in. Also so far the only workaround for the client-side light handling (one of the new features since 1.2) was to force the clients to reload the chunk they are in with every movement. This slows down new chunk updates.
- Please help me find bugs. I want to make this a good plugin!
- It would seem that in bukkit placing a light source near water and then deleting it leaves behind a glow. Happens with Head Lamp and torches alike. Wonder if it is fixable.
can updata this plugin?
is a big bug here
http://youtu.be/I6yy9xsody4
RedFox, I thought I would post this to you being that I posted this in the other HeadLamp post.
Is your plugin able to use the lit pumpkin as I describe above? Actually... now that I think about it... I think its your headlamp plugin we are using. :p How did you both end up with the same name. hehe
@blairjam Thanks for the snow idea, I never had the chance to test it with snow due to the lack of it in 1.8. Ill see what I can do about the lag.
Ill get on making this more compatible with 1.0 now that my finals are drawing to a close.
ok, this plugin is really cool, having just found it, I haven't tested it with 1337, so I'm not sure how it preformed. On the newest Craftbukkit version (for 1.0.0), using it makes me lag, I'm not sure what to base this off of, because I never used it with the older versions
Also, when using it, it melts snow, I would think another good config option would be a control for melting snow
Great! gonna try this soon.
@deleted_7536780
Is there an incompatibility with something else?
@deleted_7536780
Glad to hear it!
@RedFox071
nm, i moved to Essentials GroupManager and its all good.
Has anyone else noticed you can't turn it off?
Once you add Permissions i will most definately have xD thanks
Cool, will try this.