Auras
On this page(20)
Every player owns one aura of each type from the first day. An equipped aura gives a booster and orbits its owner as a textured head. While you fight, your auras climb through rarities and tiers at every Aura Milestone. You use auras as a free, slow progression that rewards time spent swinging.
| Files | modules/auras/config.yml, modules/auras/types/ (one file per aura type), modules/auras/guis/, modules/auras/lang/messages_en.yml |
| Player command | /auras (alias /aura) |
| Admin commands | /dungeons admin auras ... |
| Switch | enabled: (first key of modules/auras/config.yml) + /dungeons reload |
How it works
- One aura per type. Each file of
modules/auras/types/is a type. Every player starts each type at Tier 1 and the first rarity. - Equip. In
/auras, a click on a type equips it in your first free slot. A click on an equipped slot takes it off, and the slots stay together. - The booster. An equipped aura gives the booster of its type. Its value is the tier's value (the type file) times its rarity's
multiplier. - The ring. All your equipped auras orbit you as heads, in one rigid ring.
- Aura Milestone. Swings of the zone mob fight fill a counter, but only while you have an aura equipped. At
milestone.swings, each equipped aura rollsmilestone.chanceto move one step up. - A step is the next rarity. After the last rarity it is the first rarity of the next tier, even when that value is lower. The last rarity of the last tier is the top.
- Upgrades. Aura Upgrades sells Swing (fewer swings per milestone) and Chance (a higher step-up chance).
When the counter reaches the requirement, the requirement is taken off and what is left stays. A player with no aura equipped and a free slot gets a reminder every reminder.interval-minutes.
Example
The Money type has a Tier 4 value of 1.00, and the last rarity (Mythic) has multiplier: 2.0. A Money aura at Tier 4 Mythic adds +2.0 to the money target.
Boosters
Each equipped aura is one additive booster aura-<type>, named by booster-name and listed in /boosts. It adds to the base of its target, together with perks, totems, attributes, armors and admin boosters. Crystals multiply that total instead. See Boosters.
Who sees a ring
- Nobody who cannot see its owner. A dead or spectating owner's ring is seen by nobody.
- A vanished owner (the
vanishedmetadata of Essentials, SuperVanish or CMI): only the owner sees it. - In the isolated zone worlds, the zones isolation rule applies both ways. See Isolated Zone Worlds.
- A viewer must stand within the ring's
view-range(the largest of its heads). - Each player can hide their own ring and the rings of others in
/settings.
Configuration
General
| Key | Default | What it does |
|---|---|---|
enabled | true | The module switch. Off: /auras disappears, every ring goes away and the aura boosters stop. The auras stay stored. |
display-name | '&dAuras' | The module's name in /dungeons admin modules. |
booster-name | '{type} Aura' | The name of an aura's booster in /boosts. {type} is the type's name. |
click-cooldown-ms | 250 | The fewest milliseconds between two equip or unequip clicks of a player. |
reminder.interval-minutes | 60 | How often a player with no aura equipped and a free slot is told to equip one. 0 = never. |
upgrade-amounts | [1, 10, 'max'] | The levels a left, right and shift click buy. max = every level the balance covers, up to max-level. |
slots
| Key | Default | What it does |
|---|---|---|
slots.base | 4 | The slots every player has. |
slots.max | 6 | The most slots anyone can have (1 to 54). |
A player's slots are slots.base, plus the highest <n> of the permissions sndungeons.auras.slots.<n> they hold, plus the slots an admin added. The total never passes slots.max. A player who joins with fewer slots than auras equipped loses the auras of the highest slots, with a message.
milestone
| Key | Default | What it does |
|---|---|---|
milestone.swings | 40000 | The swings of one milestone. The Swing upgrade takes swings off this. |
milestone.chance | 0.50 | The chance of each equipped aura to step up (0 to 1). The Chance upgrade adds to it, at most 1. |
milestone.min-swings | 1000 | The fewest swings a milestone ever needs, whatever the upgrades and the API. |
rarities
The rarity steps of every tier, in progress order. A missing list uses the shipped seven.
| Key | Example | What it does |
|---|---|---|
id | aqua | The rarity id (a-z 0-9 _ -). |
name | '&bAqua' | Shown in menus and messages. A resource pack glyph works too. |
colors | ['&3', '&b'] | {color} (the type's name) and {accent} (the word Aura in a title). |
multiplier | 1.0 | The aura's value at this rarity is its tier's value times this. |
Shipped rarities and multipliers: Aqua 1.0, Green 1.1, Blue 1.2, Gold 1.3, Red 1.4, Purple 1.5, Mythic (gradient) 2.0.
upgrades
Two upgrades, swing and chance, both with the same keys.
| Key | Default | What it does |
|---|---|---|
upgrades.<id>.currency | souls | The currency the upgrade is bought with. |
upgrades.<id>.max-level | 10 | Its highest level. |
upgrades.<id>.per-level | 1000 (swing), 0.01 (chance) | Swing: swings taken off every milestone. Chance: added to every aura's chance (0.01 = 1%). |
upgrades.<id>.cost.type | exponential | exponential or linear. |
upgrades.<id>.cost.starting-cost | 50000 | The price of the first level. |
upgrades.<id>.cost.growth | 1.25 | Exponential: the price of level L to L + 1 is starting-cost x growth^L. |
upgrades.<id>.cost.increase-cost-by | 0 | Linear: the price of level L to L + 1 is starting-cost + increase-cost-by x L. |
With the shipped values, the Swing upgrade at level 10 brings a milestone down to 30000 swings. The Chance upgrade at level 10 raises the chance to 60%.
render
The rings of heads orbiting the players.
| Key | Default | What it does |
|---|---|---|
render.worlds | [] | The worlds rings are drawn in. [] = the isolated worlds of the zones module, or every world without them. |
render.interval-ticks | 2 | Ticks between two steps of every ring (2 or more; 2 = 10 steps per second). |
render.orbit.radius | 0.7 | The circle's radius, in blocks. |
render.orbit.speed | 0.02 | How far the circle turns per step, in radians. |
render.orbit.height-offset | 0.5 | The circle's height above the feet, in blocks. |
render.bounce.height | 0.2 | How high a head bounces above the circle, in blocks. |
render.bounce.speed | 0.1 | The bounce speed, in radians per tick. |
render.spin.x-speed, render.spin.y-speed | 0.08 | How far a head turns on its X and Y axes per step, in radians. |
render.size | 1.0 | The size of a head (1 = a normal head). |
render.view-range | 48 | How far, in blocks, a ring is sent to other players. |
commands
| Key | Default | What it does |
|---|---|---|
commands.main.command | auras | The command name. '' = no /auras (the API keeps working). |
commands.main.aliases | [aura] | Other names of the command. |
commands.main.permission | '' | Needed for the command and every button of the auras menus ('' = everyone). |
commands.main.menu | auras | The menu /auras opens (a file of modules/auras/guis/). '' = your auras in chat. |
Aura type files
Each file of modules/auras/types/ is one type; its id is the file name. The files are created once with the folder and never merged. A deleted file stays deleted. A player's stored aura of a missing type is kept, gives nothing and comes back with the file.
| Key | Example | What it does |
|---|---|---|
name | 'Money' | The type's name in menus and messages. |
order | 1 | Its place in the menus, lower first (the file name breaks a tie). |
target | currency:money | The booster target: damage, swings, enchants, luck or currency:<id>. It must be switched on in boosters.yml, or the type does not load. |
head-texture | base64 text | The head that orbits the player, as the "Value" of minecraft-heads.com. A basehead- prefix is accepted. Empty = a plain head. |
tiers.<n> | '1': 0.10 | The value at each tier (first rarity). The number of entries is the number of tiers. |
animation.* | commented out | Optional look of this head only: bounce.height, bounce.speed, spin.x-speed, spin.y-speed, size, view-range. |
A key left out of animation uses render: of the config. The circle stays the same for every aura.
Shipped types:
| Type | Target | Tier 1 to Tier 4 values |
|---|---|---|
| Money | currency:money | 0.10, 0.25, 0.50, 1.00 |
| Souls | currency:souls | 0.50, 1.25, 2.50, 5.00 |
| Damage | damage | 0.05, 0.125, 0.25, 0.50 |
| Swing | swings | 0.05, 0.125, 0.25, 0.50 |
| Enchant | enchants | 0.05, 0.125, 0.25, 0.50 |
The shipped heads are placeholder mob heads: put your own textures. To get a shipped type back, copy it from modules/auras/types/ inside the plugin jar.
Menus
| Menu id | File | What it shows |
|---|---|---|
auras:auras | modules/auras/guis/auras.yml | "Auras": types, slots and the buttons |
auras:upgrades | modules/auras/guis/upgrades.yml | "Aura Upgrades" |
auras:index | modules/auras/guis/index.yml | "Aura Index": every step of a type |
Auras (auras.yml):
| Letter | Tile |
|---|---|
t | One tile per aura type, in type order: template type, or type-equipped. |
s | Your slots, slot 1 first: slot-equipped, slot-free, slot-locked (past your slots) or slot-unknown (a type whose file is gone). |
U | Opens Aura Upgrades. |
I | Opens the Aura Index. |
N | Aura Information: your counter, the milestone requirement and the chance. |
The templates take {aura}, {type}, {tier}, {rarity}, {color}, {accent}, {value} and {slot}. Move, add or remove t and s cells in the layout, and the plugin follows.
Aura Upgrades (upgrades.yml): S is the Swing upgrade, C the Chance upgrade, B goes back. Each upgrade has a normal tile and a max tile, picked by %sndungeons_auras_upgrade_<id>_state%.
Aura Index (index.yml): the t cells show one tile per type, and a click views it. The p cells page through every step of the viewed type, tier by tier. Each step reads as current, reached or locked.
The buttons run [auras] open <auras|upgrades|index>, [auras] equip <type>, [auras] unequip <type>, [auras] upgrade <swing|chance> and [auras] index <type>. They follow the permission of /auras. See Menus and Action Tags.
Player settings
| Setting | Default | What it switches |
|---|---|---|
auras.view-own | on | Your own ring. Off hides it from you only. |
auras.view-others | on | The rings of other players. |
auras.notifications | on | The step-up messages and the reminder to equip an aura. |
The boosters and the progress never change with these settings. See Player Settings.
Commands
| Command | Permission | Description |
|---|---|---|
/auras (alias /aura) | commands.main.permission ('') | Opens the auras menu: equip, Aura Upgrades and Aura Index. |
/dungeons admin auras slots <player> <add|set|take> <amount> | sndungeons.admin.auras.slots | Changes the extra aura slots of an online player. |
/dungeons admin auras set <player> <type> <tier> <rarity> | sndungeons.admin.auras.set | Sets the tier and rarity of an aura of an online player. |
/dungeons admin auras progress <player> <set|add> <swings> | sndungeons.admin.auras.progress | Sets or adds to the aura swing counter of an online player. |
/dungeons admin auras milestone <player> | sndungeons.admin.auras.milestone | Forces an aura milestone of an online player. |
/dungeons admin auras upgrade <player> <swing|chance> <level> | sndungeons.admin.auras.upgrade | Sets the level of an aura upgrade of an online player, free. |
/dungeons admin auras info <player> | sndungeons.admin.auras.info | Shows the auras, slots, progress and ring of an online player. |
/dungeons admin auras reset <player> | sndungeons.admin.auras.reset | Resets every aura, the counter, the extra slots and the upgrades of an online player. |
A forced milestone rolls every equipped aura and leaves the counter as it is. The rank nodes sndungeons.auras.slots.1 to .6 add slots (default false).
Full lists: Commands and Permissions.
Placeholders
The auras expose your slots, your milestone counter, each aura and both upgrades. Full list: Placeholders.
| Placeholder | Description |
|---|---|
%sndungeons_auras_swings%, _swings_required | Your milestone counter and the swings of the next milestone |
%sndungeons_auras_chance% | Each aura's chance in percent |
%sndungeons_auras_slots%, _equipped | Your aura slots and how many you equip |
%sndungeons_aura_<type>_tier%, _rarity, _value | Your aura of a type: tier, rarity name and boost |
%sndungeons_aura_<type>_equipped% | Whether that aura is equipped |
%sndungeons_auras_upgrade_<upgrade>_level%, _cost | An upgrade's level and next price |
Tips
- The shipped menu has six
scells, one per slot ofslots.max: 6. A slot past the last cell gets no tile. When you raiseslots.max, addscells too: the console warns once when the layout has fewer. - Souls auras ship with values ten times higher than damage ones. Balance each type against how strong its target already is.
- Test the step-up flow with
/dungeons admin auras milestone <you>, then check/dungeons admin auras info <you>. - Lower
render.view-rangeon busy servers: fewer players receive each ring.
Default modules/auras/config.yml
enabled: true
# ============================================================
# SnDungeons - auras module
# Managed by SnLib: new keys are auto-merged on boot; your values and
# comments are preserved. Re-read on /dungeons reload.
# ============================================================
# Switch of the module (the key above): false turns the auras off on
# /dungeons reload; /auras disappears, every ring of heads is taken away and
# the aura boosters stop. The auras every player reached stay stored.
# Every player has one aura of each type of the types/ folder of this module
# (one file per type), from Tier 1, rarity 1. The EQUIPPED ones give their
# booster, orbit the player as heads and can step up at every Aura Milestone.
# Name of the module in /dungeons admin modules (color codes allowed).
display-name: '&dAuras'
# How many auras a player can equip at once.
slots:
# The slots every player has.
base: 4
# The most slots anyone can have (1 to 54). A player also gets the highest
# <n> of the permissions sndungeons.auras.slots.<n> they hold, plus the slots
# an admin added (/dungeons admin auras slots); never more than this. A
# player who joins with fewer slots than auras equipped loses the auras of
# the highest slots (with a message).
max: 6
# The Aura Milestone: every counted swing of the zone mob fight (only while
# the player has at least one aura equipped) adds to a counter; when it
# reaches the requirement, the requirement is taken off (what is left stays)
# and every equipped aura rolls its chance to step up ONE step: the next
# rarity, or rarity 1 of the next tier after the last rarity (even when that
# value is lower). An aura at the last rarity of the last tier rolls nothing.
milestone:
# The swings of one milestone (the swing upgrade takes per-level swings off).
swings: 40000
# The chance of each equipped aura to step up, 0 to 1 (the chance upgrade
# adds per-level per level; at most 1).
chance: 0.50
# The fewest swings a milestone ever needs, whatever the upgrades and the API.
min-swings: 1000
# The rarity steps of every tier, in progress order. id: a-z 0-9 _ -;
# name: shown in the menus and messages (a resource pack glyph works too);
# colors: the color of the type's name and the color of the word Aura in an
# aura's title ({color} and {accent} of the menus and messages); multiplier:
# the value of an aura at this rarity is its tier's value (types/<type>.yml)
# times this. A missing list uses these seven.
rarities:
- id: aqua
name: '&bAqua'
colors: ['&3', '&b']
multiplier: 1.0
- id: green
name: '&aGreen'
colors: ['&2', '&a']
multiplier: 1.1
- id: blue
name: '&9Blue'
colors: ['&1', '&9']
multiplier: 1.2
- id: gold
name: '&eGold'
colors: ['&6', '&e']
multiplier: 1.3
- id: red
name: '&cRed'
colors: ['&4', '&c']
multiplier: 1.4
- id: purple
name: '&dPurple'
colors: ['&5', '&d']
multiplier: 1.5
- id: gradient
name: 'ᙌbcMd0aecythic'
colors: ['ᙌbc', 'd0aec']
multiplier: 2.0
# The two aura upgrades (the Aura Upgrades menu). currency: what they are
# bought with; max-level: their highest level; per-level: what one level
# does (swing: swings taken off every milestone; chance: added to every
# aura's chance, 0.01 = 1%); cost: the price of the level L -> L + 1,
# starting-cost x growth^L (type: exponential) or starting-cost +
# increase-cost-by x L (type: linear).
upgrades:
swing:
currency: souls
max-level: 10
per-level: 1000
cost:
type: exponential
starting-cost: 50000
growth: 1.25
increase-cost-by: 0
chance:
currency: souls
max-level: 10
per-level: 0.01
cost:
type: exponential
starting-cost: 50000
growth: 1.25
increase-cost-by: 0
# The levels a click on an upgrade buys: a left click the first, a right
# click the second, a shift click the third (max = every level the balance
# covers, up to the max-level).
upgrade-amounts: [1, 10, 'max']
reminder:
# Every this many minutes a player with no aura equipped and a free slot is
# told to equip one (auras.reminder of the module messages). 0 = never.
interval-minutes: 60
# The name of the booster an equipped aura gives (shown in /boosts); {type}
# is the name of its type.
booster-name: '{type} Aura'
# The fewest milliseconds between two equip or unequip clicks of a player.
click-cooldown-ms: 250
# The rings of heads orbiting the players.
render:
# The worlds the rings are drawn in. [] = the isolated worlds of the zones
# module (isolation.worlds), or every world when there are none.
worlds: []
# The ticks between two steps of every ring (2 or more; 2 = 10 per second).
interval-ticks: 2
orbit:
# The radius of the circle, in blocks.
radius: 0.7
# How far the circle turns per step, in radians.
speed: 0.02
# The height of the circle above the feet, in blocks.
height-offset: 0.5
bounce:
# How high a head bounces above the circle, in blocks.
height: 0.2
# The bounce speed, in radians PER TICK.
speed: 0.1
spin:
# How far a head turns on its X and Y axes per step, in radians.
x-speed: 0.08
y-speed: 0.08
# The size of a head (1 = a normal head).
size: 1.0
# How far, in blocks, a ring is sent to the other players (the client draws
# it up to there too). A type's animation: block can change size, bounce,
# spin and view-range for its head; the circle stays the same for all.
view-range: 48
commands:
# /auras opens the auras menu. If another plugin already has this name or an
# alias, SnDungeons takes it (command priority).
main:
# Command name; '' = no /auras command (the API keeps working).
command: auras
# Other names of the command.
aliases:
- aura
# Permission needed to use the command, and every button of the auras
# menus. '' = everyone.
permission: ''
# The menu /auras opens: a file of modules/auras/guis/ without .yml.
# '' = no menu: /auras shows your auras in chat.
menu: aurasExample aura type: modules/auras/types/money.yml
# ============================================================
# SnDungeons - auras module: the Money aura type
# An OWNER file: created once with the folder, never merged or rewritten.
# Delete it and it stays deleted (a player's stored Money aura is kept,
# gives nothing and comes back with the file). Re-read on /dungeons reload.
# ============================================================
# The name of the type in the menus and messages.
name: 'Money'
# Where it sits in the menus: lower first (the file name breaks a tie).
order: 1
# The booster an equipped aura of this type gives: damage, swings, enchants
# or currency:<id> (an active target of boosters.yml; otherwise the type does
# not load). The bonus is additive: 0.10 adds +0.10x to the target's total.
target: currency:money
# The head that orbits the player: a base64 texture value (minecraft-heads.com
# "Value"; a basehead- prefix is accepted). Empty = a plain player head.
head-texture: 'ewogICJ0aW1lc3RhbXAiIDogMTc4NDA0NzYzNDM0NSwKICAicHJvZmlsZUlkIiA6ICI2MTY5OWIyZWQzMjc0YTAxOWYxZTBlYThjM2YwNmJjNiIsCiAgInByb2ZpbGVOYW1lIiA6ICJEaW5uZXJib25lIiwKICAic2lnbmF0dXJlUmVxdWlyZWQiIDogdHJ1ZSwKICAidGV4dHVyZXMiIDogewogICAgIlNLSU4iIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzUwYzQxMGZhZDhkOWQ4ODI1YWQ1NmIwZTQ0M2UyNzc3YTZiNDZiZmEyMGRhY2QxZDJmNTVlZGM3MWZiZWIwNmQiCiAgICB9LAogICAgIkNBUEUiIDogewogICAgICAidXJsIiA6ICJodHRwOi8vdGV4dHVyZXMubWluZWNyYWZ0Lm5ldC90ZXh0dXJlLzU3ODZmZTk5YmUzNzdkZmI2ODU4ODU5ZjkyNmM0ZGJjOTk1NzUxZTkxY2VlMzczNDY4YzVmYmY0ODY1ZTcxNTEiCiAgICB9CiAgfQp9'
# The value of the aura at each tier (rarity 1 of the tier); each rarity
# multiplies it (rarities: of the module config). The number of tiers is the
# number of entries; the last rarity of the last tier is the top.
tiers:
'1': 0.10
'2': 0.25
'3': 0.50
'4': 1.00
# Optional: this head's own look (only these keys; the circle stays the same
# for every aura): bounce.height, bounce.speed, spin.x-speed, spin.y-speed,
# size, view-range. A key left out uses render: of the module config.
# animation:
# size: 0.8