BO3Tools
BO3Tools 1.6
Home | Source | Commands and permissions | Changelog
BO3s are objects used by TerrainControl. BO3Tools allows you to export your WorldEdit selection as a BO3 object. It can also convert a BO2 object to a BO3 object.
Running TerrainControl 2.8.2 or newer? Download BO3Tools 1.6.
whitespace hack
Features
- Convert a WorldEdit selection to a BO3.
- Lets you select the origin of the BO3.
- Convert BO2s to BO3s.
- Automatically sets the author of the BO3 to the name of the player who used the command.
- Has size limits which make sure that the BO3 is never larger than 32x256x32.
- Permissions support.
- In-game, so no block lists that need to be updated.
- Can export the contents of chests/dispensers/etc.
- Can add BlockChecks to the BO3.
- Doesn't directly use internal server code, so it doesn't need to be updated on every Minecraft update.
whitespace hack
Installation and configuration
Download the latest file from BukkitDev and place it in the plugins folder. Make sure that WorldEdit and Terrain Control are already installed. No worlds need to be assigned to Terrain Control if you don't need to export tile entities. There is no configuration file.
whitespace hack
Commands and permissions
bo3tools.all
gives access to all the commands. Server operators automatically have this permission. You can export a BO3 using /exportbo3 <name>
, which will convert your current WorldEdit selection to a BO3 and put it in Terrain Control's GlobalObjects folder. You can convert a loaded BO2 to a BO3 using /convertbo2 <name>
.
TerrainControl is installed, settings in the bukkit.yml file, default configs loaded, along with BO3Tools. I use worldedit wand to select a region and convert it to a bo3. This is what happened.
2013-08-20 21:11:17 [INFO] zaberath issued server command: /exportbo3 test 2013-08-20 21:11:17 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'exportbo3' in plugin BO3Tools v1.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:191) at org.bukkit.craftbukkit.v1_6_R2.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_6_R2.PlayerConnection.handleCommand(PlayerConnection.java:962) at net.minecraft.server.v1_6_R2.PlayerConnection.chat(PlayerConnection.java:880) at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:837) at net.minecraft.server.v1_6_R2.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at com.khorn.terraincontrol.TerrainControl.getWorld(TerrainControl.java:120) at nl.rutgerkok.bo3tools.BO3CreateCommand.onCommand(BO3CreateCommand.java:54) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more
After continually subtracting plugins from my plugins folder, it started working once WorldGuard was removed. It seems WorldGuard is interfering with BO3Tools
@MoffKalast
For me it works fine. Are WorldEdit and TerrainControl installed and up to date? Is there an error in the console?
On 1.6.2. plugin doesn't load...
@TaintedLion
Looks like Terrain Control loaded, but not enabled. Did you reload the server, or is Terrain Control outdated? Are there other errors in the console.
Thanks. I'll look into it soon.
Every time I try to export a bo3 it says
null org.bukkit.command.CommandException: Unhandled exception executing command 'export' in plugin BO3Tools v1.2 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:189) at org.bukkit.craftbukkit.v1_6_R1.CraftServer.dispatchCommand(CraftServer.java:523) at net.minecraft.server.v1_6_R1.PlayerConnection.handleCommand(PlayerConnection.java:983) at net.minecraft.server.v1_6_R1.PlayerConnection.chat(PlayerConnection.java:901) at net.minecraft.server.v1_6_R1.PlayerConnection.a(PlayerConnection.java:858) at net.minecraft.server.v1_6_R1.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R1.NetworkManager.b(NetworkManager.java:293) at net.minecraft.server.v1_6_R1.PlayerConnection.d(PlayerConnection.java:118) at net.minecraft.server.v1_6_R1.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R1.MinecraftServer.t(MinecraftServer.java:590) at net.minecraft.server.v1_6_R1.DedicatedServer.t(DedicatedServer.java:226) at net.minecraft.server.v1_6_R1.MinecraftServer.s(MinecraftServer.java:486) at net.minecraft.server.v1_6_R1.MinecraftServer.run(MinecraftServer.java:419) at net.minecraft.server.v1_6_R1.ThreadServerApplication.run(SourceFile:582) Caused by: java.lang.NullPointerException at com.khorn.terraincontrol.TerrainControl.getWorld(TerrainControl.java:120) at nl.rutgerkok.bo3tools.BO3CreateCommand.onCommand(BO3CreateCommand.java:54) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
@RobotPenguin56
Thanks, fixed.
If you didn't know, there is a typo in the Features list. It says "Can export the contents if chest/dispensers/ect. I think it is supposed to say "export contents IN chest"
@rutgerkok
Oh ok, tried renaming and it worked! Thanks a lot man! :D
@RivfaderAldhissla
I don't have any experience with Macs, but on Windows it's just right click -> Open with... -> Notepad. On the Mac there must be a similar option somewhere to open it with a text editor. If that doesn't work, you can also rename the .bo3 file to a .txt file, and change the extension back later (assuming Macs don't hide file extensions).
@rutgerkok
Thanks a bunch, I'm looking into it right away! ;D EDIT: Hmm. It would seem that it will not let me edit bo3-format files directly with my text-editor, neither NBTExplorer, is there some special way one must go about to access the bo3-format-files? (Trying to open the files located in global objects) I am a bit of a tool when it comes to computers, so please bear with me. XD
@RivfaderAldhissla
BO3s are just plain text files. :) Instructions for each setting can be found here. The tile entity files are in the NBT dormat, and you'll need a special editor for that. I'm using NBTExplorer, which should work on Macs.
@rutgerkok
And how exactly can I manipulate the BO3's settings? I have tried searching around for info, yet I have found none regarding how I may alter any settings for the already created Bo3. An explanation would be marvelous, and probably vital for me to make progress in implementing TerrainControl into my server. My main issue is probably that I am hosting the server on a Mac... But I do have access to a Windows-system should the compability restrict my choices.
@Chaett
You can manually add one or more BlockChecks to check for a material just below the BO3 object.
I played around with the settings, but can't find how to prevent spawning of objects on edges:
I thought (think) it's MaxPercentageOutsideSourceBlock: setting, but if I set it too low, they don't spawn at all. So far with the rarity setting at 100 and MaxPercentageOutsideSourceBlock: to 65, it spawns ok, but only a handful of times in one plains biome.
@Chaett
You'll need to manually edit the BO3 files to do this.
Is there a way to make the chest contents random in BO3s?
Realy thx for this plugin !
@darkgeneralmax
If you are in a Terrain Control enabled world, it will search in the WorldObjects folder of that world. If Terrain Control is not enabled for that world, or if the object isn't found, it searches in the GlobalObjects folder.
Sorry, where does the converter look for BO2 files to convert?