Mana Configuration - TheComputerGeek2/MagicSpells GitHub Wiki
Description:
This section details the mana.yml
file and all the options within it. The default mana.yml
can be found here.
Configuration:
Option | Description | Type | Default |
---|---|---|---|
enable-mana-system |
Whether to use the native mana system. At more advanced levels of the plugin, you may consider replacing this with a custom variable system. | Boolean | true |
default-prefix |
The prefix to use for the chat-based mana bar. | String | "Mana:" |
default-symbol |
The symbol to use for the chat-based mana bar. | String | "=" |
default-size |
The number of characters to use in chat to represent the mana bar. | Integer | 35 |
default-max-mana |
The maximum amount of mana to give the default user. | Integer | 100 |
default-starting-mana |
The default amount of starting mana to give the default user. | Integer | 100 |
default-regen-amount |
How much mana to regen per regeneration tick. | Integer | 5 |
default-regen-interval |
The frequency of mana regeneration. | Integer | 20 |
default-color-full |
Color to use in the chat mana bar to represent filled mana. | Color Code (without § ) |
1 |
default-color-empty |
Color to use in the chat mana bar to represent empty mana space. | Color Code (without § ) |
0 |
show-mana-on-use |
Whether to display the mana bar in chat when the player uses it. | Boolean | false |
show-mana-on-regen |
Whether to display the mana bar in chat when regeneration ticks happen. | Boolean | false |
show-mana-on-hunger-bar |
Moves the mana bar to the player's hunger bar. | Boolean | false |
show-mana-on-action-bar |
Moves the mana bar to the player's action bar. | Boolean | false |
show-mana-on-experience-bar |
The standard location for mana. This moves the mana bar to the player's exp bar. Vanilla exp is not overwritten, only visually changed. Players retain their vanilla exp count even when it displays their mana. | Boolean | true |
modifiers |
Modifiers checked before mana regen if it was caused by a Mana Rank's regen-interval or by a ManaRegenSpell . |
Modifiers | |
ranks |
A config section containing the name of a mana rank and its configuration. | Config Section of Mana Ranks |
Mana Ranks:
Mana ranks can be assigned using the Mana Ranks permission.
Option | Description |
---|---|
prefix |
See default-prefix for Type and Default value. |
symbol |
See default-symbol for Type and Default value. |
size |
See default-size for Type and Default value. |
max-mana |
See default-max-mana for Type and Default value. |
starting-mana |
See default-starting-mana for Type and Default value. |
regen-amount |
See default-regen-amount for Type and Default value. |
regen-empty |
See default-regen-empty for Type and Default value. |
Example:
ranks:
master:
prefix: "Mana:"
symbol: '='
size: 35
max-mana: 200
starting-mana: 200
regen-amount: 10
regen-interval: 20
color-full: 1
color-empty: 0
adept:
prefix: "Mana:"
symbol: '='
size: 35
max-mana: 150
starting-mana: 150
regen-amount: 7
regen-interval: 20
color-full: 1
color-empty: 0
novice:
prefix: "Mana:"
symbol: '='
size: 35
max-mana: 100
starting-mana: 100
regen-amount: 5
regen-interval: 20
color-full: 1
color-empty: 0