From 8b8e557efcaaf56e217c5cf90c92bd129461c534 Mon Sep 17 00:00:00 2001 From: Florian CUNY Date: Tue, 13 Aug 2019 23:18:31 +0200 Subject: [PATCH] Updated Set a BentoBox world as the server default world (markdown) --- ...toBox-world-as-the-server-default-world.md | 50 ++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/Set-a-BentoBox-world-as-the-server-default-world.md b/Set-a-BentoBox-world-as-the-server-default-world.md index 6d3f665..b50b8db 100644 --- a/Set-a-BentoBox-world-as-the-server-default-world.md +++ b/Set-a-BentoBox-world-as-the-server-default-world.md @@ -1 +1,49 @@ -WIP \ No newline at end of file +## Introduction + +**Setting a BentoBox world as the server default world** allows to avoid the generation of the **default vanilla worlds**. + +In this step-by-step example/tutorial, we're considering you're doing this for `BSkyBlock`, yet **the process remains identical for all available gamemodes**. + +## Preparations + +1. The whole procedure needs to be executed while the server is **switched off**. +2. Delete the vanilla worlds (`world`, `world_nether`, `world_the_end`) by deleting their folders. + +![worlds to delete](https://user-images.githubusercontent.com/20014332/62977233-bebf1180-be1e-11e9-9ec8-ddcfd3352b13.png) + +*Highlighted folders are those of the default worlds. They must be deleted.* + +## server.properties + +Open the `server.properties` file. + +Find the following line: +```properties +level-name=world +``` + +Replace `world` with the name of the BentoBox world. It usually is `[gamemode]_world`, where `[gamemode]` is the lowercased gamemode's name (e.g. `bskyblock` or `caveblock`). However, it can be modified in the gamemode's `config.yml` file, so make sure it is the correct one. + +For the sake of simplicity, we will expect the world name to remain untouched and generic, and therefore being `bskyblock_world`. + +The line should now look like this: +```properties +level-name=bskyblock_world +``` + +## bukkit.yml + +Open the `bukkit.yml` file: we need to tell Bukkit that the world we're willing to make the default one uses a custom generator, **otherwise it will mess up the world generation**. + +The configuration section we're willing to edit being optional, it is extremely likely that it does not exist already in your `bukkit.yml` file. See the official [Bukkit Wiki](https://bukkit.gamepedia.com/Bukkit.yml#.2AOPTIONAL.2A_worlds) for more details about the section. + +Add the following section to your file (do appropriate revisions if you're not using the Nether or the End at all): +```yaml +worlds: + bskyblock_world: + generator: BentoBox + bskyblock_world_nether: + generator: BentoBox + bskyblock_world_the_end: + generator: BentoBox +``` \ No newline at end of file