From ef18df3ea43fd874c572635b42103bcf178aa312 Mon Sep 17 00:00:00 2001 From: Theo Gastinel <264859180+gastinelt@users.noreply.github.com> Date: Sun, 11 Oct 2026 12:27:17 +0200 Subject: [PATCH] Ajoute README et licence MIT Co-Authored-By: Claude Sonnet 5.5 --- LICENSE | 21 +++++++++++++++++++++ README.md | 29 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..a0b1ce7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Théo Gastinel + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..05e0640 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# TimeT + +Mod NeoForge pour **Minecraft 1.21.1** qui synchronise l'heure du jeu avec l'**heure réelle** de la machine où tourne le jeu (ou le serveur). + +## Commandes + +| Commande | Effet | +|---|---| +| `/timet` | Affiche l'état, l'heure réelle, l'heure en jeu et le décalage | +| `/timet on` / `/timet off` | Active ou désactive la synchronisation (hors synchro : cycle Minecraft classique) | +| `/timet set ` | Règle l'heure, par exemple `/timet set 15h21` | +| `/timet sync` (ou `reset`) | Recolle directement à l'heure réelle | +| `/timet status` | Affiche l'état de la synchronisation | + +Les commandes sont accessibles à tous les joueurs (niveau de permission 0). La configuration est enregistrée dans `config/timet.json`. + +## Compiler + +Prérequis : JDK 21. + +```bash +./gradlew build +``` + +Le fichier `.jar` est produit dans `build/libs/`. + +## Licence + +[MIT](LICENSE)