Tags
Creators
Details
1.0.4
Compatibility
Changes
๐ 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: trueinconfig.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]inconfig.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 inconfig.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: true
Or 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.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:jnlYsGGt:9PkUkPTn"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:jnlYsGGt:9PkUkPTn"
}

