- 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.
59 lines
3.4 KiB
Properties
59 lines
3.4 KiB
Properties
# Sets default memory used for gradle commands. Can be overridden by user or command line properties.
|
|
# This is required to provide enough memory for the Minecraft decompilation process.
|
|
org.gradle.jvmargs=-Xmx3G
|
|
org.gradle.daemon=false
|
|
|
|
|
|
## Environment Properties
|
|
|
|
# The Minecraft version must agree with the Forge version to get a valid artifact
|
|
minecraft_version=1.20.1
|
|
# The Minecraft version range can use any release version of Minecraft as bounds.
|
|
# Snapshots, pre-releases, and release candidates are not guaranteed to sort properly
|
|
# as they do not follow standard versioning conventions.
|
|
minecraft_version_range=[1.20.1,1.21)
|
|
# The Forge version must agree with the Minecraft version to get a valid artifact
|
|
forge_version=47.4.10
|
|
# The Forge version range can use any version of Forge as bounds or match the loader version range
|
|
forge_version_range=[47,)
|
|
# The loader version range can only use the major version of Forge/FML as bounds
|
|
loader_version_range=[47,)
|
|
# The mapping channel to use for mappings.
|
|
# The default set of supported mapping channels are ["official", "snapshot", "snapshot_nodoc", "stable", "stable_nodoc"].
|
|
# Additional mapping channels can be registered through the "channelProviders" extension in a Gradle plugin.
|
|
#
|
|
# | Channel | Version | |
|
|
# |-----------|----------------------|--------------------------------------------------------------------------------|
|
|
# | official | MCVersion | Official field/method names from Mojang mapping files |
|
|
# | parchment | YYYY.MM.DD-MCVersion | Open community-sourced parameter names and javadocs layered on top of official |
|
|
#
|
|
# You must be aware of the Mojang license when using the 'official' or 'parchment' mappings.
|
|
# See more information here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md
|
|
#
|
|
# Parchment is an unofficial project maintained by ParchmentMC, separate from Minecraft Forge.
|
|
# Additional setup is needed to use their mappings, see https://parchmentmc.org/docs/getting-started
|
|
mapping_channel=official
|
|
# The mapping version to query from the mapping channel.
|
|
# This must match the format required by the mapping channel.
|
|
mapping_version=1.20.1
|
|
|
|
|
|
## Mod Properties
|
|
|
|
# The unique mod identifier for the mod. Must be lowercase in English locale. Must fit the regex [a-z][a-z0-9_]{1,63}
|
|
# Must match the String constant located in the main mod class annotated with @Mod.
|
|
mod_id=playhours
|
|
# The human-readable display name for the mod.
|
|
mod_name=PlayHours
|
|
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
|
mod_license=All Rights Reserved
|
|
# The mod version. See https://semver.org/
|
|
mod_version=1.0.0
|
|
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
|
# This should match the base package used for the mod sources.
|
|
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
|
mod_group_id=com.mrkayjaydee.playhours
|
|
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
|
|
mod_authors=Mr-KayJayDee
|
|
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
|
|
mod_description=Enforces server open hours with schedules, warnings, login control, and admin commands.\nServer-only. LuckPerms compatible (soft). |