Ajoute README et licence MIT
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Cette révision appartient à :
1 Parent
a544c7a365
révision
ef18df3ea4
2 fichiers modifiés
+50
Aucun fichier ne correspond à votre recherche
@@ -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.
|
||||
@@ -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 <heure>` | 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)
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur