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.
It clearly says to the top right Recent files R: WorldGen 1.7.2 for CB 1.7.2-R0.3 Feb 25, 2014
So why would you be commenting that it does not work on 1.7.9, or even spigot :/
Can't create a village in 1.7.9, All that pop up is a well:s
Doesn't seem to work on 1.7.9 Spigot #1443. It errors with "An internal error occurred while attempting to perform this command."
Error in console
[16:56:09 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'worl dgen' in plugin WorldGen v1.7.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spi got-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 0) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServe r.java:722) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerCon nection.java:985) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java :830) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java :28) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat .java:65) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:176 ) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java :77) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:7 13) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:2 83) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:5 76) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java :482) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6 28) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] Caused by: java.lang.NumberFormatException: For input string: "radius" at java.lang.NumberFormatException.forInputString(Unknown Source) [?:1. 8.0] at java.lang.Integer.parseInt(Unknown Source) [?:1.8.0] at java.lang.Integer.parseInt(Unknown Source) [?:1.8.0] at local.thehutman.worldgen.WorldGen.onCommand(WorldGen.java:62) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spi got-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] ... 13 more [16:56:11 INFO]: bigbend issued server command: /worldgen pyramid [16:56:20 INFO]: bigbend issued server command: /worldgen jt radius=50 [16:56:20 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'worl dgen' in plugin WorldGen v1.7.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spi got-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18 0) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServe r.java:722) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerCon nection.java:985) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java :830) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java :28) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat .java:65) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:176 ) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java :77) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:7 13) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:2 83) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:5 76) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java :482) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:6 28) [spigot-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] Caused by: java.lang.NumberFormatException: For input string: "radius=50" at java.lang.NumberFormatException.forInputString(Unknown Source) [?:1. 8.0] at java.lang.Integer.parseInt(Unknown Source) [?:1.8.0] at java.lang.Integer.parseInt(Unknown Source) [?:1.8.0] at local.thehutman.worldgen.WorldGen.onCommand(WorldGen.java:62) [?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spi got-1.7.9-R0.1-SNAPSHOT.jar:git-Spigot-1443] ... 13 more
@oolliiee123
That sounds like a reasonable request. :D I'll look into seeing if I can add that feature.
Nice plugin. Only problem I find is villages don't work on superflat worlds.
This would be a nice fix. Thanks
Working fine on spigot 1.7.2 RC04 :)
thanks !
@Cliff_Ripper
I'm afraid I'm not sure what I can do to help. It's working fine on CB 1.7.2 R3. You should check to see which version of Bukkit you are using.
Don't work for me... "Faild to generate [...]. Please check server log." when i try to generate something. And logs are empty.
I am running a copy of WorldGen 1.7.2. Can you send me to source code please?
@ArchangelMGN
Updated version should be available pending approval. This brings the compatibility of the plugin up to current version CB 1.7.2 R3.
I cant do anything, its just makes my console cry (1.5.2 mcpc+)
2013-12-27 16:02:42 [INFO] [WorldGen] Generating desert temple... 2013-12-27 16:02:42 [SEVERE] java.lang.ClassNotFoundException: null/WorldGenPyramidPiece 2013-12-27 16:02:42 [SEVERE] at java.lang.Class.forName0(Native Method) 2013-12-27 16:02:42 [SEVERE] at java.lang.Class.forName(Unknown Source) 2013-12-27 16:02:42 [SEVERE] at local.thehutman.worldgen.WorldInterface.<init>(WorldInterface.java:46) 2013-12-27 16:02:42 [SEVERE] at local.thehutman.worldgen.GenType1.generate(GenType1.java:58) 2013-12-27 16:02:42 [SEVERE] at local.thehutman.worldgen.WorldGen.onCommand(WorldGen.java:84) 2013-12-27 16:02:42 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) 2013-12-27 16:02:42 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) 2013-12-27 16:02:42 [SEVERE] at org.bukkit.craftbukkit.v1_5_R3.CraftServer.dispatchCommand(CraftServer.java:566) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.network.NetServerHandler.func_72566_d(NetServerHandler.java:1389) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.network.NetServerHandler.chat(NetServerHandler.java:1249) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.network.NetServerHandler.func_72481_a(NetServerHandler.java:1175) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.network.packet.Packet3Chat.func_73279_a(Packet3Chat.java:60) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.network.TcpConnection.func_74428_b(TcpConnection.java:442) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.network.NetServerHandler.func_72570_d(NetServerHandler.java:222) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.network.NetworkListenThread.func_71747_b(NetworkListenThread.java:53) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.server.dedicated.DedicatedServerListenThread.func_71747_b(SourceFile:30) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:847) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:320) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:716) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:600) 2013-12-27 16:02:42 [SEVERE] at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)
Please a 1.7.x/1.6.4 update!
Darn,i cant create villages even in a valid biome!
Sadly it's doesn't appear to be compatible with the new world generator in 1.6.4. Such a useful plugin. I sure hope there's a 1.7 version around the corner. *hint hint* :D
Awesome Plugin. Thanks a lot.
Works perfect with my spigot 1.6.4 #1132 Server :D
Worldgen is fantastic! I love the fact that it uses the vanilla to create the structures thus insuring that the treasures up current for the mc version.
Unfortunately it appears worldgen isn't compatible with 1.6: 02.10 12:16:16 [Server] SEVERE java.lang.IllegalArgumentException: Can not set boolean field net.minecraft.server.v1_6_R3.WorldGenVillageBlacksmith.b to java.lang.Integer 02.10 12:16:16 [Server] INFO Generating village blacksmith...
Hi there, for some reason when I generate a village it only generates the well? Not sure if I am doing something wrong. I typed /worldgen village and that's what it generates every time. I have to generate each building separate? Not sure if that's what it's meant to do? Thank you
Hy- Pls Update :) Thanks!
@catprowler
He's already answered that question.
@P197
Are you using the 1.5 version on 1.6? I don't think 1.5 vers works on 1.6