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
|
|
@ -328,16 +328,14 @@ announcements:
|
|||
- "&#FFD700╚═══════════════════════╝"
|
||||
- "&r"
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
|
||||
# | CUSTOM COMMANDS |
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
|
||||
# All custom commands are now in commands.yml
|
||||
# You can create custom commands with actions there
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
|
||||
# | MESSAGES |
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
|
||||
|
||||
messages:
|
||||
prefix: "�D4FF[�D4FFL�CAF7o�C0EEH�B7E6u�ADDDbcCC]"
|
||||
spawn-set: "BCB77Spawn set successfully!"
|
||||
spawn-teleport: "BCB77Teleporting to spawn..."
|
||||
no-spawn: "&#FF6B6BSpawn not set! Use /sethub"
|
||||
no-permission: "&#FF6B6BYou don't have permission!"
|
||||
players-only: "&#FF6B6BThis command is only for players!"
|
||||
config-reloaded: "BCB77Configuration reloaded!"
|
||||
usage: "&#FFD700Usage: /lohub reload"
|
||||
# All messages are now in messages.yml
|
||||
# You can customize the plugin prefix and all messages there
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue