feat(lohub): Add complete configuration system with 6 config files
- Added messages.yml for all plugin messages with customizable prefix - Added commands.yml for custom commands (discord, website, store, rules, heal, clearinventory) - Added serverselector.yml for GUI server selector menu - Added data.yml for persistent data storage (chat_locked, spawn location) - Updated ConfigManager to load all config files - Updated ChatLockManager to use data.yml instead of chatlock.dat - Updated SpawnManager to use data.yml instead of spawn.yml - Updated all commands to use messages.yml - Updated listeners to use messages.yml - Removed duplicate config files from root directory - Added CONFIG_GUIDE.md documentation
This commit is contained in:
parent
102341bb2c
commit
1e5e8d8638
36 changed files with 1580 additions and 544 deletions
17
lohub/src/main/resources/data.yml
Normal file
17
lohub/src/main/resources/data.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# ╔══════════════════════════════════════════════════════════════════════════════╗
|
||||
# ║ LoHub Data Storage ║
|
||||
# ║ DO NOT EDIT THIS FILE MANUALLY! ║
|
||||
# ║ This file is automatically managed by the plugin ║
|
||||
# ╚══════════════════════════════════════════════════════════════════════════════╝
|
||||
|
||||
# Chat lock state
|
||||
chat_locked: false
|
||||
|
||||
# Spawn location (set via /sethub command)
|
||||
spawn:
|
||||
world: null
|
||||
x: 0.0
|
||||
y: 0.0
|
||||
z: 0.0
|
||||
yaw: 0.0
|
||||
pitch: 0.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue