Amélioration .gitignore : exclusion mods/libraries + documentation

This commit is contained in:
2026-02-05 18:54:10 +01:00
parent e44de62a12
commit 7f184ecc76
23 changed files with 101 additions and 46 deletions

33
.env Normal file
View File

@@ -0,0 +1,33 @@
# ====================================
# Configuration Serveur Minecraft NationsGlory
# ====================================
# Copiez ce fichier vers .env et ajustez les valeurs
# Ports du serveur
SERVER_PORT=25565
RCON_PORT=25575
# Mot de passe RCON (CHANGEZ EN PRODUCTION!)
# Ce mot de passe doit être le même dans l'application web
RCON_PASSWORD=Landau8210
ENABLE_RCON=true
# Mémoire allouée au serveur
MEMORY=2G
INIT_MEMORY=1G
# Paramètres du jeu
ONLINE_MODE=false
DIFFICULTY=1
GAMEMODE=1
LEVEL_TYPE=FLAT
# Optimisations JVM
JVM_OPTS=-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200
# Port RCON
RCON_PORT=25575
# Mémoire allouée
MEMORY=2G
INIT_MEMORY=1G

70
.gitignore vendored
View File

@@ -1,38 +1,60 @@
# Logs
# ====================================
# Fichiers de configuration sensibles
# ====================================
# Note: .env est versionné car il contient la configuration
# partagée nécessaire au déploiement
# .env
.env.local
*.env.local
# ====================================
# Logs et crash reports
# ====================================
*.log
*.log.*
logs/
crash-reports/
customnpcs/crash_reports
# Caches
.DS_Store
Thumbs.db
*.tmp
# ====================================
# Données du monde (ignorées)
# ====================================
world/
world_nether/
world_the_end/
DIM-*/
DIM*/
# Backups
*.bak
*.backup
*~
# Minecraft World data (optionnel - à inclure si nécessaire)
# world/
# Plugins runtime
plugins/*/cache
plugins/*/.cache
# Configuration d'exécution
# ====================================
# Configuration runtime (générés)
# ====================================
usercache.json
banned-ips.txt
banned-players.txt
white-list.txt
ops.txt
# Fichiers temporaires Docker
docker-compose.yml.backup
.env.local
# ====================================
# Backups
# ====================================
backups/
*.tar.gz
*.zip
*.bak
*.backup
# Dossiers générés
libraries/
# ====================================
# Caches et temporaires
# ====================================
.DS_Store
Thumbs.db
*.tmp
*~
plugins/*/cache
plugins/*/.cache
plugins/*/data
customnpcs/crash_reports
# ====================================
# Docker
# ====================================
docker-compose.yml.backup

View File

@@ -1,6 +1,6 @@
{
"status": "offline",
"players_online": 0,
"last_update": "2026-02-04T23:42:33+01:00",
"last_update": "2026-02-05T02:19:11+01:00",
"pid": 27878
}

View File

@@ -1,16 +1,16 @@
uuid: 7b055554-fc22-aae2-8917-8f47d3cb35ca
timestamps:
login: 1770241699984
login: 1770312289267
logout: 1770241080019
ipAddress: 127.0.0.1
lastlocation:
world: world
x: 637.2765242007807
y: 6.3198356511079625
z: -383.0715314983618
yaw: -240.59999
pitch: 33.750004
afk: false
x: 630.0
y: 9.400000000000002
z: -387.0
yaw: -1.95
pitch: 0.45000002
afk: true
logoutlocation:
world: world
x: 630.0

View File

@@ -1,5 +1,5 @@
#Minecraft server properties
#Wed Feb 04 21:51:02 UTC 2026
#Thu Feb 05 17:24:22 UTC 2026
generator-settings=
allow-nether=true
level-name=world
@@ -18,18 +18,18 @@ spawn-npcs=true
white-list=false
debug=false
spawn-animals=true
hardcore=false
snooper-enabled=true
texture-pack=
snooper-enabled=true
hardcore=false
online-mode=false
pvp=true
difficulty=1
gamemode=1
player-idle-timeout=0
gamemode=1
max-players=20
rcon.port=25575
spawn-monsters=true
generate-structures=true
view-distance=10
generate-structures=true
spawn-protection=16
motd=\u00A77Serveur Build \u00A7c\u00A7lNG-RED \u00A78[\u00A7cPARA\u00A7fGUA\u00A79Y\u00A78]

View File

@@ -46,6 +46,14 @@ world-settings:
monsters: 48
misc: 32
other: 64
growth:
cactus-modifier: 100
cane-modifier: 100
melon-modifier: 100
mushroom-modifier: 100
pumpkin-modifier: 100
sapling-modifier: 100
wheat-modifier: 100
entity-activation-range:
animals: 32
monsters: 32
@@ -74,16 +82,8 @@ world-settings:
- 82
- 129
- 130
growth:
cactus-modifier: 100
cane-modifier: 100
melon-modifier: 100
mushroom-modifier: 100
pumpkin-modifier: 100
sapling-modifier: 100
wheat-modifier: 100
view-distance: 10
chunks-per-tick: 650
view-distance: 10
merge-radius:
exp: 3.0
item: 2.5

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.