Managing Multiplier Groups

Understanding the Format

To start off, here's the format for group multipliers.
1
multipliers:
2
RANK_NAME:
3
blocks:
4
- MATERIAL MULTIPLIER # Decimals are supported.
5
tools:
6
- MATERIAL MULTIPLIER
7
worlds:
8
- WORLD_NAME MULTIPLIER
Copied!
Where RANK_NAME is, should be the name of a group that exists on your server. For example:
Don't be confused by double materials. A material can pretty much be anything that's not an entity. Diamonds are materials. Tools are materials. Blocks (types) are materials. Pretty much anything that can be in your hotbar is a material/has a material name.
1
multipliers:
2
coal:
3
blocks:
4
- COAL_ORE 1.2 # Decimals are supported.
5
tools:
6
- STONE_PICKAXE 1.2
7
worlds:
8
- real_world 1.5
Copied!
Not all tags are required, you may remove any section if you don't wish to use it. For example, you can remove the "worlds" section from the group if you have no world-based multipliers.
1
multipliers:
2
coal:
3
blocks:
4
- COAL_ORE 1.2 # Decimals are supported.
5
tools:
6
- STONE_PICKAXE 1.2
Copied!

Example with Ore-Based Ranks

Here, the plugin will associate these sets of multipliers with the ranks "coal", "iron", and "diamond".
1
multipliers:
2
# Coal rank
3
coal:
4
blocks:
5
- COAL_ORE 1.2
6
tools:
7
- DIAMOND_PICKAXE 1.3
8
# Iron rank
9
iron:
10
blocks:
11
- COAL_ORE 1.3
12
tools:
13
- DIAMOND_PICKAXE 1.4
14
# Diamond rank
15
diamond:
16
blocks:
17
- COAL_ORE 1.4
18
tools:
19
- DIAMOND_PICKAXE 1.5
Copied!

Dealing with Multiple Ranks

When you assign multiple ranks to a user, the plugin depends on your permission plugin to tell it which group has higher priority than others. You may notice that the plugin may incorrectly give the wrong multipliers if your weights aren't set up. Most, if not all, permission managers come with a weighting system. Here are their links to read up on how to do so.
By determining weight, such as the default being 0, and for example - coal being 1; coal has higher priority than default.
And more, please search your permission plugin's wiki to find out how to set up weight.
Last modified 1mo ago