Skip to main content

PixelRank Main Configuration File

Default Configuration

ranks:
# Whether to display a specific leaderboard
mining_rank: true
placing_rank: true
online_time_rank: true
death_rank: false
# Time interval (in seconds) to switch between different leaderboards
switch_interval: 15
# To ignore specific players' leaderboard data (e.g., Carpet Fakeplayer), enter their username regex here
ignore_username_regex: "Input_a_regex_here_to_ignore_specific_usernames"

storage:
# Local SQLite database filename
database: "database.db"
# Time interval (in seconds) for saving to the database; recommended to be no less than 30 seconds
# If your server has a large number of players, consider increasing this value to reduce the impact of database writes
# Data will be saved immediately when the server shuts down
save_interval: 60

leaderboards:
# Custom titles for the leaderboards in the scoreboard
mining_rank: "Mining Rank"
placing_rank: "Placing Rank"
online_time_rank: "Online Time Rank"
death_rank: "Death Rank"
# Maximum number of players to display in the scoreboard area?
max_leaderboard_size: 10