This plugin is aimed at removing the long load times large servers may face with their baltop. The plugin will automatically recalculate the baltop list at a configurable interval and display the latest result whenever a player requests the baltop list.
Config file:
Code (YAML):
# Recalculation interval in MINUTES
# Must be a whole number
refresh-interval
: 5
# The amount of players to put on one page
player-amount-per-page
: 8
# The header to use above each page of the baltop list
header
:
"&b======&c&lBALTOP&b======\n&7Last recalculated: &b%lastRecalculated%"
# The pattern to use in the baltop list
pattern
: '&3
%index% &b%name% &7: &b%balance%&3$'
manual-reload
: '&bManual recalculation started!'
no-permission
: '&4Insufficient permission!'
This plugin requires
Vault to function
Installation
- Download the .jar file
- Move the jar file to your plugins folder
- Restart your server (do
NOT /reload)
Commands
/mmbaltop [page] - show the baltop list at the specified page. If an invalid page number is entered, the first page will be shown.
/baltop [page] - alias of /mmbaltop
/mmbaltopreload - manually start the recalculation process
/baltopreload - alias of /mmbaltopreload
Permissions
mmbaltop.use - gives access to the /mmbaltop command
mmbaltop.reload - gives access to the /mmbaltopreload command
Support
Support can be found on the
MmPlugins discord server!