RWtorchLight
RWtorchLight
NOTE: If you like the plugin, tell me in the comments along with your server's IP. I might give your server a visit.
Light up your surroundings just by holding a torch
PLEASE, IF POSSIBLE EDIT CONFIG AND RELOAD PLUGIN BEFORE USE
This data is used to check the amount of people using the plugin. Its sole purpose is so that I and others may visually see the success of the plugin. You may turn it off if you prefer.
Great for Hunger Games and Survival servers
Created for my tekkit server: RWtekkit (R.I.P.)
If you wish, you may DONATE which will help support me and the plugin
Features:
- Use a torch without placing it (editable in config)
- Emit light from boots (editable in config)
- Emit light from helmet (editable in config)
- Client side glowstone follows underneath the player
- Turn light devices on/off with a command (editable in config)
- No client side resources (like spout) needed
- Supports Tekkit and detects it automatically
- Left-Click to revert a block manually
- Trick-or-Treat mode (more info below)
- When I join the server, the game will notify you that I created the plugin
1.7.10 Compatible!
TO
1.2.5 Compatible!
Requirements:
- Any Permission Plugin
Permissions:
- RWtl.allow -Lets the player use the plugin
- RWtl.boot -Allows player wear boots to emit light (if RWtl.allow is in use)
- RWtl.halloween -Activates Trick-or-Treat mode (without RWtl.allow, no light is emitted, but cookies are still provided)
- RWtl.helmet -Allows player wear a helmet to emit light (if RWtl.allow is in use)
- RWtl.info -no longer has purpose
- RWtl.torch -Allows player to use a torch to emit light (if RWtl.allow is in use)
Config:
- BLANK_Use: true/false Will toggle use of the feature written in the place of BLANK
- BLANK_Item: # Will set the id of the feature defined by BLANK to the number defined by #
- Command_Off: true/false Should the player have to use a command (/torch) to turn lights on, or should it be automatic (off = no command)
- Light_Block: # Defines block that will appear when a BLANK item is used.
- Meta_Data_LB: # Defines the item's meta data (for black wool [35:15] the meta data is 15)
- Trick-or-Treat mode: true/false Enables/Disables Trick-or-Treat mode
- Chance of Cookie: # How often a player gets cookie(s) from Trick-or-Treating (every time they move) 0 = off
- Number of Cookies: # Will give the players a random amount of Cookies from 1 - # (when Chance of Cookies occurs)
- Check for updates: true/false No longer has purpose (Formerly checked for updates and only remains for old version compatability)
Commands:
/Torch -toggles the light emmiting devices (has a glitch that leaves last block on ground) (right-click block to revert)
Trick-or-Treat mode usage
- First equip a pumpkin to the helmet slot
- Then walk around you will notice a redstone lamp will follow beneath you
- After that, if Cookies are in use (see config) the following will happen
- You will get cookies after a while of roaming around with the pumpkin on
- The number of cookies varies from 1 - 4 (or whatever was defined in config)
- A message will tell the player they got # cookies
DEMOS/REVIEWS:
MY SETUP/USAGE TUTORIA (Still Relevant)L:
REVIEWS:
CURSE NETWORK's (BukkitDev managers) Plugin Spotlight (Written review) [V-1.H2]:
WOOPA GAMING (Woopa's gonna woop) [V-1.H2]:
FIRST REVIEW [V-1.0.4]
If you want to make a better video, go ahead and I will put it here.
Planned:
- Up to 5 different items that can emit light (3 of 5 so far)
- Manual reloading (for the one client only)
- The more torches you hold, the greater the light
- Water dilutes light
- Perm node to allow the torch work in your main inventory (or similar) (to allow for better PVP)
- Ability for torches to melt ice and snow
- Experimental light without block tests are being done (no more glowstone)
Known Bugs:
May cause end spawnpoint to be random in 1.5 and above(fixed?)Can walk across water/lava when holding "SHIFT"(Thanks AfroChikken)- Sometimes glowstone fails to revert on the client(log off and on to fix) Rare plugin conflict. Re-investigating
- Blocks with high secondary numbers
(tekkit and mods only)(fixed for tekkit, but some non-tekkit mods will still cause this) like 60:48 or 10:995 create mini-client side chunk errors Pointless error reports with slabs and lillypads- Certain blocks turn to glowstone (mostly newer blocks)
- When using the new /torch command, the glowstone block will remain once turning it off (until right-click or turned on)
- based of Lantern 0.1 and TorchLight+
Source is in the jar file (not necessarily that version of the plugin)
Special thanks to all those who donate
1.10 update please!
1.9 update please?
Nice plugin
I'd like to contribute to your plugin for implementing it on my server. If you wish I'd like the opportunity to view and edit your code for removing the limit of the glowstone block.
Nice plugin. Tommorow will be on most my servers ;) Even cool for Halloween
Network IP:myhousecraft.tk
@FlOppythp
I have been working on trying to remove the need for a block to appear below the player, but without any real success. I am sorry I have been unable to provide this feature for everyone. I only have so much free time due to college and I want to try and expand. This one plugin was the only thing I ever released that gained any sort of attention and I wish to do more. I am currently working with creating maps in Portal 2.
Still, I like to make sure that this plugin is always running. bukkit dev put me back a bit when they changed there policies on auto-updating.
I promise you, I am working on removing the blocks. I think it may be a while still, if ever. Anyone is free to request the current source code and make this a reality sooner (will be credited of course).
Till then, I apologize for the ludicrous delaying of this feature.
@CholeraJasna
The plugin is currently medium-weight. The plugin would really only cause problems when a large amount of people are using a tourch or configured item. I am working on a light-weight mode that will hopefully be released next version that will allow the plugin to run using less server resources. It will lower the preformance of the plugin, but the mode will allow for overcrowded servers to use it.
The mode is for those experiencing problems with the plugin or for servers with a heavy focus on the mechanic.
Is it lightweight plugin? I meanz how much is using CPU? For example, this must be hard for server, to simple handle 50 people still changing position of glowstone under players.
@Mateix27
No, I am afraid that is the only way to emmit a different level of light. I no longer work in minecraft plugins other than to update them if they stop working in a new version, so I have no plans to figure out how to do such a task and implement it.
Sorry. If you wish, there are some public builds of slightly older versions included in some downloads. It could be added and you are free to upload it once complete as long as I am credited as contributing to the plugin assuming you used the code as a reference point.
@Iwitrag
I no longer run a minecraft server, however I did go to my MCSTATS/ Global Statistics page where it says the plugin is running on 14 1.7.9 servers at the time of this post. This leads me to belive the plugin is incompattible with something else on your server. I could be wrong and simply just happen to have 14 different server owners not realise it is no longer functioning propperly or too lasy too remove it, but I dobt that.
If you explain how it doesn't work for you It could possibly be fixed on your server or in the code.
Can you add light level setting for selected block in the config/light without changing the block under the player? https://forums.bukkit.org/threads/changing-the-light-level-of-a-block.6263/
Dont work for 1.7.9
I have an idea, rather than having flowstone underneath the player, why not place an end portal block 3 blocks above the player because since end portals don't render from below the player won't see anything that is a visible sign of light but the end portal still gives off light even when it can't be seen as mentioned before that end portals don't render from below and you have to make it 3-4 blocks above player so the player doesn't accidentally jump and jump into the portal.
Hey can you post the source code.
UPDATE COMMING SOON!
@arrow808
Agree otherwise amazing plugin
Can you somehow let other players see the light?
If you donate, I can use the money to fund my development for this plugin as well as other projects I work on. It will help improve the plugin and is appreciated.
@ShoRyuuga
The only part that would need translation in the game is the torch on/off command if that is used. Other than that, the text on this page needs to be translated so that others can easily understand the page.
Player's nearby can't see the light because it is being sent client side. I have been working on a config option that lets players nearby see light from where the player is.
Finally, the glowstone under you is currently the reason you can see light. I have been working on a way to try and remove this, however, it is not yet ready but should be within a month.
What do i have to translate exactly ? I can translate it to german ;)
Oh btw. why a Player nearby cant see im using a torch which has lighten up the area, cause for him everything stays dark. Would be nice, when it would lighten up for everyone.
And can i turn off the glowstone which is under my feet ?