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.
Note that this plugin is BROKEN. Mojang did a hard re-do of all biome related things in 1.10.
Could you release the source for this so it can be updated?
TheHutMan
Are you still maintaining this plugin?
I am attempting to compile the plugin to 1.10.2 and then on to 1.11.2.
I have removed references to magic numbers.
It compiles without errors.
when attempting to generate a village I get the following error:
[10:57:34] [Server thread/INFO]: bob82604 issued server command: /worldgen village
[10:57:34] [Server thread/INFO]: [WorldGen] Generating village...
[10:57:34] [Server thread/WARN]: java.lang.ClassNotFoundException: null.WorldGenVillageStart
[10:57:34] [Server thread/WARN]: at java.net.URLClassLoader.findClass(Unknown Source)
[10:57:34] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77)
[10:57:34] [Server thread/WARN]: at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62)
[10:57:34] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[10:57:34] [Server thread/WARN]: at java.lang.ClassLoader.loadClass(Unknown Source)
[10:57:34] [Server thread/WARN]: at java.lang.Class.forName0(Native Method)
[10:57:34] [Server thread/WARN]: at java.lang.Class.forName(Unknown Source)
[10:57:34] [Server thread/WARN]: at local.thehutman.worldgen.WorldInterface.<init>(WorldInterface.java:51)
[10:57:34] [Server thread/WARN]: at local.thehutman.worldgen.GenType2.generate(GenType2.java:61)
[10:57:34] [Server thread/WARN]: at local.thehutman.worldgen.WorldGen.onCommand(WorldGen.java:80)
[10:57:34] [Server thread/WARN]: at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[10:57:34] [Server thread/WARN]: at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140)
[10:57:34] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_10_R1.CraftServer.dispatchCommand(CraftServer.java:626)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.handleCommand(PlayerConnection.java:1299)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnection.a(PlayerConnection.java:1159)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacaketPlayInChat.a(SourceFile:37)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PacketPlayInChat.a(SourceFile:9)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.PlayerConnectionUtils$1.run(SourceFile:13)
[10:57:34] [Server thread/WARN]: at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
[10:57:34] [Server thread/WARN]: at java.util.concurrent.FutureTask.run(Unknown Source)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.SystemUtils.a(SourceFile:45)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:688)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:361)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:643)
[10:57:34] [Server thread/WARN]: at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:547)
[10:57:34] [Server thread/WARN]: at java.lang.Thread.run(Unknown Source)
I know the issue is somewhere here null.WorldGenVillageStart.
Might you know where I might look to correct this?
Is there an update or replacement for this? Being able to spawn structures on demand is wickedly useful.
We don't have any news about authors and license is :
GNU General Public License version 3 (GPLv3)
Someone can maintain this software please ?
We don't have any plugin like this :/ and with 1.10's coming
I think it was usefull to server's management.
___________
Source is here
Yes, placing villages was my only use of this plugin. I do really miss it.
I also miss being able to place villages and stuff.
Is this mod still active? I really miss being able to place villages.
No more news with 1.8.8 ?
1.9 is on the road ;)
Anything new? My server host now allows spigot 1.8.8 and I'd like to update to it.
Edit: Forgot that worldgen broke in 1.8.8, tried spawning some things, and mineshafts actually work! Nothing else I tried does, though.
Alright, thank you.
@bigredguy2
Yes sorry, life got complicated all of a sudden. I'll see what I can do soon.
Any news on compatibility with 1.8.3+? This plugin is one of the main things preventing me from updating past 1.8.0.
hey t5habks
@bigredguy2
Yeah I think mojang changed the radius to something else. I'm having a bit of a difficulty trying to figure out what it is now.
@Paxination
Hmm. I've tried using that 'radius' thing and it seems to just be a hard cutoff from your position of the size of the structure (e.g. cutting buildings of villages in half if they're at the edge). May I suggest a seed input instead, so that my 'giant villages' thing I'm working on doesn't have blacksmiths all with the same orientation and spot in their respective village?
@bigredguy2
I've been trying to get caves to work, but i dont think its possible atm. Dungeons i have working in my test version tho, but its very picky. With everything I have on my plate I dont have time to do ravines now. Maybe in a future version.
@lululombard
Look at the repositories tab at top. Atm I am working on multiversion support. If I can break away long enough I'll try and roll it out soon. 1.8.4-1.8.7 didnt change anything internally. So it shouldnt matter for a 1.8.6. Tho the latest version listed here is for 1.8.0 so it wont work. I'll have the multiversion one done soon I hope.
"License GNU General Public License version 3 (GPLv3)"
Where can I find the source code without decompile the plugin ? I really want to make a 1.8.6 version of this. Thanks :)
I've noticed that if I generate two or more of the same structure in the same world the arrangement of pieces/loot in chests/etc is the same. I'd imagine that the worldgen functions have a seed input; adding the coords of the person executing the command to such a seed would probably fix the issue.
Edit: Being able to generate caves and ores and ravines and Beta dungeons and whatnot would also be nice.
@AlbertMarty
Yup as we just spoke in skype, I've already tested with dungeons. Thought I added it to this one, guess its in my version. I'll add it to the 2.0 version as I get it done.
2.0 will have multiversion support. It will support 1.7.9, 1.8 and 1.8.3