BentoBoxWorld / Level

Add on for BentoBox to calculate island levels for BSkyBlock and AcidIsland. Please read the Wiki!
Eclipse Public License 2.0
24 stars 31 forks source link

level - world not found (probably because it only takes gamemode and not world name) #83

Closed mrfloris closed 5 years ago

mrfloris commented 5 years ago

Description

Describe the bug

starting the server, bentobox reports back when enabling the level addon that a world does not exist. It says it's set in config.yml, but it's not in any config.yml, and i suspect it's because level's config.yml only has the gamemode set, and expects a specific world, but we've renamed our world.

[17:15:34 INFO]: [BentoBox] Enabling Greenhouses...
[17:15:34 INFO]: [BentoBox] Enabling MagicCobblestoneGenerator...
[17:15:34 ERROR]: [BentoBox] Level Addon: No such world in config.yml : acidisland_world
[17:15:34 INFO]: [BentoBox] [Level] Level hooking into BSkyBlock
[17:15:34 INFO]: [BentoBox] [Level] Level hooking into AcidIsland
[17:15:34 INFO]: [BentoBox] [Level] Level hooking into CaveBlock
[17:15:34 INFO]: [BentoBox] Enabling Level...

The world map/folder is called acid, not acidisland_world, i can't find any config.yml file from bentobox that has acideisland_world in it.

level config file

# Game Mode Addons
# Level will hook into these game mode addons. Don't forget to set any world-specific
# block values below!
game-modes:
- AcidIsland
- BSkyBlock
- CaveBlock
#- SkyGrid

It says game modes, not world names ..

Should i change these to

- acid
- skyblock
- cave
- skygrid

or are these really the Names of the game-modes and i should leave it alone? it doesn't complain about the other worlds, just acidisland_world.

Steps to reproduce the behavior

when creating acid addon, name the world acid and this probably occurs.

Screenshots and videos

Expected behavior

Environment

Server

Plugins

multiverse-core, we/wg, cmi, bentobox

BentoBox setup

BentoBox and Addons
>bentobox version
[17:18:43 INFO]: Running SPIGOT 1.13.2.
[17:18:43 INFO]: BentoBox version: 1.7.0-SNAPSHOT-b1337
[17:18:43 INFO]: Database: JSON
[17:18:43 INFO]: Loaded Game Worlds:
[17:18:43 INFO]: acid (acid): Overworld, Nether, End
[17:18:43 INFO]: cave (cave): Overworld, Nether, End
[17:18:43 INFO]: skyblock (skyblock): Overworld, Nether, End
[17:18:43 INFO]: skygrid (skygrid): Overworld, Nether, End
[17:18:43 INFO]: Loaded Addons:
[17:18:43 INFO]: AcidIsland 1.6.0-SNAPSHOT-b432 (ENABLED)
[17:18:43 INFO]: BSkyBlock 1.6.0 (ENABLED)
[17:18:43 INFO]: CaveBlock 1.6.0 (ENABLED)
[17:18:43 INFO]: Greenhouses 0.3.2-SNAPSHOT (ENABLED)
[17:18:43 INFO]: Level 1.7.0-SNAPSHOT-b280 (ENABLED)
[17:18:43 INFO]: Limits 1.6.0 (ENABLED)
[17:18:43 INFO]: MagicCobblestoneGenerator 1.5.0.1 (ENABLED)
[17:18:43 INFO]: SkyGrid 1.7.0-SNAPSHOT (ENABLED)
[17:18:43 INFO]: WelcomeWarps 1.6.1 (ENABLED)
>
Configuration

Additional context

tastybento commented 5 years ago

If you look a the bottom of the level addon's config.yml you'll see where you can set block values for different worlds. I put in the example of the acidisland world, but if it's not your world name you get this error. So, have a look there and edit accordingly.

mrfloris commented 5 years ago

O_O how did i not see that! THE HECK.. i scrolled and looked around, i even did a cntr-f to find 'acid', but got nothin..

I think i am not in sync with the universe today or something.

It's clearly there now, found it in an instant. Thank you - adjusted, restarted, went away.