๐ PlayTimePulse Changelog
๐ Version 1.0.4
๐ New Features
โฑ๏ธ Real-time Tracking
- Second-by-Second Updates - Playtime now updates every second instead of every minute for ultra-precise tracking
- Enhanced Accuracy - More accurate playtime measurement for fair reward distribution
๐ Leaderboard Support
- Top Player Placeholders - Added placeholders for top 10 players (
%playtime_top_1%through%playtime_top_10%) - Player Position Placeholder - Added
%playtime_leaderboard_position%to show a player's rank - Real-time Updates - Leaderboard updates every second with playtime tracking
๐ง Admin Tools
- Reload Command - Added
/playtime reloadcommand for administrators to reload configuration without restarting the server - Debug Mode - Added debug mode with detailed logging for troubleshooting
- Enable with
debug: truein config.yml - Toggle with
/playtime debug [true/false]command - Shows detailed information about reward processing and configuration loading
- Enable with
๐ Multi-Language Support
- 8 Languages Supported:
- ๐ฌ๐ง English (
en) - Default language - ๐จ๐ณ Chinese (
zh) - ๐ง๐ท Brazilian Portuguese (
pt_BR) - ๐ท๐บ Russian (
ru) - ๐ต๐ญ Filipino (
fil) - ๐ฉ๐ช German (
de) - ๐ซ๐ท French (
fr) - ๐ซ๐ฎ Finnish (
fi)
- ๐ฌ๐ง English (
- Language Configuration:
- Set language with
language: [code]in config.yml - Language files automatically copied to plugin directory for customization
- Fallback system: Language files โ config translations โ default English
- Set language with
๐ ๏ธ Improvements
โฑ๏ธ Playtime Tracking
- Second Precision - All time displays now include seconds for more precise information
- Command Enhancements -
/playtime addcommand now supports seconds parameter (/playtime add <player> <hours>h [<minutes>m] [<seconds>s])
๐ Configuration
- Reduced Console Spam - Most INFO logs now only appear in debug mode
- Better Error Handling - Improved error messages and warnings for configuration issues
- Language Settings - Added
languageoption in config.yml - Lore Placeholder Support - Added support for PlaceholderAPI placeholders in reward item lore
๐ Commands
- Tab Completion - Added tab completion support for all commands
- Permission Checks - Enhanced permission validation for admin commands
- Seconds Support - Added seconds parameter support to
/playtime addcommand
๐ฏ Logging
- Conditional Logging - Most verbose logs now only appear when debug mode is enabled
- Cleaner Console - Reduced unnecessary INFO messages in normal operation
- Debug Mode - Detailed logging available for troubleshooting configuration issues
๐งฉ Placeholders
- Comprehensive Documentation - Added detailed section in README for all PlaceholderAPI placeholders
- Advanced Reward Placeholders - Documented placeholders for reward status tracking
- Leaderboard Placeholders - Added new leaderboard placeholders for top players and player positions
- Usage Examples - Added practical examples for using placeholders in various contexts
๐ Bug Fixes
- Configuration Validation - Fixed potential NullPointerExceptions in configuration loading
- Reward Processing - Improved error handling when loading rewards
- Language Loading - Fixed issues with loading translation files
- Placeholder Logic - Improved logic for determining next reward in progression
๐ Documentation
- README Updates - Comprehensive documentation of new features
- Command List - Added new admin commands to command table
- Configuration Guide - Updated configuration documentation with language settings
- Installation Guide - Improved installation instructions
- PlaceholderAPI Support - Added comprehensive section with all placeholders and usage examples
- Leaderboard Documentation - Added documentation for new leaderboard placeholders
๐ฆ For Server Owners
โจ New Commands
/playtime reload - Reload plugin configuration
/playtime debug [true/false] - Toggle debug mode
โ๏ธ Configuration Changes
# New debug setting
debug: false
# New language setting
language: en # Supports: en, zh, pt_BR, ru, fil, de, fr, fi๐ Language Customization
- After first run, language files are copied to
plugins/PlayTimePulse/lang/ - Edit the file for your selected language
- Use
/playtime reloadto apply changes without restarting
๐ Debug Mode
Enable detailed logging for troubleshooting:
debug: trueOr use the command:
/playtime debug true # Enable debug mode
/playtime debug false # Disable debug mode
/playtime debug # Check current debug mode status
๐งฉ PlaceholderAPI Placeholders
Basic Placeholders:
%playtime_overall_formatted%- Total formatted playtime%playtime_days%,%playtime_hours%, etc. - Time components
Advanced Reward Placeholders:
%playtime_required%- Time for next unclaimed reward%playtime_required_{rewardId}%- Status of specific reward%playtime_time_left_{rewardId}%- Time left for specific reward%playtime_claimable_rewards%- Number of claimable rewards
Leaderboard Placeholders:
%playtime_top_1%through%playtime_top_10%- Top players in playtime%playtime_leaderboard_position%- Player's position in leaderboard
See README for complete list and usage examples.
๐ Previous Versions
For changelog of previous versions, see GitHub releases.