Factions Top
Dependency: Supreme Spawners, Cost: $10.00 USD

Supreme Factions Top

This addon allows you to create an in-game wealth leaderboard for factions based on the amount, level, stack size, and time placed of spawners in faction claims.
Key Features:
  • Spawner value based on Type, Upgrades, Stack Size, and Time Placed
  • Extremely quick async recalculation times (~2ms per 10K spawners)
  • Blacklist specific Factions from being on FTOP
  • Configurable, hoverable leaderboard messages.
  • Potential worth calculations

Commands & Permissions

Command
Permission
Description
/f top
factions.top
Allows players to view ftop leaderboard
/ftopadmin recalc
factionstop.admin.recalc
Force recalculate leaderboard

Configuration - config.json

1
{
2
"spawnerValueMap": [
3
{
4
"name": "blaze",
5
"baseValue": 1000.0,
6
"upgradeValueMap": {
7
"SPEED": [
8
{
9
"key": 1,
10
"value": 100.0
11
},
12
{
13
"key": 2,
14
"value": 200.0
15
},
16
{
17
"key": 3,
18
"value": 300.0
19
},
20
{
21
"key": 4,
22
"value": 400.0
23
}
24
],
25
"AMOUNT": [
26
{
27
"key": 1,
28
"value": 100.0
29
},
30
{
31
"key": 2,
32
"value": 200.0
33
},
34
{
35
"key": 3,
36
"value": 300.0
37
},
38
{
39
"key": 4,
40
"value": 400.0
41
}
42
]
43
},
44
"enabled": true
45
},
46
{
47
"name": "guardian",
48
"baseValue": 1000.0,
49
"upgradeValueMap": {
50
"SPEED": [
51
{
52
"key": 1,
53
"value": 100.0
54
},
55
{
56
"key": 2,
57
"value": 200.0
58
},
59
{
60
"key": 3,
61
"value": 300.0
62
},
63
{
64
"key": 4,
65
"value": 400.0
66
}
67
],
68
"AMOUNT": [
69
{
70
"key": 1,
71
"value": 100.0
72
},
73
{
74
"key": 2,
75
"value": 200.0
76
},
77
{
78
"key": 3,
79
"value": 300.0
80
},
81
{
82
"key": 4,
83
"value": 400.0
84
}
85
]
86
},
87
"enabled": true
88
}
89
],
90
"includeMemberBalances": true,
91
"recalculateEveryXMinutes": 30,
92
"nerfSpawnerValuePercentage": 50.0,
93
"factionsPerPage": 9
94
}
Copied!

Configuration - lang.json

1
{
2
"ftopLeaderboardHeader": [
3
" ",
4
"c:&e&l** &c&lFaction Top Leaderboard &e&l** &7&o(( Hover for Info ))",
5
" "
6
],
7
"ftopLeaderboardHeaderHover": [
8
"&c[!] Factions Top Leaderboard",
9
" ",
10
" &f&lFactions Top Information »",
11
" &f&l* &cLast Recalculated: {last-recalc-time}",
12
" &f&l* &cSpawners Counted: {spawners-counted}",
13
" &f&l* &cFactions Counted: {factions-counted}",
14
" &f&l* &cRecalculation Time: {recalc-time}",
15
" &f&l* &cTotal Value: ${server-total}",
16
""
17
],
18
"placementFormat": "&7[&e!&7] #{position} {faction-name} &f- &a${current-value} &7({total-spawners}x Spawners)",
19
"placementHoverHeader": [
20
"&c[!] Factions Top Breakdown for {faction-name}",
21
" ",
22
" &f&lFaction Information »",
23
" &f&l* &cFaction Leader: {faction-leader}",
24
" &f&l* &cRichest Member: {richest-member} &7(${richest-member-balance})",
25
" &f&l* &cCurrent Value: ${current-value} &7({potential-percentage}% of potential value)",
26
" &f&l* &cPotential Value: ${potential-value}",
27
" &f&l* &cBalance Value: ${balance-value}",
28
" ",
29
" &f&lSpawner Values »"
30
],
31
"spawnerValueFormat": " &e* &f{spawner-type} Spawner &c{spawner-count}x &7(${spawner-value})",
32
"placementClickCommand": "f show {faction-name}",
33
"recalculationStartMessage": {
34
"type": "CHAT",
35
"message": [
36
" ",
37
"c:&e&l** &c&lFactions Top Recalculation &e&l**",
38
"c:&7Starting FactionsTop recalculation...",
39
" "
40
]
41
},
42
"recalculationFinishMessage": {
43
"type": "CHAT",
44
"message": [
45
" ",
46
"c:&e&l** &c&lFactions Top Recalculation &e&l**",
47
"c:&7Completed recalculated {time}ms &o( {spawners}x Spawners )",
48
" "
49
]
50
}
51
}
Copied!
Last modified 5mo ago