FAQ
On this page(13)
How do I update SnDungeons?
Download the newer version from https://sndevelopment.dev/plugins/sndungeons and replace the jar. Configs auto-merge on restart: managed files and menus get the new keys, and your values and comments stay.
Owner folders such as currencies/, levelings/ and the module content folders are never merged.
New example files from a newer jar reach new installations only. See
Files and Reloads for every file kind.
Does it support Folia?
No, SnDungeons is not Folia-compatible.
Which server versions does it run on?
One jar runs on Paper 1.20.4 up to 26.x. There is no version check. On startup the packet layer
logs one line, such as Packet layer ready (mojang, 18/18 features).
A feature an older server lacks is switched off and named in that line. Everything else keeps
working. /dungeons admin nms stats shows the same report in game.
How do I turn a module off?
Set enabled: false, the first key of modules/<id>/config.yml, then run /dungeons reload. No
restart is needed. Its commands, menus and messages go, and its stored data stays for when you
switch it back on.
/dungeons admin modules lists every module and its state. See Modules.
How do I create my own sword enchant?
Create a file in modules/sword/enchants/, add its tiles to the enchants menus, and run
/dungeons reload. Your First Enchant walks through all of it,
and Enchant Creation documents every key and action.
I added an enchant file but it is not in the menu. Why?
The menus are fully declared: each enchant needs its own tiles in
modules/sword/guis/enchants.yml (or enchants-2.yml) and upgrade.yml. The enchant already
works without them, but players cannot buy it. See Menu Tiles.
Can an AI agent write enchants for me?
Yes. The AI Agent Skill page has a skill file that teaches an agent the whole enchant format. It delivers the enchant file, its menu tiles and the test commands.
How do I test an enchant quickly?
Run /dungeons admin sword testenchant <you> <enchant> [level]. Your next swing at a zone mob procs
that enchant, and only it. See Testing and Errors.
Where does my license key go?
In plugins/SnDungeons/license.yml, as the value of license-id. The plugin creates that file on
its first start and refuses to enable until the key validates.
Can I use MySQL instead of SQLite?
Yes. Set database.type: mysql in config.yml and fill in host, port, database, username
and password. The database settings are read at startup only, so restart the server after
changing them.
Why is the companions module off?
The companions module needs SnCompanions installed. Without it, that module stays off with one console warning naming the reason. Every other module keeps working, and the plugin checks again on every reload.
My menus show %sndungeons_...% as plain text. Why?
PlaceholderAPI is not installed. SnDungeons registers its own sndungeons expansion, so you do not
download anything from the ecloud. Install PlaceholderAPI and restart. See
Placeholders.
How do I see what is happening to one player?
Run /dungeons admin inspect player <player>. It shows the currencies, levelings, boosters, stats
and the section of every enabled module, read from memory. /dungeons debug toggles the debug
output live.