- Add complete PlayHours mod source code with all features: * Schedule enforcement with per-day schedules and midnight-spanning support * Login control with configurable thresholds and exemptions * Warnings and auto-kick system with countdown functionality * Force modes (NORMAL/FORCE_OPEN/FORCE_CLOSED) for maintenance * Whitelist/blacklist system for player access control * Date exceptions for holidays and special events * Multi-language support (English/French) with smart time formatting * LuckPerms integration with vanilla ops fallback * Dynamic MOTD system with real-time schedule display * Comprehensive command system with permission integration * TOML configuration with hot-reload support - Add comprehensive documentation suite: * Installation guide with step-by-step setup instructions * Complete configuration reference with all options * Commands reference with usage examples * Features overview with detailed explanations * MOTD system configuration and customization guide * Permissions system documentation with LuckPerms integration * Technical details covering architecture and limitations * Usage examples with real-world scenarios * Changelog with version history - Add resource files: * Language files (en_us.json, fr_fr.json) with localized messages * Mod metadata (mods.toml) with proper Forge configuration * Resource pack metadata (pack.mcmeta) - Update build configuration: * Gradle build system with proper dependencies * Project properties and version management * Development environment setup - Restructure documentation: * Replace old README.txt with new comprehensive README.md * Create modular documentation structure in docs/ directory * Add cross-references and navigation between documents * Include quick start guide and common use cases This commit represents the complete v1.0.0 release of PlayHours, a production-ready server operation hours enforcement mod for Minecraft Forge 1.20.1.
33 lines
1.5 KiB
JSON
33 lines
1.5 KiB
JSON
{
|
|
"msg.access_denied": "Server closed. Next open: %openday% at %opentime%.",
|
|
"msg.threshold_denied": "Server closing soon. Next open: %openday% at %opentime%.",
|
|
"msg.warn": "Server closing in %minutes% minute%s% at %closetime%.",
|
|
"msg.kick": "Server closed. Next open: %openday% at %opentime%.",
|
|
"msg.force_open": "Hours overridden: FORCE_OPEN.",
|
|
"msg.force_closed": "Hours overridden: FORCE_CLOSED.",
|
|
"msg.status_line": "Mode: %mode%. %isopen%. Next close: %closetime%. Next open: %openday% at %opentime%.",
|
|
"msg.status_open": "Server open",
|
|
"msg.status_closed": "Server closed",
|
|
"msg.countdown": "Closing in %seconds%s",
|
|
"msg.config_not_ready": "PlayHours config not ready yet. Try again in a moment.",
|
|
"msg.unexpected_error": "An unexpected error occurred. See server log.",
|
|
"msg.config_reloaded": "PlayHours config reloaded.",
|
|
"msg.invalid_time_range": "Invalid time range. Use: hh:mm AM-hh:mm PM",
|
|
"msg.failed_clear_default_periods": "Failed to clear default periods.",
|
|
"msg.settings_updated": "PlayHours settings updated.",
|
|
"msg.motd_status_open": "Open",
|
|
"msg.motd_status_closed": "Closed",
|
|
"msg.motd_next_open": "Opens %openday% at %opentime%",
|
|
"msg.motd_next_close": "Closes at %closetime%",
|
|
"msg.motd_countdown": "Closing in %minutes% min",
|
|
"msg.motd_force_open": "Always Open",
|
|
"msg.motd_force_closed": "Maintenance",
|
|
"msg.mode_normal": "Normal",
|
|
"msg.mode_force_open": "Always Open",
|
|
"msg.mode_force_closed": "Maintenance",
|
|
"msg.yes": "yes",
|
|
"msg.no": "no",
|
|
"msg.day_time_separator": " at "
|
|
}
|
|
|