Realistic Torches
Realistic Torches
Make Torches and Jack-O-Lanterns burn out!
Latest version for DL to the right ( -> ) on the big download button.
Previous version was at: http:dl.dropbox.com/u/7174774/dl/RealisticTorches.jar
Both need Java 7 JRE to run.
Currently ToDo:
- add mySQL support
- add some sort of permissions
Comments:
If you want me to read your comment, place them on dev.bukkit.org, not on curse.com.
The link to the dev.bukkit.org page is: http:dev.bukkit.org/server-mods/realistic-torches/
Video:
v2.2.1:
Plugin's Information:
- You can set Torches to burn out after some time (the time is configurable) or when it's raining (configurable)
- When burned out, it will be turned into a RedstoneTorch or it will be removed (configurable)
- When burned out, it will drop a Stick (configurable)
- You can set Jack-O-Lanterns to burn out after some time (the time is configurable) or when it's raining (configurable)
- When burned out, it will get turned into a Pumpkin
- When burned out, it will drop a Stick (configurable)
- You can turn Pumpkins into Jack-O-Lanterns by punching them with a Torch (configurable)
- This will cost you 1 Torch (configurable)
- You can turn RedstoneTorches into Torches by punching them with a Flint and Steel (configurable)
- This will cost your Flint and Steel 2 durability (configurable)
- This will cost your Flint and Steel 2 durability (configurable)
Config:
(will be automaticly generated if there isn't any)
#torch: # turnIntoDisabledRedstoneTorch: true Turn the torch into a disabled-redstone-torch instead of removing it? # dropStick: false Drop a stick when the torch is removed? (or when the disabled-redstone-torch has been destroyed) # burnoutDelay: 86400 Time before the torch will be removed (in seconds, 86400 = 1 day) # weatherExtinguishesItem: true Does rain destroys torches? # #jack-o-lantern: # dropStick: true Drop a stick when the Jack-O-Lantern will be transformed into a pumpkin? # burnoutDelay: 604800 Time before the Jack-O-Lantern will be turned into a pumpkin (in seconds, 604800 = 1 week) # weatherExtinguishesItem: false Does rain turns Jack-O-Lanterns into pumpkins? # # #pumpkin: # lightWhenPunchedWithTorch: true Turn a pumpkin into a Jack-O-Lantern when the pumpkin is punched with a torch? # howmanyTorchesDoesLightingCosts: 1 Howmany torches will the player lose when he lights a pumpkin? # #disabled_redstone_torch: # lightWhenPunchedWithFlintAndSteel: true Turn a disabled-redstone-torch into a torch when the disabled-redstone-torch is punched with a flint-and-steel? # howmuchDurabilityWillLightingCost: 2 Howmuch durability will the flint-and-steel lose when the player uses it to light a disabled-redstone-torch? (a flint-and-steel has 65 durability)
Known Bugs:
- none known at the moment
Requests:
If you want an extra function (or something made configurable), just ask me and I'll add it that option to the config!
Credits:
- NeatMoster made RealisticTorches v1.4.1 (last updated: 22 Oct 2011) and gave me the sources, which caused me to start creating Bukkit plugins. Without him, I would have never created a Bukkit plugin.
-
View User Profile
-
Send Message
Posted Mar 3, 2012I will test the new one and it was after the server startup. The torches.yml file increased during the time it was online.
-
View User Profile
-
Send Message
Posted Mar 2, 2012@deleted_6886149
On server startup, or on user login?
Edit: I've put the startup code in a thread, it will be allot faster now. Download it using the dropbox link.
-
View User Profile
-
Send Message
Posted Mar 2, 2012I am using the newest version and it is doing that.
-
View User Profile
-
Send Message
Posted Mar 2, 2012@deleted_6886149
What version are you using?
Try downloading the latest version using the dropbox link.
-
View User Profile
-
Send Message
Posted Mar 2, 2012I'm having problems that the server is getting "Ping Timeout" and I can see the torches.yml is getting bigger in size when it finds torches.
The server is also overloading with CPU and Memory usage on 100%.
-
View User Profile
-
Send Message
Posted Mar 1, 2012@deleted_6886149
@wolfenit415
It will go trough every loaded block on the server (on server startup) to find all torches/jack-o-lanterns, this will take about 20-30 seconds on my server.
I'll try to lighten this up, maybe remove the check on startup, but that means the plugin will only work on torches/jack-o-lanterns that are placed after this plugin was installed.
Edit: I just tried it too, and apparently it crashes the server, I'll find a fix asap.
Edit2: Fixed in v2.2.7
-
View User Profile
-
Send Message
Posted Mar 1, 2012It does the same for me too.
The config is loaded and it adds the current torches to the SaveData/torches.yml.
It will stop the loading and it will increases the CPU and Memory usage to 100%.
-
View User Profile
-
Send Message
Posted Feb 29, 2012For some reason once installed my server will not load past the words Realistic torches is initializing. Then it just sits there. Sad to i was really looking forward to this.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@foreverlastd
No, this isn't supposed to happen, and it also doesn't happen on my server. Try to run it without any other plugins, I think another plugin is causing it.
If I know which plugin causes it, I might be able to create a work-around.
-
View User Profile
-
Send Message
Posted Feb 26, 2012I like the idea of this plug-in but on my server, burnt out torches still cast light. Is that supposed to happen?
-
View User Profile
-
Send Message
Posted Feb 25, 2012Love it! Been looking for this for quite some time now!
Will be back for more updates! :D
-
View User Profile
-
Send Message
Posted Feb 23, 2012Very nice, I'll take it for a spin :)
Only thing else I could think of adding currently was the torch lighting the area around you when you hold it in your hand, but there is already a mod for that :)
-
View User Profile
-
Send Message
Posted Feb 23, 2012@tomsik68
The by you requested function has been added =)
-
View User Profile
-
Send Message
Posted Feb 22, 2012@tomsik68
Nice, I'll add the option as soon as possible.
-
View User Profile
-
Send Message
Posted Feb 22, 2012Hey, I like this plugin and I've just got a small idea which could improve it: When torch burns out, put on its place a disabled redstone torch(id=75) and when player clicks it with flint and steel, make it torch again.