
AirCore
Everything your server relies on, bundled into one optimized core built for performance and control!
22
0
Список изменений
- Added a new shortcuts section to commands.yml that lets you define shortcut commands mapping to any full command with pre-filled arguments.
# -------------------------------------------------------------------
# COMMAND SHORTCUTS
# -------------------------------------------------------------------
# Define shortcut commands that map to full commands with arguments.
# Requires a restart to take effect when added/removed.
#
# You can add, remove, or rename any shortcut below.
# Format:
# <shortcut>:
# command: "<full command and arguments>"
# aliases: [...] # optional extra names for the same shortcut
# -------------------------------------------------------------------
shortcuts:
gmc:
command: "gamemode creative"
aliases: [gmce]
gms:
command: "gamemode survival"
aliases: [gmsu, gmsurv]
repairall:
command: "repair all"
aliases: []
day:
command: "time set day"
aliases: []
night:
command: "time set night"
aliases: []
- Added a new message-format option to config.yml that controls how chat messages, private messages, and all plugin messages are parsed.
# Message format: MINI | LEGACY | SMART
# MINI - MiniMessage only (<red>, <bold>, etc.)
# LEGACY - Legacy color codes (&c, &l, etc.)
# SMART - Auto-detect per message
message-format: SMART
- Fixed repair all message key.
- Added a new file: commands.yml. You can now edit sub-command arguments & selectors. All command config related has been moved to commands.yml for better organization.
- All commands now follow the same pattern for error handling and logic.
- Added 2 new commands: /ptime and /pweather. Allows you to control per player weather/time.
- Added new permissions: aircore.command.ptime, aircore.command.ptime.others, aircore.command.pweather, aircore.command.pweather.others
- Added new message keys:
utilities:
weather:
set: "%prefix% <green>Weather set to <yellow>%type%</yellow>.</green>"
set-in: "%prefix% <green>Weather set to <yellow>%type%</yellow> in world <yellow>%world%</yellow>.</green>"
player:
set: "%prefix% <green>Player weather set to <yellow>%type%</yellow>.</green>"
set-for: "%prefix% <green>Player weather set to <yellow>%type%</yellow> for <yellow>%player%</yellow>.</green>"
set-by: "%prefix% <yellow>%player%</yellow> <green>set your player weather to <yellow>%type%</yellow>.</green>"
reset: "%prefix% <green>Your weather is now synced with the server.</green>"
reset-for: "%prefix% <green>Reset weather for <yellow>%player%</yellow>.</green>"
reset-by: "%prefix% <yellow>%player%</yellow> <green>reset your weather to server sync.</green>"
placeholders:
clear: "clear"
rain: "rain"
thunder: "thunder"
reset: "reset"
time:
get: "%prefix% <green>Time is <yellow>%time-formatted%</yellow> or <yellow>%ticks%</yellow> ticks.</green>"
set: "%prefix% <green>Time set to <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>).</green>"
add: "%prefix% <green>Added <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>) to time.</green>"
set-in: "%prefix% <green>Time set to <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>) in <yellow>%world%</yellow>.</green>"
add-in: "%prefix% <green>Added <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>) to time in <yellow>%world%</yellow>.</green>"
player:
set: "%prefix% <green>Player time set to <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>).</green>"
set-for: "%prefix% <green>Player time set to <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>) for <yellow>%player%</yellow>.</green>"
set-by: "%prefix% <yellow>%player%</yellow> <green>set your player time to <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>).</green>"
add: "%prefix% <green>Added <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>) to player time.</green>"
add-for: "%prefix% <green>Added <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>) to player time for <yellow>%player%</yellow>.</green>"
add-by: "%prefix% <yellow>%player%</yellow> <green>added <yellow>%ticks%</yellow> ticks (<yellow>%time-formatted%</yellow>) to your player time.</green>"
reset: "%prefix% <green>Your time is now synced with the server.</green>"
reset-for: "%prefix% <green>Reset time for <yellow>%player%</yellow>.</green>"
reset-by: "%prefix% <yellow>%player%</yellow> <green>reset your time to server sync.</green>"
- Time placeholders have been moved to a separated section:
# -------------------------------------------------------------------
# TIME PLACEHOLDERS
# -------------------------------------------------------------------
placeholders:
ticks: " ticks"
second: " second"
seconds: " seconds"
minute: " minute"
minutes: " minutes"
hour: " hour"
hours: " hours"
day: " day"
days: " days"
- Decoupled group formatting from message processing. Now, if group-format is disabled, other chat features will still be enabled.
- Added multi-line support for all messages.
Файлы
AirCore-1.2.1.jar(682.06 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.1
Загрузчики
FoliaPaper
Версии игры
1.21–1.21.11
Загрузок
3
Дата публикации
5 дн. назад
