
AkifsCustomCommands
Create Special Commands With Rewards
Список изменений
AkifsCustomCommands Create your own /freevip-style reward commands with limits, cooldowns, public broadcasts and full Discord logging.
Compatible with Minecraft 1.18.2 → 1.21.x on Spigot, Paper and forks.
✦ Highlights
Dynamic commands — create any command at runtime via /cac create
✦ Quick start Code: /cac create freevip /cac addcmd freevip lp user %player_name% parent addtemp vip 7d /cac addcmd freevip eco give %player_name% 1000 /cac addbcast freevip gradient:#3FFF5C:#5CC8FF%player_name% earned 7 days of VIP! /cac setlimit freevip 10 /cac setplayerlimit freevip 1 /cac setcooldown freevip 1d /cac setduration freevip 7d /cac setperm freevip myserver.freevip
✦ Discord webhook embed Each successful use posts a rich embed that contains: Player's skin head as the thumbnail Player name, command, timestamp Remaining uses when a limit is set, e.g. Server-wide: 7 of 10 left (3 used) Broadcast text with all color codes/gradients stripped Console commands that were executed (formatted as a code block) All embed labels come from the active language file — change language in config.yml and the Discord message switches with it.
✦ Installation Drop AkifsCustomCommands-1.0.0.jar into your plugins/ folder. Start the server. The plugin auto-creates config.yml, commands.yml, data.yml and languages/{en,az,tr}.yml. Edit config.yml (prefix, language, Discord webhook URL) and run /cac reload.
✦ Permissions akifscustomcommands.admin — access to /cac (default: op) <your.permission> — optional per-command permission you assign with /cac setperm
✦ Notes No dependencies — PlaceholderAPI is not required. Async webhook — Discord delivery happens on a background thread; the main thread is never blocked. Reload-safe — commands are dynamically (un)registered into the Bukkit CommandMap.
Author: Akif
