Installation
On this page(5)
SnDungeons is a licensed Sn plugin built on SnLib. You install the jar, start the server once to create the license file, paste your key and restart. The plugin then creates every config, menu and example file on its own.
| Needs | SnLib 1.45.0 or newer, Paper 1.20.4 to 26.x, Java 21+ |
| Creates | plugins/SnDungeons/ (configs, menus, examples, database) |
| License file | license.yml |
| Database | SQLite by default, MySQL optional |
Install and activate
- Download the latest version from sndevelopment.dev.
- Make sure SnLib (1.45.0 or newer) is in your
plugins/folder. - Place the SnDungeons
.jarinto your server'splugins/folder. - Start the server once. The plugin creates
plugins/SnDungeons/license.ymland nothing else. - Paste your Sn license key into that file, keeping the quotes:
license.yml
# Sn License - paste the license_id you received from snopeyy here.
license-id: "PASTE-YOUR-LICENSE-ID-HERE"- Restart the server. The plugin validates the key at startup, then creates its configs, menus, currencies, levelings, modules and database.
Without a valid key the plugin refuses to enable and creates no other file. [Sn] License: FAIL in
the console means the key is missing or invalid, or the license server could not be reached.
SnDungeons requires SnLib (depend: [SnLib]), version 1.45.0 or later. Without it the plugin
does not load.
Dependencies
Only SnLib is required. Every other plugin unlocks one optional feature and is detected on its own.
| Plugin | Required | What it adds |
|---|---|---|
| SnLib | Yes | The engine SnDungeons runs on |
| PlaceholderAPI | No | The %sndungeons_...% placeholders in menus, the HUD and texts |
| SnSuperiorSkyblock | No | The island visibility mode of the isolated zone worlds |
| BetterModel | No | BetterModel models on mobs, NPCs and enchant entities |
| ModelEngine | No | ModelEngine models on the same entities |
| floodgate | No | A model form that Bedrock players can see |
| SnCompanions | No | Needed by the companions module only (its API 1.1.0 or newer) |
SnDungeons registers its own sndungeons PlaceholderAPI expansion. You do not download anything
from the PlaceholderAPI ecloud. Without PlaceholderAPI the menus show their placeholders as written,
and the console prints one warning.
Server requirements
| Requirement | Value |
|---|---|
| Server software | Paper 1.20.4 up to 26.x, one jar |
| Java | 21 or newer (26.x servers run on Java 25) |
| Folia | Not supported |
| Database | SQLite by default, MySQL optional |
There is no version check. On startup the packet layer logs one line with the features it found, for
example Packet layer ready (mojang, 18/18 features). A feature an older server lacks is switched
off on its own, and the rest keeps working. /dungeons admin nms stats shows the same report in game.
| Server | What changes |
|---|---|
| 1.20.4 | No entity scale: an item model shown on an armor stand keeps its normal size |
| Below 1.20.5 | An item glint uses a hidden enchantment instead of the glint override |
| Below 1.21.2 | Currency pouches made of BUNDLE are built as LEATHER |
| Below 1.21.4 | Item models (item-model) show the base material, and armor equipment-model looks do not show |
Each model engine keeps its own version support. BetterModel runs on Paper 1.21.x only. On another version the engine models fall back to the vanilla look.
Database
database: in config.yml selects the storage:
- SQLite (
type: sqlite, the default): the fileplugins/SnDungeons/database.db. Nothing else to set. - MySQL (
type: mysql): fill inhost,port,database,usernameandpassword.
database:
type: mysql
host: localhost
port: 3306
database: sndungeons
username: root
password: "your-password"The database settings are read at startup only, so a change needs a restart. Every table is created on the first start, even for a module that is off.
Next step
Your server is ready. Follow the Quick Start to place the example zone barn
and fight its mobs. It also walks you through the sword, the enchants and the core menus.
See also Files and Reloads for what the plugin created and how each file updates.