Player Settings
On this page(15)
/settings lets each player switch on or off the effects that reach only them. These are bars,
titles, sounds, particles, chat lines and the automatic purchases. You set the default of every setting,
lock the ones nobody may change, or sell one behind a permission.
| Files | settings.yml, guis/settings-hud.yml, settings-visuals.yml, settings-chat.yml, settings-auto.yml |
| Player command | /settings |
| Admin commands | /dungeons admin settings view|set ... |
| Command block | menus.settings of config.yml |
How it works
/settings opens four tabs: HUD, Visuals And Sounds, Chat and Automation. The tabs
sit on the top row of every menu.
- Each tile shows one setting as
ENABLEDorDISABLED. A click switches it for that player only, and the menu repaints. - Reset to Defaults (bottom left) puts every setting of the tab back to its default.
- Toggle All switches them all on when one is off, otherwise all off.
- A locked setting shows
LOCKED. A setting of a module that is off showsUNAVAILABLE, and Toggle All and Reset skip both.
A setting switched off clears what it shows at once: the HUD, the target bar, the momentum bar, the second hand. Switched back on, what is live shows again at once. A one-shot effect (a damage number, a sound, a message, a title, the summary) shows from the next one.
A setting only changes what the player sees. Damage, rewards and boosters always happen, and hidden enchant entities still fight and hit.
Only the settings a player changed are stored. A relog and a reload keep them.
settings.yml
One block per owner (core or a module id), one block per setting under it. The setting id is
<owner>.<setting>, such as zones.target-bar.
zones:
damage-numbers:
default: true
locked: false
permission: ''| Key | Default | What it does |
|---|---|---|
default | The value of a player who never changed it. A change reaches everyone who did not choose, also on /dungeons reload | |
locked | false | true = nobody can change it and everyone uses default. The tile shows it locked |
permission | '' | '' = everyone may change it. A node = only a player who has it may change it. Everyone else uses default and sees the tile locked |
The permission is checked at the join, at each click of the menu, at a reload, and every
settings.permission-check-seconds of config.yml.
Key (config.yml) | Default | What it does |
|---|---|---|
settings.permission-check-seconds | 30 | Seconds between two checks of the setting permissions of every online player, 0 to 3600. 0 = only at the join, a click and a reload |
Every setting
HUD
| Setting | Default | What it switches |
|---|---|---|
core.action-bars | on | Every action bar: the zone HUD bar, [actionbar] of rewards and menus, the enchant action bar steps |
core.titles | on | Every title: the pouch reveal, [title] of rewards and menus, the enchant title steps, the global booster title |
core.booster-bars | on | The boss bars of the global boosts, and the title of a global booster (the title also needs core.titles) |
zones.hud-xp-bar | on | The leveling shown on the experience bar. Off shows your real experience |
zones.target-bar | on | The boss bar of the mob you hit |
sword.momentum-bar | on | The boss bar of the momentum enchants |
contests.bossbar | on | The boss bar of a running event: time left, your place and score |
Visuals And Sounds
| Setting | Default | What it switches |
|---|---|---|
core.sounds | on | The sounds of the enchants and of the zone NPC's throws |
core.particles | on | The particles of the enchants and the trail of a thrown mob |
core.pouch-animation | on | The digit by digit reveal of an opened pouch (off = only the final title) |
zones.damage-numbers | on | The damage hologram over the mob you hit |
zones.show-visitors | on | The players who visit you with /zone visit (a spectator is never seen) |
sword.enchant-entities | on | The mobs, fake players, displays, lightning and second hand your enchants spawn. Off hides them from you only |
perks.roll-animation | on | The ring of glass that reveals a perk roll (off = the result at once) |
auras.view-own | on | Your own ring of aura heads (the others still see it) |
auras.view-others | on | The aura rings of the other players |
armors.view-own | on | Your armor set in your own armor slots. Off shows you your real armor |
armors.view-others | on | The armor sets of the other players |
autofighter.view-others | on | The autofighters of the other players |
afk.view-others | on | The AFK clones of the other players (yours always show) |
afk.effects | on | The particle and sound of a clone appearing and going |
heroes.view-others | on | The heroes of the other players |
companions.view-own | on | Your own companions |
companions.view-others | on | The companions of the other players |
milestones.title | on | The title of a milestone completed (also needs core.titles) |
The Visuals tab also has tiles for snpets.view-own and snpets.view-others. Those settings belong
to the SnPets plugin and work only while it is installed and registers them.
Chat
| Setting | Default | What it switches |
|---|---|---|
core.grind-summary | on | The grind summary |
core.level-unlocks | on | The lines of a level-up that tell what it unlocked, or how many levels are missing |
core.booster-notices | on | The automatic notices of the booster backpack: a booster that ended, the next one that started |
core.auto-notices | on | The chat line of an automatic purchase (the purchases happen either way) |
core.luck-messages | on | The chat line each time luck changes something for you |
sword.enchant-notifications | on | The chat lines, action bars and titles of the enchants and the momentum milestones |
zones.visit-notice | on | The chat line when a player visits you (never for a spectate) |
perks.broadcasts | on | The announcements of other players' perk rolls (yours always show) |
auras.notifications | on | The messages of your auras that step up, and the reminder to equip one |
milestones.reminder | on | The periodic reminder of the milestone rewards not claimed |
totems.levelup-messages | on | The chat line of a totem that reached a level |
armors.unlock-notify | on | The title and chat line of an armor set unlocked (the title also needs core.titles) |
armors.level-messages | on | The chat line of an armor level reached |
armors.boost-messages | on | The chat line of a Set or Skin Multi Boost started |
afk.messages | on | The chat lines when your AFK clones appear and go |
contests.announcements | on | The chat lines of the events: a start, a skipped start, the top at the end, a new record |
hunts.reminder | on | The reminder of the completed hunts not claimed yet |
A title or action bar that also has its own setting needs both on. For example an enchant title needs
sword.enchant-notifications and core.titles.
Automation tab
| Setting | Default | What it switches |
|---|---|---|
sword.auto-max | off | Auto Sword Max: buys every next sword tier you can afford, like /sword max |
zones.auto-max | off | Auto Zone Max: buys every next zone stage you can afford, like /zone max |
zones.auto-max-killable | off | Killable Stages Only: buys only the next stages whose mob you kill fast enough |
core.auto-rebirth | off | Auto Rebirth: buys your next rebirth as soon as you can pay it |
heroes.auto-summon | off | Auto Heroes: your Ready heroes come back by themselves in your zone. Needs sndungeons.heroes.auto |
Automation
The Automation tab switches on purchases that happen by themselves, each for that player only.
- Auto Sword Max (
sword.auto-max): every next sword tier the balance covers. - Auto Zone Max (
zones.auto-max): every next zone stage the balance covers. - Killable Stages Only (
zones.auto-max-killable): only the next stages whose mob the player kills withinauto-max.killable-secondsofmodules/zones/config.yml(10). It applies whenever it is on, also with Auto Zone Max on. - Auto Rebirth (
core.auto-rebirth): one level of the first track ofauto.rebirth-tracksthat the player can pay.
The kill time is the health of a mob of the next stage (no rarity), over the player's damage per
second. That is one swing's damage times their swings per second, boosters included. Without a
sword, no stage is killable. %sndungeons_next_kill_seconds% and %sndungeons_next_killable% show
the estimate.
Each purchase keeps the gates of the command it mirrors. /sword max, /zone max or /<track> up
must be enabled, and the player needs their permissions (and the root's).
A player is checked after a gain, a level change, a join, or switching the setting on. A check buys at most one kind of thing, then looks again later, so a long climb goes step by step.
With auto-max.teleport: true, a stage bought in another zone moves the player there. It does so
only when they stood at their progress and are in that zone's world. Otherwise the stage reached only becomes the
stage they are at. teleport: false stops at the last stage of the zone of their progress.
A purchase sends a chat line while Automation Notices (core.auto-notices) is on.
The auto block
Key (config.yml) | Default | What it does |
|---|---|---|
auto.interval-ticks | 20 | Ticks between two checks of the players who gained something or leveled up (20 = one second), 10 to 1200 |
auto.max-players-per-pass | 50 | Most players one check handles, 1 to 1000. The rest wait for the next one |
auto.rebirth-tracks | ['rebirth'] | The tracks Auto Rebirth buys, in order. Each must be paid with a level (cost.type: level). Any other id is skipped with one warning |
The menus
| File | Tab | Layout letters |
|---|---|---|
guis/settings-hud.yml | HUD (opened by /settings) | H, V, C, A: the tabs; a to g: the settings; R: Reset to Defaults; T: Toggle All |
guis/settings-visuals.yml | Visuals And Sounds | The same tabs, buttons and one letter per setting |
guis/settings-chat.yml | Chat | The same |
guis/settings-auto.yml | Automation | The same |
Each setting has five items on its cell, one per state of %sndungeons_setting_<id>%. They are
on, off, locked-on, locked-off, and a last one with no condition for unavailable. See
Menus and Action Tags.
| Action | What it does |
|---|---|
[settings] toggle <setting> | Switches one setting |
[settings] all <hud|visuals|chat|auto> | Toggle All |
[settings] reset <hud|visuals|chat|auto> | Reset to Defaults |
[settings] open <hud|visuals|chat|auto> | Opens a tab |
These actions need the permission of /settings and skip the locked and unavailable settings. A
click that cannot change a setting answers messages.settings.locked, unavailable, busy,
not-allowed or no-permission of the language file.
A setting another plugin registers gets a tile only when you add one to a menu.
The command
menus:
settings:
command: settings
aliases: []
permission: ''command: '' removes /settings. permission: '' = everyone. The menu buttons ask for the same
permission. See General Config.
Commands
| Command | Permission | Description |
|---|---|---|
/settings | none | Opens your player settings |
/dungeons admin settings view <player> | sndungeons.admin.settings.view | An online player's settings with their state |
/dungeons admin settings set <player> <setting> <on|off|reset> | sndungeons.admin.settings.set | Sets an online player's setting, or back to its default |
See Commands for the full list.
Placeholders
The state of each setting for the viewer. See Placeholders.
| Placeholder | Value |
|---|---|
%sndungeons_setting_<setting>% | on, off, locked-on, locked-off or unavailable |
%sndungeons_setting_<setting>_label% | Its word, from status.state-<state> of the language file |
%sndungeons_setting_<setting>_permitted% | true when the player holds the setting's permission |
%sndungeons_next_kill_seconds% | The seconds a kill of a mob of the next stage takes you |
%sndungeons_next_killable% | Whether that is within auto-max.killable-seconds |
Tips
- Sell an automation as a rank perk with a
permission::
sword:
auto-max:
default: false
locked: false
permission: 'rank.vip'- Force an effect for everyone with
locked: trueand thedefaultyou want. - Players who never touched a setting follow its
default, so changing a default after launch reaches them too. /dungeons admin settings view <player>shows what a player chose, to answer "I can't see X".
Default settings.yml
# ============================================================
# SnDungeons - settings.yml
# The per-player settings of /settings: each player switches on or off
# the effects that reach only them. Re-read on /dungeons reload.
# Managed by SnLib: new keys are merged on boot while update-configs is
# true in config.yml; your values and comments are kept.
#
# One block per owner (core, a module id, or another plugin), one block
# per setting under it; the setting id is <owner>.<setting>
# (zones.target-bar).
# default: the value of a player who never changed it. A player who
# changed it keeps their choice; everyone else follows this
# value, also after a /dungeons reload that changes it.
# locked: true = nobody can change it and everyone uses default (the
# tile shows it locked; Toggle All and Reset skip it).
# permission: '' = everyone may change it. A permission node = only a
# player who has it may change it; everyone else uses
# default and sees the tile locked. Checked at the join, at
# each click of the menu and every
# settings.permission-check-seconds of config.yml.
# zones.hud-actionbar was merged into core.action-bars in 0.47.0: a
# player who had either one off keeps the action bar off; an old
# zones.hud-actionbar block left in this file is ignored.
# The settings of a module exist only while that module is enabled
# (its tiles show "not available" otherwise).
# Another plugin that registers its own setting through the API may get a
# block here too (an id nobody registers logs one warning per reload).
# ============================================================
core:
# The sounds of the enchants and of the zone NPC's throws.
sounds:
default: true
locked: false
permission: ''
# The particles of the enchants and the trail of the zone NPC's throws.
particles:
default: true
locked: false
permission: ''
# The grind summary in the chat (summary: in config.yml). summary.enabled
# of config.yml stays the switch for everyone.
grind-summary:
default: true
locked: false
permission: ''
# The automatic notices of the booster backpack: a backpack booster that
# ended and the next one of its type that started by itself. The replies
# to what a player does in the backpack always show.
booster-notices:
default: true
locked: false
permission: ''
# The boss bars of the global boosts (the global event and the global
# booster item) and the title shown when a global booster starts (the
# title also needs titles). The chat broadcasts always show.
booster-bars:
default: true
locked: false
permission: ''
# Every title SnDungeons sends: the pouch reveal, the [title] of level
# and rebirth rewards and menus, the enchant title steps and the global
# booster title. A title that also has its own setting needs both on.
titles:
default: true
locked: false
permission: ''
# Every action bar: the zone HUD bar (hud.actionbar of the zones module),
# the action bars of rewards and menus ([actionbar]) and of the enchant
# actionbar steps (those also need enchant-notifications).
action-bars:
default: true
locked: false
permission: ''
# The digit by digit reveal of an opened currency pouch. Off = only the
# final title (when titles is on); the money and the chat line always
# come at once.
pouch-animation:
default: true
locked: false
permission: ''
# The chat line an automatic purchase sends when it bought something
# (sword tiers, zone stages). The purchases happen either way.
auto-notices:
default: true
locked: false
permission: ''
# The chat line (its sound follows sounds) each time luck changes
# something for the player (luck.yml): a free purchase, an extra level, a
# double reward. The luck applies either way. locked: true with default:
# true shows it to everyone. A line from an automatic purchase also needs
# auto-notices.
luck-messages:
default: true
locked: false
permission: ''
# The chat lines of a level-up that tell what it unlocked, or how many
# levels are missing until the next level that unlocks something (the
# unlocks: of each file of the levelings folder). The levels and their
# rewards come either way.
level-unlocks:
default: true
locked: false
permission: ''
# Automation: the next level of a rebirth track (auto.rebirth-tracks of
# config.yml) is bought by itself as soon as the player can pay it.
auto-rebirth:
default: false
locked: false
permission: ''
zones:
# The leveling bar shown on the experience bar (hud.xp-bar).
hud-xp-bar:
default: true
locked: false
permission: ''
# The boss bar of the mob being hit (mobs.bossbar).
target-bar:
default: true
locked: false
permission: ''
# The damage hologram over the mob being hit (mobs.damage-hologram).
damage-numbers:
default: true
locked: false
permission: ''
# Automation: every next stage the player can afford is bought by itself
# (like /zone max; it needs /zone max enabled and its permission).
auto-max:
default: false
locked: false
permission: ''
# Automation: only the next stages whose mob the player kills within
# auto-max.killable-seconds of the zones config are bought by themselves.
# Applies whenever it is on, also with auto-max on.
auto-max-killable:
default: false
locked: false
permission: ''
# Whether you see the players who visit you (/zone visit); a spectator
# (/zone spectate) is never seen.
show-visitors:
default: true
locked: false
permission: ''
# The chat line when a player visits you (/zone visit).
visit-notice:
default: true
locked: false
permission: ''
sword:
# The boss bar of the momentum enchants.
momentum-bar:
default: true
locked: false
permission: ''
# The chat lines, action bars and titles of the enchants (their message,
# actionbar and title steps) and the momentum milestones. A title also
# needs core.titles, an action bar core.action-bars.
enchant-notifications:
default: true
locked: false
permission: ''
# The mobs, fake players, displays, lightning bolts and the second hand
# your enchants spawn. Off hides them from you only: their hits, damage
# and rewards stay exactly the same.
enchant-entities:
default: true
locked: false
permission: ''
# Automation: every next sword tier the player can afford is bought by
# itself (like /sword max; it needs /sword max enabled and its permission).
auto-max:
default: false
locked: false
permission: ''
perks:
# The ring of glass that reveals a perk roll in the Tool Perks menu
# (/perks; its animation button switches this same setting). Off = the
# result shows at once. The perk is decided before the ring turns either way.
roll-animation:
default: true
locked: false
permission: ''
# The chat lines that tell when another player pulls a perk at its
# broadcast-from level or above (modules/perks/perks/<perk>.yml) and when
# the pity gives a perk (pity.broadcast of modules/perks/config.yml). Your
# own rolls are always told to you.
broadcasts:
default: true
locked: false
permission: ''
auras:
# Your own ring of aura heads. Off hides it from you only: the others still
# see it, and the boosters and the progress stay exactly the same.
view-own:
default: true
locked: false
permission: ''
# The rings of aura heads of the other players. Off hides them from you
# only.
view-others:
default: true
locked: false
permission: ''
# The chat messages of your auras that step up at a milestone and the
# reminder to equip one. Off changes nothing of the progress.
notifications:
default: true
locked: false
permission: ''
milestones:
# The title shown when you complete a milestone (notify.title of the
# milestones config). It also needs core.titles.
title:
default: true
locked: false
permission: ''
# The reminder in the chat of the milestone rewards not claimed yet
# (notify.reminder-minutes of the milestones config).
reminder:
default: true
locked: false
permission: ''
totems:
# The chat line of a totem that reached a level (the level, its boost and
# the event happen either way).
levelup-messages:
default: true
locked: false
permission: ''
armors:
# The title and the chat line of an armor set unlocked (the title also
# needs core.titles). The set is
# unlocked and equipped either way.
unlock-notify:
default: true
locked: false
permission: ''
# The chat line of an armor level reached.
level-messages:
default: true
locked: false
permission: ''
# The chat line of a Set or Skin Multi Boost started (the boost runs
# either way).
boost-messages:
default: true
locked: false
permission: ''
# Your armor set in your own armor slots (third person and the
# inventory). Off shows you your real armor; the others still see the
# set. In creative you always see your real armor.
view-own:
default: true
locked: false
permission: ''
# The armor sets of the other players. Off shows you their real armor;
# the levels and boosters stay exactly the same.
view-others:
default: true
locked: false
permission: ''
autofighter:
# The autofighters (the NPCs and their names) of the other players. Off
# hides them from you only; your own always shows, and the fights stay the
# same.
view-others:
default: true
locked: false
permission: ''
afk:
# The afk clones (and their names) of the other players. Off hides them
# from you only; your own always show, and their hits and pay stay the same.
view-others:
default: true
locked: false
permission: ''
# The particle and sound of a clone appearing and going (spawn-effect of
# modules/afk/config.yml).
effects:
default: true
locked: false
permission: ''
# The chat lines when your clones appear and go (afk.started and
# afk.stopped of modules/afk/lang/messages_en.yml).
messages:
default: true
locked: false
permission: ''
heroes:
# The heroes (the mobs and their names) of the other players. Off hides
# them from you only; your own always show, and the fights stay the same.
view-others:
default: true
locked: false
permission: ''
# Auto Heroes: your Ready heroes come back by themselves while you stand in
# the mob area of your zone (every auto-summon.check-seconds of
# modules/heroes/config.yml). A hero you send to rest yourself stays
# asleep until you summon it again or Summon All. It needs the permission
# below: without it the setting stays off and its tile shows it locked.
auto-summon:
default: false
locked: false
permission: 'sndungeons.heroes.auto'
contests:
# The boss bar of a running event (/event): the time left, your place and
# your score. Off hides it from you only; the event is the same.
bossbar:
default: true
locked: false
permission: ''
# The chat lines of the events: a start, a skipped start, the top at the
# end and a new record. The replies to your own commands always show.
announcements:
default: true
locked: false
permission: ''
companions:
# Your own companions (SnCompanions) following you. Off hides them from you
# only: the others still see them, and their boosters stay the same.
view-own:
default: true
locked: false
permission: ''
# The companions of the other players. Off hides them from you only.
view-others:
default: true
locked: false
permission: ''
hunts:
# The reminder in the chat of the completed hunts not claimed yet
# (reminder-minutes of the hunts config).
reminder:
default: true
locked: false
permission: ''