Quick Start
On this page(11)
This page walks you through your first session as a server owner. You place the shipped example
zone barn and fight its mobs as a player. Then you buy a sword tier and an enchant level, and open
the core menus. Every command below is a shipped default.
| You need | A running server with SnDungeons installed (Installation), operator rights |
| Example zone | modules/zones/zones/barn.yml |
| Time | About ten minutes |
Run the admin steps as an operator. /dungeons and every /dungeons admin ... command need
sndungeons.admin. The player commands (/zone, /sword, /settings...) are open to everyone by
default.
1. Check the modules
Run /dungeons admin modules. It lists every module with its state, Enabled or Disabled.
Every module ships enabled. The companions module stays off without the SnCompanions plugin, and the console says why in one line. Everything else keeps working.
To switch a module off, set enabled: false (the first key of modules/<id>/config.yml) and run
/dungeons reload. See Files and Reloads.
2. Place the zone spawn
Every player starts at stage 1 of the first zone, barn. The zone needs a spawn, the place where
/zone go and a purchase take players.
- Go to the world where you want the zone. A world listed in
isolation.worldsofmodules/zones/config.yml(dungeonsby default) keeps every player alone there. - Stand where players should arrive, facing the way they should look.
- Run
/dungeons admin zones setspawn barn.
The plugin writes the spawn into barn.yml. Every stage of the zone shares it.
3. Mark the mob area
The mob area is the box where each player sees the mobs of their stage. Without it the zone shows no mobs.
- Run
/dungeons admin zones wandto get the wand. - Left click a block for the first corner, then right click the opposite corner. Particles show the box.
- Run
/dungeons admin zones setarea barn.
The box must be in the same world as the zone spawn. setarea also writes max-mobs: 20 and the two
mob distances the first time.
setspawn and setarea rewrite the whole zone file from what was loaded last. After you edit
barn.yml by hand, run /dungeons reload before you use them again, or your edit is lost.
4. Place the zone NPC (optional)
The NPC is a fake player that throws new mobs into the area. Without it, new mobs simply appear in place.
Stand where it should go, facing where it should look, and run
/dungeons admin zones setnpc barn. Add a player name to give it that skin:
/dungeons admin zones setnpc barn Notch.
Run /dungeons admin zones list to see the zone, its stages and how many can use the spawn. More in
Zone NPC and Mob Refresh.
5. Join the zone as a player
- Run
/zone go. You are teleported to the barn spawn. - Run
/zoneto see your zone, your stage and the price of the next stage. - Run
/zonesto open the zones menu. Click a zone to see its stages.
Inside the mob area you see the stage 1 mobs. Nobody else sees your mobs, and you do not see theirs.
6. Use the sword
The sword module gives every player a sword in the first hotbar slot when they join.
- Left click a mob with the sword in your main hand. It becomes your target, and the sword hits it on its own a few times per second until it dies.
- Clicking faster adds no damage: a click only picks the target.
- Walking too far away, holding another item or leaving the area stops the hits.
Each kill pays the stage rewards: money and experience at stage 1. The experience levels up the
level track on its own. The action bar shows what you earn per minute.
Run /money and /level to see your balance and your level. See Fighting and
Rarities for the fight in detail.
7. Buy a stage, a sword tier and an enchant level
The shipped prices take a while to reach, so give yourself the currencies to test. Replace Steve
with your name.
- A stage. Run
/money give Steve 15K, then/zone buy. You unlock stage 2 and are taken to the zone spawn. - A sword tier. Run
/money give Steve 150K, then/sword. The tiers menu opens: click Upgrade, or run/sword upgrade. The new tier hits harder. - An enchant level. The shipped enchants cost
souls. Run/souls give Steve 500, then right click with the sword (or run/sword enchants). Click Critical and buy one level.
To see an enchant at once, run /dungeons admin sword testenchant Steve critical. Your next swing
procs Critical for sure, with no chance or cooldown check.
8. Open the core menus
These menus come with the plugin and work with every module:
| Command | What it opens |
|---|---|
/settings | Your player settings: HUD, Visuals And Sounds, Chat and Automation |
/boosts | Your active boosts for each target |
/boosterbackpack | Your stored booster items |
/luck | Your Luck and the chance of every luck effect |
/tops | The leaderboards of currencies, levels and stats |
/rebirth | The rebirth menu of the rebirth track |
/souls shop | The souls shop (the only shipped currency with a shop) |
The modules add their own menus: /perks, /auras, /totems, /crystals, /armor, /heroes,
/hunt and more. See Modules.
9. Edit a file and reload
- Open
modules/zones/zones/barn.ymland changemax-mobsundermob-area:to10. - Run
/dungeons reload.
Only what changed is applied. The console prints one line that names it, for example
Reload: ... zones: mobs of barn: respawned for 1 players, changed in place for 0; .... See
Files and Reloads for what each kind of file does on a reload.
10. Inspect a player
Run /dungeons admin inspect player Steve. It prints what the plugin computed for an online player,
read from memory. You get the currencies, levelings, boosters, stats and settings. Each enabled
module adds its section (the zone, the fight target, the sword damage chain...).
Run /dungeons debug to switch the debug output in the console on or off. The debug: block of
config.yml sets how much it prints. See General Config.
Where to go next
- Zones: add zones and stages, rarities, the HUD and isolated worlds.
- Sword: tiers, the sword item and the enchants menu.
- Currencies and Levelings: your own economy.
- Enchant Creation: write your own enchants.
- Commands and Permissions: the full lists.