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.
Does it work if you attach redstone to it from your house roof and bring the redstone to the furnace? If you do this, that would be great!.
@Merkurijus Have you run SolarFurnace before? That's telling you there are no solar furnaces in those worlds.
If you have already run SolarFurnace before, check if there are files called "solarfurnace.bin" in each world folder. That file is a database for solar furnaces detected in that world, whose size is the amount of solar furnaces multiplied by 9.
2013-06-04 03:15:23 [INFO] [SolarFurnace] Enabling SolarFurnace v1.2.1 2013-06-04 03:15:23 [INFO] [SolarFurnace] No solar furnace data found for world P 2013-06-04 03:15:23 [INFO] [SolarFurnace] No solar furnace data found for world KZ 2013-06-04 03:15:23 [INFO] [SolarFurnace] No solar furnace data found for world dota 2013-06-04 03:15:23 [INFO] [SolarFurnace] No solar furnace data found for world shop 2013-06-04 03:15:23 [INFO] [SolarFurnace] No solar furnace data found for world arena 2013-06-04 03:15:23 [INFO] [SolarFurnace] No solar furnace data found for world levels 2013-06-04 03:15:23 [INFO] [SolarFurnace] No solar furnace data found for world jumps
Any idea why?
This server is running CraftBukkit version git-Spigot-850 (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
That's actually quite easy to do. All I need to do is check player Permissions in CreateListener. To lock furnaces not owned by the creator, I recommend you using Deadbolt or another simmilar plugin.
EDIT: 1.2.2 uploaded with permission "solarfurnace.create". Awaiting approval. Players can place daylight sensors on top of furnaces, but those are not added to the list of valid solar furnaces.
"I'm a 18-year-old Spanish guy who likes programming useless stuff that nobody uses."
Well, according to the amount of "Downloads," I'd say it's been used 300+ times so far.
Nifty idea though. Could you implement permissions in some way? I know permissions for plugins dealing mainly with blocks and not player-interactions is a tricky business, but you could pull it off by using this logic, or something along those lines (albeit, this is probably inefficient the way I put it):
To make sure that a poor sap doesn't lock his furnace by accidentally placing a daylight sensor on top, you could also implement this too:
But, instead of doing all these checks, you could use a database. People don't seem to like databases though (or I would think), but I myself don't mind. If you do decide to utilise a database to bypass such clumsy checking, I'd want it to be flatfile rather than SQLite/MySQL because I don't use cloud storage, for paranoid and other reasons.
You're right, it is not working in 1.5.2. Fix uploaded.
It was working fine for me because I was using a the version from my GitHub, and apparently the one I uploaded here was older and did not correctly check CraftBukkit revision.
Until Bukkit approves it, you can download the fix in http://dev.bukkit.org/bukkit-mods/solarfurnace/files/3-solar-furnace-v1-2-1/ .
I also get Unsupported Bukkit version
I'm using spigot #871 and my console says "[SolarFurnace] Unsupported Bukkit version"...
Is there any fix on it?
Thank you for fix very much!!! 1.5.1
The plugin file was uploaded yesterday when I created this project page, but it is not available for download yet because it is currently under review by the Bukkit team. Meanwhile you can grab the source and compile it yourself, there's a small how-to in my GitHub.
Wow is this the first time this has been thought of? Awesome idea! :P
this looks sweet!
Cool. I'll use it when released