# ✨ New Features
## 🚀 Completely Revamped Custom Commands
The custom command system has been **significantly upgraded**, offering a level of power and flexibility inspired by popular server plugins.
- **Argument Support**
Commands can now accept and validate arguments.
- Use placeholders like `$1`, `$2` for specific arguments.
- Use `$*` for multi-word text.
- Arguments can be validated as specific types (e.g., number, boolean) with automatic error handling.
- **Advanced Autocomplete**
Configure tab-completion for command arguments:
- Player names
- Gamemodes (`survival`, `creative`)
- Worlds
- Custom lists of words
- **Conditional Logic**
Create complex commands that run different actions based on conditions such as:
- `has_item`
- `has_permission`
- `is_op`
- **Persistent Cooldowns**
Add cooldowns to any command to prevent spam.
Cooldowns **persist through server restarts**.
- **Area Restrictions**
Limit commands to:
- Specific worlds
- Coordinate areas
Perfect for spawn-only commands or event zones.
- **Customizable Join/Leave Messages**
Set up custom messages for:
- Player joins
- Player leaves
Includes a **special message** for first-time joins.
- **New Restart Commands**
`/restart` now includes:
- `/restart now` → Immediate restart
- `/restart cancel` → Cancel a scheduled restart
---
# 🛠️ Improvements & Updates
- **Sound Control**
`playSound` now accepts a `SoundSource` category parameter for **precise sound playback control** in features like Mentions and Restart modules.
- **Config Resilience**
All config handlers now **merge loaded values with defaults** instead of overwriting them.
- Better backward compatibility
- More resilience to missing fields in config files
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }