SolarFurnace
S4X8 SolarFurnace
What is this?
This is a plugin designed for the now-defunct server Mine21, and gives the recently-introduced Daylight Sensors a new usage: power Furnaces! No more coal mining or burning wood! Its usage it's very simple: just place a Daylight Sensor on top of a Furnace!
As every solar panel, they require a strong light source, so they don't work in the Nether or the End, and they must be directly under the sky, with no opaque block (glass is OK) above it. You can still use Coal and any other kind of fuel in them as you will do with standard furnaces. Those fuels will be used when there's not enough light, for example at night.
Please note that adding support for a new version doesn't mean dropping support for an older one. Thus version 1.3.1, which adds support for Minecraft 1.6.2, will also work in 1.6.1, 1.5.2, 1.5.1 and 1.5.0 (it won't work in 1.4.7 or older because light detectors didn't exist!)
Videos
In order of publication: https://www.youtube.com/watch?v=qUOrfvm2mt0 (english, by IngrownPenguin) https://www.youtube.com/watch?v=7z5IQEVd_IY (english, by rektok) https://www.youtube.com/watch?v=okz_XGLXaV4 (germany, by XxXHosonOXxX) https://www.youtube.com/watch?v=KzPLLNlodKU (english, by FragCrypt) https://www.youtube.com/watch?v=N388t9w7rbs (italian, by agente0072) https://www.youtube.com/watch?v=duVmFPgLC8w (portuguese, by AbsintoJPI)
Servers using this plugin
If you want your plugin here, just leave a message in the comments
Usage stats
Changelog
-
15/V/2016 1.5.1:
- Added support for Spigot 1.8.4 or newer.
-
12/X/2013 1.5:
- Now solar panels can be placed in any side, instead of only on top of a furnace.
-
20/IX/2013 1.4.1:
- Added support for 1.6.4
-
15/VIII/2013 1.4:
- Support for SportBukkit. This implementation is version-independent and, as opposed to CraftBukkit, you don't have to update SolarFurnace for every new Minecraft release.
- Added optional usage stats
-
9/VII/2013 1.3.1:
- Support for 1.6.2
-
2/VII/2013 1.3.0:
- Support for 1.6.1
-
17/VI/2013 1.2.3:
- Display detected CraftBukkit version when running on an invalid version.
-
4/VI/2013 1.2.2:
- Added permission: "solarfurnace.create" (allowed by default)
-
2/VI/2013 1.2.1:
- Fix for 1.5.2 not being detected properly.
-
23/V/2013 1.2:
- Support for 1.5 and 1.5.1
-
17/V/2013 1.1.1:
- SolarFurnace in unloaded chunks are not ticked anymore.
- Minor internal cleanups.
-
16/V/2013 1.1:
- The plugin is finally capable of updating Furnace blocks from an Idle furnace to a Burning furnace without throwing its contents or losing its orientation.
- Furnaces are also stored in a per-world basis, so saving, loading and ticking them it's much faster.
- Major cleanup in furnace storage, which is now is handled in another class, rather than in the main.
- The plugin now handles world loading and unloading successfully.
- 14/V/2013 1.0: First public release
Source code
You can see and download the source code, fork the project and send issues in my GitHub.
About the author
My name is Marcos Vives Del Sol, aka "socram8888". I'm a 18-year-old Spanish guy who likes programming useless stuff that nobody uses. If you want to report a bug, ask for a new feature, or just say hello, you can contact me in my e-mail account socram8888@gmail.com.
Please update your plugin for a Minecraft version 1.11.2
[21:29:06] [Craft Scheduler Thread - 20/WARN]: [SolarFurnace] Plugin SolarFurnace v1.5.1 generated an exception while executing task 59[21:29:06] [Craft Scheduler Thread - 20/WARN]: [SolarFurnace] Plugin SolarFurnace v1.5.1 generated an exception while executing task 59java.lang.NoSuchMethodError: org.bukkit.Server.getOnlinePlayers()[Lorg/bukkit/entity/Player; at ovh.socram.bukkit.solarfurnace.metrics.MetricsLite.postPlugin(MetricsLite.java:273) ~[?:?] at ovh.socram.bukkit.solarfurnace.metrics.MetricsLite.access$300(MetricsLite.java:50) ~[?:?] at ovh.socram.bukkit.solarfurnace.metrics.MetricsLite$1.run(MetricsLite.java:165) ~[?:?] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[Spigot.jar:git-Spigot-3fb9445-6e3cec8] at org.bukkit.craftbukkit.v1_11_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [Spigot.jar:git-Spigot-3fb9445-6e3cec8] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_131] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_131] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
A day later I downloaded the sources and corrected them myself
Added support for MC servers 1.10.x and higher
Removed Metrics support
Download
I don't see how this plugin wouldn't work in every version after the Mc version when light sensors were added given how simple it is.
Hello, I really love this Plugin! Do you plan to update it for the 1.9 in the near Future?
This. Is. Amazing.
I don't play Minecraft anymore, and I'm not a fan of mods, anyway, I can't believe this is not an official feature.
It's pure genius.
The oven still cooking in the rain ... Very helpful
Please add support for version 1.7.2!
Also, please add permission nodes as well as a config that changes the minimum light level needed to work! Keep up the effort!
what about support for version 172?
Thanks for the plug! Just want to let you know that the NoBabies server is back - see tagline below for more information and we are still using your plugin! :)
Hello,
Sory for my english but I am french developper.
I modified this plugin this night and is work with bukkit 1.7 with two little change :
1) add a line in constructor of class FurnaceUpdater to check and accept version 1.7 of bukkit ( if (major == 1 && minor == 7) return; )
2) comment lines 95 to 102 of FurnaceUpdater.class
With this two change days/night change has desired effect on my server. I have not tested the solarfurnace overnight with fuel.
I don't made fork of this plugin, this change can be integrated easily in solarfurnace by socram8888 .
This would be awesome if you could set it up so that you needed an array of solar panels, light 6, to power one furnace and you could have those above ground but have the furnaces below ground connected via redstone.
For those asking me to update this plugin: this plugin will not be updated anymore, unless Bukkit fixes the BUKKIT-4243 bug.
BUKKIT-4243 is a bug that causes furnaces not to update their block when modifying their burning status outside Minecraft's TileEntity tick method. SolarFurnace does this, as it's the only way to keep them burning.
From 1.5 to 1.6.4, I have been mantaining a workaround in my plugin that messed around with NMS methods and properties. Because of the removal of absolute IDs in 1.7.2, this old trick doesn't work anymore, so I would have to rewrite the entire file.
However, I don't have a server anymore, and therefore I will not to be spending any effort rewritting the workaround for 1.7.
So, basically, you have two options: either get the code and fix it yourselves (the project's open source, anybody with a basic knowledge of Java and reflection could fix it), or ask Bukkit to fix the bug.
I've already issued a PR with a fix. This is the third, and last time I attempt to get this bug fixed on official Bukkit.
Not working at 1.7.2 please fix it :/ Really usefull plugin.
We are using your plugin, mcraft.dk . But since 172, the plugin doesnt startup anymore.
this plugin rocks all my server members and me love it it helps its awesome its not too op thx
My server has it! MC.Just219.Com
Video Tutorial on the Plugin
https://www.youtube.com/watch?v=duVmFPgLC8w
Credits: (AbsintoJ/SolarFurnace)
@agente0072
Added. Thanks :)
Video in italian
Socram i'm made a video of your plugon in italian i'm asking you to put this video in description in this mode i publicize youre plugin and the italian know what do this plugin this is the link : http://www.youtube.com/watch?v=N388t9w7rbs
olar SOCRAM voy a utilizar en mi servidor se encuentra actualmente en construcción y aún no tiene una IP y no un sitio cuando llegue a la página de acogida y les advierto ok?
Wonderful idea :)