Greenhouses
Greenhouses
Greenhouses is an essential plugin to power-up your ASkyBlock or AcidIsland world! It enables players to build their own biome greenhouses complete with weather, friendly mob spawning, unique plant growth and even block erosion!
Greenhouses are made out of glass and must contain the blocks found in the Biome Recipe to be valid. There is a recipe GUI. Once built, the greenhouse can be used to grow plants with bonemeal, and it may spawn biome-specific mobs. If you include a hopper with water in it, snow will form inside the greenhouse when it rains. If you put bonemeal in the hopper, biome-specific plants will grow. Some blocks can also transform over time due to "erosion".
Features
- Craft your own self-contained biome greenhouse on an island (or elsewhere if you like)
- Greenhouses can grow plants that cannot normally be grown, like sunflowers
- Friendly mobs can spawn if your greenhouse is well designed - need slimes? Build a swamp greenhouse!
- Blocks change in biomes - dirt becomes sand in a desert, dirt becomes clay in a river, for example.
- Greenhouses can run in multiple worlds.
- Easy to use GUI shows greenhouse recipes (/gh)
- Admins can fully customize biomes and recipes
How to Build A Greenhouse (Simple version)
- Make glass blocks and build a rectangular set of walls with a flat roof.
- Put a hopper in the wall or roof.
- Put a door in the wall so you can get in and out.
- Type /gh and read the rules for the greenhouse you want.
- Exit the GUI and place blocks, water, lava and ice so that you make your desired biome.
- Type /gh again and click on the biome to make it.
Once made:
- Use bonemeal to grow small plants on grass immediately in the greenhouse.
- Or place bonemeal in the hopper to have the greenhouse sprinkle bonemeal automatically. Come back later to see what grows!
- Place a bucket of water (or more) in the hopper to cause snow to fall in cold biomes. Snow will fall when it rains in the world. Each snowfall empties one bucket of water.
- Friendly biome-specific mobs may spawn in your greenhouse - the usual rules apply (be more than 24 blocks away).
- Enjoy!
FAQ
- Can I use stained glass? Yes, you can. It's pretty.
- Can I fill my greenhouse full of water? Yes. That's an ocean.
- Will a squid spawn there? Maybe... okay, yes it will, if it's a big enough ocean.
- How do I place a door high up in the wall if the wall is all glass? Place it on a hopper.
- How do I place a door on a hopper? Crouch and then place it.
- Can I use metal doors? Yes.
- Can I use a trap door? Yes.
- Can I grow swamp flowers with this? Yes. Make a swamp biome and use bonemeal.
- How much bonemeal is used to grow plants? One per successful plant.
- How much water do I need to put into the hopper to make it snow? One bucket of water (just the water) is used up every time it rains. This only happens in cold biomes.
- Can I build a Nether greenhouse? Try it and see... (Actually, you may need permission)
- Can I build greenhouses in the Nether? Yes. You can colonize the nether with them.
- What kind of mobs spawn in the biomes? It's what you would expect, wolves in Cold Taiga, horses on plains, etc.
Required Plugins
- Vault for permissions - make sure you use the latest version!
Installation and Configuration
- Download and install Vault if you haven't done so already
- Download the plugin
- Place into your plugins folder
- Restart your server (or reload plugins)
- The plugin will make a folder called Greenhouses. Open that folder.
- Check config.yml and edit to be what you want, note the list of world names.
- Configure the biomes.yml if you like (advanced).
- Type /gadmin reload in the game to reload the config or restart the server.
- Done! To make your first greenhouse, build a glass box and type /gh to see the recipes.
Upgrading
Read the file release notes for changes and instructions on how to upgrade.
Player Commands
- /greenhouse or /gh can be used for short.
- /greenhouse help - lists these commands
- /greenhouse make: Tries to make a greenhouse by finding the first valid recipe
- /greenhouse remove: Removes a greenhouse that you are standing in if you are the owner
- /greenhouse list: Lists all the recipes available
- /greenhouse recipe: Displays the recipe GUI - clicking on a recipe will try to make a greenhouse
Admin Commands
- /gadmin reload : Reloads config files
- /gadmin info <player>: provides info on the player
- /gadmin info: provides info on the greenhouse you are in
Permissions
Permission to use specific biomes can be added in biomes.yml.
For example, the permission for the Nether (Hell) biome is greenhouses.biome.nether and is set here:
HELL: permission: greenhouses.biome.nether
The permission can be anything you like, e.g., a rank permission, myserver.VIP.
General permissions are:
greenhouses.player: description: Gives access to player commands default: true greenhouses.admin: description: Gives access to admin commands default: op
To Do
- Debugging
Source Code
Source code can be found here.
Stats Disclosure
This plugin utilizes a plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Visit mcstats.org if you would like to learn more about the stats collected. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
@tastybento
Hi Ben,
That's great, thank you. I firmly believe this is a great plugin that a lot of people need to discover.
I did a bunch a tests on the messages and placement of the Red Glass blocks when a greenhouse can't be made. Results vary widely, and there are a few bugs in there. You can download my analysis here: http://tinyurl.com/q2t5vn2. I hope it's useful... it was a lot of work :-).
My main suggestion is that you place RG only where the blocks are missing. There's no need to mark the location by placing RG along the floor - it can get very confusing for the new user.
best regards.
@ebaldino
I must have missed this because I was on vacation! Crumbs.
Okay, I'm going to look more into the greenhouses code to address some of the issues you brought up.
@Destrolly
Thanks for the report - hopefully the new version will work for you.
The red glass is to help highlight any issues with a greenhouse and does not actually exist except for your client. If the greenhouse is correct, you shouldn't see the issue.
Awesome as usual! Thanks for the update!
new version works great, thanks :)
Hi! What an awesome mod – great job, well done – thank you! I played around with it on my new 1.8 Spigot server today and can confirm the reported bug hopper not working with the error message in the logs. In addition, I would like to report another issue – the back stone row of the greenhouse was converted to red glass – seen here in the screenshot http://mine-o-matic.com/minecraft/sc/RedGlassRow.png No error message, just a row of red glass. I build two greenhouses, one desert and one mushroom: http://mine-o-matic.com/minecraft/sc/2Greenhouses.png - they seem to work fine, just not fertilized with bonemeal. I tried to add another biome (MESA) to the biomes.yml by copying the desert one and replace sand with red_sand – it didn’t work. Is it even possible to extend with custom biomes?
Hi. We use Greenhouses togeather with Askyblock. If a player try to bug through a Wood door in another's greenhouse, the mob's in the greenhouse will multiply. Why?
hi, any ideas on an update date to resolve the hopper issue? thanks
@ebaldino
we have similar issues, I've raised a ticket about the hopper :)
@tastybento
Great, thanks for the info! :D
Hi Ben,
- The hopper isn't working. If there's bonemeal in it, it doesn't get sprayed or used up, and we get steady messages of "[Greenhouses] Problem found with greenhouse during growing flowers. Skipping...".
If there's water in the hopper, it is consumed, but we get no snow and a long list of error messages on the console that begin with "[Greenhouses] Task #1288 for Greenhouses v2.3 generated an exception com.wasteofplastic.particles.ParticleEffect$PacketInstantiationException: Packet instantiation failed"
- Greenhouses only accept oak and iron doors. Not a big problem, but it took me a while to wrap my brain around the message "a wall is missing" and figure out it didn't like the door.
- The "red glass marker" code has a few problems. If there's a hole in the wall, it will not put red glass where the whole is; rather it will put red glass on some other wall and along the bottom of the greenhouse on two sides. Sometimes it will replace half of a "wrong door" with red glass.
- It would be great to have a command to restore all red glass to the original blocks.
- Also, the mobs appear not to be spawning... at least, I haven't gotten a single one yet, out of 6 greenhouses.
Hope you can find the time to look into this. It doesn't prevent us from using GH, but still...
regards.
EDIT: Mobs are spawning, in all but one of the greenhouses. It's something my end. Sorry about that, my bad.
If you're getting a "mixed up UI" issue, it's because 1.8 doesn't show lava anymore in the inventory. You need to change the icon to LAVA_BUCKET or similar. This only affects players who have the ability to see the HELL biome.
I'll look into doing an update on this.
It also appears to get confused about the number of greenhouses, I am the only player running greenhouses at the moment. I set up 3, it then tells me later, when logging in that i am only allowed 5 deleting one (I've set the limit to 5 :) ). It also appears to lose a greenhouse on reboot. I'm wondering if this is related to the flower growing error/exception (It does grow the plants great, just spams the console and seems to get confused about number of greenhouses?)
@charlza
I get the same error message
@KillahSeven
I just 'fed' my greenhouses for the first time since I created them...several months ago...and I was getting the same error. I have one of each greenhouse type and had filled each hopper. I eventually just emptied the hoppers and the message stopped spamming my console. I haven't had a chance to look test it further, yet.
hi, odd error, if I use the GUI and say select jungle, it advises me how to make a nether greenhouse. And I can make one by standing in the greenhouse with the nether items and clicking on the jungle icon. All the GUI selections appear mixed up? However, hovering over the 'icon' gives the correct recipe? Thanks
Hey tastybento, getting this error in the console all the time:
[Greenhouses] Problem found with greenhouse during growing flowers. Skipping...
Its not telling me which greenhouse though :/...
@ebaldino
Interesting! Greenhouses does not have anything in it that would make water acid, but ASkyblock does. What happened was that there were no settings for acid damage in the ASkyblock config file so it used the default settings, which are for acid island. Thanks for finding this. I'll make a change so that the defaults for askyblock are zero!
Something strange happened. I tried Greenhouses on my backup machine and set up permissions(ex) and everything worked. Then I installed the plugin on my server and copied over the yml configuration files (greenhouses and permissionsex).
To my surprise, water turned to acid! All but op players would get damage and die from rain and from standing in water. I deleted the greenhouses jar file and folder, and restored the original permissionsex yml file. It didn't work!
After trying different variations for nearly an hour, I copied the world folders from the server to my backup machine, tested to make sure water wasn't acid there, then copied the entire Bukkit folder from my backup machine to my server. That fixed it and now everything works as it should.
It's working now, so my problem is solved... but I thought you might find it interesting.
rgds Ebaldino
Another awesome plugin!
Just downloaded it and will be including it alongside ASkyblock. Thanks!
I have the locale.yml in Brazilian Portuguese. Let me know if you want it :-).