WorldGen
ATTENTION
As of spigot 1.8.3, WorldGen is broken. Mojang did a major rewrite of the worldgen files. It is possible to fix but its gonna take me some time.
Pls see this post for more details: http://dev.bukkit.org/bukkit-plugins/worldgen/?comment=102
ATTENTION
This Bukkit plugin is used to manually create or generate various world structures throughout your world. Supports permissions and the following structures:
- Ocean Monument
- Desert Temple
- Jungle Temple
- Mineshaft Complex
- Stronghold Complex
- Stronghold Portal Room
- NPC Village Complex
- Witch's Hut
- Nether Fortress Complex
Structures are generated at the current player's location and in some cases can be bounded to a maximum radius. Structure generation uses the internal Minecraft routines directly.
Credits
TheHUTMan, the real author of the project. He has since taken a break from the project but he is the brains behind it. Paxination, another plugin dev who helped correct some major compatibility issues we encountered between new releases of CB. Nisovin and JRArocks for the initial ideas for making villages. This version attempts to be agnostic to the current Bukkit version, and should work for newer releases so long as the basic API doesn't change (which it usually doesn't).
Sample Pictures
Here is a sample of generating a Desert Temple in grasslands :)
This may freak some people out ... a coven of witches! I generated 4 huts in close proximity. Might make a nice arena :)
More pictures can be found on the Images page.
Installation
Simply copy the WorldGen.jar into your Bukkit plugins folder. There currently are no configuration files for this plugin.
Commands
/worldgen [type] [radius=50]
[type] must be one of: village, witch, jungletemple, deserttemple, well, stronghold, mineshaft, shportal
[radius] defaults to 50, and for some items isn't used.
For more details, please see Commands
Note that the actual position of the generated structure may vary slightly from the users position due to chunk alignment requirements and how the underlying Minecraft generation methods actually operate. There is a bit of randomness involved as well.
Also, when generating some structures on flat worlds (or in worlds where there isn't sufficient land under your position) you may end up with structures floating above ground. This is a side-effect of how the minecraft objects generate the structures and mostly impacts things like mineshafts, strongholds, and nether fortresses. Desert temples also require a minimum amount of space under them to form the "trap" area.
Permissions
WorldGen supports the SuperPerms permission settings. The following permissions are available:
- worldgen.command: Allow user to run the worldgen command
- worldgen.command.deserttemple: Allow user to generate a desert temple
- worldgen.command.jungletemple: Allow user to generate a jungle temple
- worldgen.command.mineshaft: Allow user to generate a mineshaft complex
- worldgen.command.nether: Allow user to generate nether type complexes
- worldgen.command.stronghold: Allow user to generate a stronghold complex and rooms
- worldgen.command.village: Allow user to generate a village complex
- worldgen.command.witch: Allow user to generate a witch's hut
By default, ops are given worldgen.* permissions.
@Paxination
Hey Pax! Awesome work, man. I know I used WorldGen in earlier versions of 1.8 but I hadn't actually used it since updating to CraftBukkit 1.8.3 so I never noticed it was throwing errors. Thanks for taking care of all this! One of the features I've always wanted to add is the option to generate simple dungeons too. Ya know, the ones that are just a cobblestone room with a spawner in the center of it. In any case, as far as I'm concerned the main priorities are Village, Desert Temple, Jungle Temple, and Ocean Monument. As long as those four items work I'm happy to call it a successful build.
Soo...while testing a feature of another plugin im working, i came to the conclusion that WorldGen is broken for 1.8.3.
Mojang had did a big rewrite to the worldgen files for minecraft. I have a couple working as of this post, but I need to go through all of them and test. And I am going to see if the changes will make doing individual village buildings possible again.
I would also like to be able to get Caves added as well. When I was going through the minecraft source code I saw a worldgen file for caves and I am gonna consider adding it, if its possible.
Just an FYI I plan on updating this page a bit and the plugin with proper help msgs.
SOON™
I am sure everyone is aware that individual villager buildings is broke. Not sure if its even possible to fix. But I will try. I have once already, but I've gotten wiser since. LOL. Keep an eye out and hope that I can get a fix for that.
@eudaemonia
I'm sorry, it's because i'm not a native English speaker, just trying to explain things as i can. Common problem with software is too much complexity and when you start adding functions that do not serve the main goal of a program, it becomes resource-demanding, hard to use, and most of all, hard to maintain for a programmer. So many projects were abandoned!
@AlbertMarty
Fair enough. Thanks for the explanation =)
poiNt3D
your reply was pretty rude however. If I didn't need it for something, I wouldn't have asked for it.@eudaemonia
poiNt3D is correct, this plugin is designed for server admins, not for players. The amount of coding required to make this a player safe command would be massive. There would have to be restrictions on location; not near spawn, not near anything anyone else has ever built. Not to mention even when the command is entered "successfully" sometimes a feature isn't generated anyways based on MC's internal generation requirements. It often takes more than one try to get a village generated in Savannah for example. I have no way of getting feedback from the server to tell Worldgen that a village either did or didn't appear where you were hoping it would. Unfortunately it's just not the kind of thing we can regulate enough to provide these commands to potentially malicious users. Even if you do manage to find a plugin that adds a cooldown to other plugin commands, I would highly recommend against it. Someone with bad intentions will use Worldgen to generate a temple where your spawn or house used to be, thereby overwriting it. Generated features also circumvent block logging plugins, preventing you from using rollback features you might usually rely on to repair griefing.
@eudaemonia
I thougt plugins like this intended for server admins only, bacause thing like this can potentially damage your world save and require a lot of processing power. Please, don't ask for unnecessary features, just find some command cooldown plugin.
Would you consider adding a timer to this so that players can only use the commands every x amount of hours?
Actually it was my fault. But Albert's gonna fix it now that he's getting access to my github repository so he can edit the latest changes.
@poiNt3D
Hey! Thanks for using our plugin! In my haste to push an updated version I forgot to include the command in the notes, but it's already in there! :D
/worldgen monument
Ocean monuments, please please?
Hey its cool. Im just excited you even mentioned my name. When I came back by here and saw you gave me credit for the last fix I posted a link for my server staff to see. I was like OMG LOOK.
I dont even have a bukkit dev account. I just make plugins privately for our server.
New version uploaded and awaiting approval! Sorry for the delay guys, I will try to do better for you next release now that my dev environment is current again.
HUGE thanks again to Paxination for basically doing all the work and letting me upload it under my name as if I had anything to do with it. :P
@Paxination
That would be wonderful, thank you Paxination. :)
@SXRWahrheit
I submitted a link to AlbertMarty privately of a jar with the 1.8 update with monuments added in. Just waiting on him to submit it, or waiting on bukkit to approve it.
@AlbertMarty
Spigot 1.8 works just fine, and many servers are running it. Most plugins didn't even need updates - the changes for WorldGen should be minor, as with any other version update.
@Paxination
Hey Pax! Well, I have to admit, the idea that someone from Bukkit DMCA'd Bukkit doesn't make a whole lot of sense to me, so I'll have to take your word for it. :P
AlbertMarty, fyi, Microsoft didnt issue the DMCA, one of the Bukkit Developers did. He didnt want Mojang to update bukkit cuz he fount out he basically was working for mojang for free more or less. Microsoft didnt own Mojang till after the drama.
Hello everyone! Thank you, Pax, for working further on this. Unfortunately since Bukkit development is shutdown (no 1.8 as a result of the DMCA notice) I am no longer developing new versions. I am not a Spigot user (I assume you are developing for Spigot now) therefor I am not developing or even using any 1.8 plugins. Maybe someday I'll feel like doing the necessary testing to update and migrate ALL of the plugins I use for my public realm, but until then I'm afraid a 1.8 version of Worldgen wouldn't even be usable for me.
R.I.P. Bukkit.
(also, for both the guys that posted their errors before, it's a version mismatch. You guys ran it on version 1.6 and version 1.8 on something that's not even Bukkit. This plugin is for Bukkit 1.7.X.)
I've got dungeons working, but its picky about how it places them. Trying to get individual village pieces working again, but they've changed teh constructor since 1.7. I've fount it, but its requiring a new class type to pass that I am not sure how to use reflection to create an instance of it as it has too many params to reflect as well.