Core Systems
On this page(3)
The core is the part of SnDungeons that always runs. It holds the economy, the levelings, the
boosters, the menus, the messages and the player settings. The modules build on it. You configure the core in the
files at the root of plugins/SnDungeons/, and each module in its own modules/<id>/ folder.
| Files | config.yml, boosters.yml, stats.yml, settings.yml, luck.yml, lang/, guis/, currencies/, levelings/, objectives/ |
| Admin commands | /dungeons admin <component> ...: currencies, levelings, nms, boost, api, inspect, settings, pouch, upgrades, objectives, luck |
| Switch | None as a whole. Some parts have their own switch, such as summary.enabled or nms.enabled |
Core or module?
| Core | Module | |
|---|---|---|
| Can be switched off | No (only single features, by their own key) | Yes, enabled: in modules/<id>/config.yml + /dungeons reload |
| Where it lives | The plugin root: config.yml, guis/, lang/... | modules/<id>/ |
| Depends on | Nothing else | The core, and sometimes another plugin |
| Admin commands | /dungeons admin <component> ... | /dungeons admin <module> ... |
The core never needs a module. A module that is off simply stops feeding the core. Its boosters, settings tiles, placeholders and objective types go away until it is back. The data it stored stays.
See Modules for the list of modules.
The core pages
| Page | What it covers |
|---|---|
| General Config | The global blocks of config.yml: language, merge, debug, command, database, API, packet layer |
| Menus and Action Tags | How every menu file works, the shipped menus, and every action tag you can use |
| Messages and Colors | The language files, translations, color codes, hex, MiniMessage and placeholders |
| Models | Custom models on mobs, NPCs, enchant entities and the second hand |
| Player Settings | /settings, settings.yml and the automatic purchases |
| Grind Summary | The periodic chat summary of what a player earned |
| Objectives | What players did, counted for the hunts and other plugins |
| Currencies | Your own currencies, each with its command, top and log |
| Currency Pouches | Items that give a random amount of a currency |
| Currency Shops | Rotating shops paid with a currency |
| Levelings | Leveling tracks such as level and rebirth, with rewards and unlocks |
| Leveling Upgrades | Upgrades bought with the points of a track |
| Boosters | Boost targets, personal boosters, the backpack and the global boosts |
| Luck | Luck effects that waive a cost or double a reward |
| Stats and Tops | Swings, damage and the other stats, and every leaderboard |
Tips
- Start with General Config: its
update-configsanddebugkeys matter for every other file. - Read Files and Reloads once. It explains why some files update with a new jar and others never do.