GroupTopper
The documentation of GroupTopper, a Spigot plugin for group leaderboards
Where to find the plugin:
The documentation of GroupTopper, a Spigot plugin for group leaderboards
Where to find the plugin:
# The type of storage the plugin will use to store the value
# Available: YAML, SQLITE, MYSQL
storage-type: sqlite
# The settings for each group holders
holders:
jump_group: # The group holder name
top: jump # The top holder it will be based on
type: placeholder # Group settings
owner: '%player_uuid%'
display: '%player_name%'
online: true
task:
save:
# How many entries should be saved per tick
entry-per-tick: 10
# How many ticks should the plugin wait before saving the leaderboard
delay: 0
This will guide you to set up a Group Holder
First, you add some settings to link a Top Holder to this Group Holder, which means the Group Holder will listen to the Top Holder for value changes and updates.
holders:
jump_group: # The group holder name
top: jump # The top holder it will be based on
This example will set that the Group Holder jump_group
will listen to the Top Holder jump
(Click here if you don’t know what jump
is).
Continue reading to learn how to set up group settings.
Now you will set up some settings for the type of Group.
Continue reading to learn how to set up based on the Group plugin you desire. Check the sidebar for a list of supported Group plugins.
Requires BentoBox and one or more Gamemode addons
type: bentobox
gamemode: <gamemode> # the name of the gamemode
holders:
jump_group:
top: jump
type: bentobox
gamemode: bskyblock
Requires FactionsUUID
type: factionsuuid
holders:
jump_group:
top: jump
type: factionsuuid
Requires HuskTowns
type: husktowns
holders:
jump_group:
top: jump
type: husktowns
Requires KingdowsX
type: kingdoms
kingdoms-type: <KINGDOM/NATION> # The type of the kingdoms to get, KINGDOM for the kingdom of the player, NATION for the capital kingdom of the nation of the player
holders:
jump_group:
top: jump
type: kingdoms
kingdoms-type: KINGDOM
Requires Lands
type: lands
lands-type: <LAND/NATION> # The type of the kingdoms to get, KINGDOM for the kingdom of the player, NATION for the capital kingdom of the nation of the player
holders:
jump_group:
top: jump
type: lands
lands-type: LAND
Requires PlaceholderAPI and some placeholders to fetch the required group values
type: placeholderapi
owner: "<owner-placeholder>" # The placeholder to get the owner of the group (could be player name or uuid)
display: "<display-placeholder>" # The placeholder to get the display name of the group
online: <true/false> # Whether or not to handle the value for online players only
holders:
jump_group:
top: jump
type: placeholder
owner: '%player_uuid%'
display: '%player_name%'
online: true
Requires SuperiorSkyblock2
type: superiorskyblock
holders:
jump_group:
top: jump
type: superiorskyblock
Requires Towny
type: towny
holders:
jump_group:
top: jump
type: towny
The query system is the same as the one used in Topper, with the addition that:
<holder>
is the name of the Group Holder speficied in the configuration file of GroupTopper.top_name
query returns the name of the Grouptop_key
query returns the UUID of the owner of the GroupRefer to the Topper Query page for more information.
Details about the hooks provided by the plugin.
The plugin provides a PlaceholderAPI placeholder to allow you to query data from the Group Holder.
%grouptopper_<query>%
Check the Query for more information about how to set the <query>
%grouptopper_jump_group;top_name;1%
%grouptopper_jump_group;top_value;1%
%grouptopper_jump_group;top_value;1;#,###%
%grouptopper_jump_group;top_rank%