Are you struggling with resetting or customizing player stat values?
VtStats is here to be your powerful assistant, offering a range of advanced features to help you save time and effort — with results that may exceed your expectations.
It’s especially useful for those who only want to delete or modify a specific stat.
Installation
Download the plugin .jar file to your computer
Place the plugin file into your server’s plugins folder.
Start the server.
Enjoy the features!
Requirements
Java 17 or higher
Features
Highly Customizable: Freely reset or add values to nearly all player stats.
Simple Design: Fully command-based and easy to use.
Wide Stat Support: Includes a vast variety of player statistics.
Advanced Configuration: Offers extensive options such as backups, backup restoration, auto-backup, and detailed change logs.
Safe Settings: Allows you to prevent the deletion of specific stats.
/vtstats <player_name> check <stat_name> (Check a player's statistic | Permission: vtstats.check) /vtstats <player_name> set <stat_name> <value> (Set a player's statistic | Permission: vtstats.set) /vtstats <player_name> reset <stat_name> (Reset a single statistic for a player | Permission: vtstats.reset) /vtstats <player_name> reset all (Reset all statistics for a player | Permission: vtstats.reset) /vtstats reset <stat_name> all (Reset a single statistic for ALL players | Permission: vtstats.reset.all) /vtstats reset all all (Reset all stats for ALL players | Permission: vtstats.reset.all) /vtstats backup (Create a backup of all player stats | Permission: vtstats.backup) /vtstats loadbackup <backup_name> (Load a statistics backup | Permission: vtstats.loadbackup) /vtstats reload (Reload the config and language files | Permission: vtstats.reload) /vtstats confirm (Confirm a pending action | Permission: vtstats.use)
# Language settings for the plugin.
# Available languages are defined by the files in the 'language' folder (e.g., messages_en.yml, messages_vi.yml).
# The plugin will load the file corresponding to the value set here.
language: "vi"
# Confirmation system for dangerous commands.
# This helps prevent accidental data wipes.
confirmation:
# If true, dangerous commands (like resetting all stats for all players) will require a second confirmation command.
required: true
# The time in seconds a user has to type '/vtstats confirm' before the request expires.
timeout-seconds: 30
# Configure how actions are logged.
logging:
# Enable or disable all logging from this plugin.
enable: true
# If true, logs will be saved to a file in /plugins/VtStats/logs/vtstats.log.
# If false, logs will only be shown in the server console.
log-to-file: true
# Toggle logging for specific command actions.
log-set: true
log-reset-player: true
log-reset-all-player: true
log-reset-server: true
log-reset-all-server: true
# Backup settings for player statistics.
backup:
# If true, a backup will be automatically created before any reset command is executed.
auto-backup-on-reset: true
# The maximum number of backup folders to keep. The oldest backups will be deleted to maintain this limit.
# Set to 0 to disable the limit and keep all backups.
max-backups: 10
# A list of statistics that cannot be modified by any of the plugin's commands.
# This is useful for protecting important data like playtime.
# Use the official Bukkit Statistic enum names (e.g., PLAY_ONE_MINUTE).
protected-stats:
- "PLAY_ONE_MINUTE"
- "TIME_SINCE_DEATH"
- "TIME_SINCE_REST"
Code (Text):
prefix: "&8[&6VtStats&8] "
no-permission: "&cYou do not have permission to use this command."
reload-success: "&aSuccessfully reloaded config and language files."
player-not-found: "&cPlayer &e{player}&c not found."
invalid-usage: "&cInvalid usage. Use &e/vtstats help&c for help."
stat-not-found: "&cStatistic &e{stat}&c is not valid."
value-not-a-number: "&cThe value &e{value}&c is not a number."
check-stat: "&7Player &6{player}&7's stat &e{stat}&7 is: &a{value}"
set-success: "&aSuccessfully set stat &e{stat}&a for player &6{player}&a to &e{value}&a."
reset-success: "&aSuccessfully reset stat &e{stat}&a for player &6{player}&a."
reset-all-success: "&aSuccessfully reset all stats for player &6{player}&a."
reset-all-players-start: "&eStarting to reset stat &6{stat}&e for all players... This process runs in the background."
reset-all-players-finish: "&aFinished resetting stat &6{stat}&a for all players."
reset-all-stats-for-all-players-start: "&c&lWARNING: &eStarting to reset ALL stats for ALL players... This process runs in the background and cannot be undone."
reset-all-stats-for-all-players-finish: "&aFinished resetting ALL stats for ALL players."
confirmation-required: "&eThis action is dangerous. Please type &a/vtstats confirm&e within &6{time}&e seconds to confirm."
confirmation-success: "&aAction confirmed and is now being executed."
no-pending-confirmation: "&cYou have no pending actions to confirm."
confirmation-expired: "&cYour confirmation request has expired."
stat-is-protected: "&cThe stat &e{stat}&c is protected and cannot be changed."
backup-start: "&eStarting to create a stats data backup..."
backup-success: "&aSuccessfully created backup: &e{backup_name}"
backup-failed: "&cFailed to create backup. Please check the console for details."
load-backup-start: "&eStarting to restore data from backup &6{backup_name}&e... This process runs in the background."
load-backup-success: "&aSuccessfully restored data from backup &6{backup_name}&a."
load-backup-not-found: "&cCould not find a backup named &e{backup_name}&c."