-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help setting up dungeon: Always says it includes 3 maps #192
Comments
You've added the Calvara_Map three times: As the start floor, as the end floor and once again in the floor list. You do not need a script to link floors if your dungeon has just one map. I will have a look at the NullPointerExceptions, though, and fix the bugs. Thank you very much for your report :) |
If I wanted players to keep their inventories when joining a dungeon with only 1 floor, I would create a floor config, rather than this one, right? Also, where would I put the floor config, assuming that's what I need to make? |
That's correct. Alternatively, you can add keepInventory to the default section of the main configuration. The floor config goes into the floor, so DungeonsXL/map/%mapName%/config.yml An example is available here: https://github.com/DRE2N/DungeonsXL/wiki/floor-configuration |
Also, when I type /dxl leave in a lobby, before the game, the plugin gives an NPE. It also keeps saying the map hasn't been saved to the right directory, although it is there. I would also recommend using .equalsIgnoreCase() for commands, so commands are recognized even without the right case (/dxl leave or /dxl Leave) |
I didn't even notice it's case sensitive yet ¯_(ツ)_/¯ I'm pretty sure all of these issues you're getting are a result of the same problem. I'm working on it. |
Should be fixed in 0.15.5. |
I Have been reading, and rereading, the Docs since yesterday, and have used YAMLlint on the files I have made, but I cannot seem to get my dungeon to load. The files I have made are a loot table that does work, and a dungeon yml that doesn't seem to load my dungeon.
My dungeon's .YML file, Calvara.yml makes DungeonsXL think that there are three Maps that are needed, and doesn't load the dungeon because the map Calvara_Map is missing, even though it is in the right folder. The docs weren't that clear on how to make my own dungeon .YML file, they just showed an example, and options for overrides.
Sorry if this is obvious, I'm probably just overlooking something xD
Edit: Now whenever I try /dxl play map Calvara_Map it gives me a NPE. The log is here.
The text was updated successfully, but these errors were encountered: