CmdSender is a lightweight Paper/Spigot plugin that executes a console command once
for a specific player. If the player is online the command runs immediately;
otherwise it is persisted in queue.yml until the player joins.
/cmdsender add <player|uuid> [--lifetime <duration>] <command...>
/cmdsender list <player|uuid>
/cmdsender clear <player|uuid>
The default lifetime is 3 days and can be changed with
queue.default-lifetime in config.yml. Explicit lifetime examples include
30s, 10m, 2h, 7d, 1w2d, and never.
Lifetime only affects commands that need to be queued; commands for online players
are executed immediately. Expired entries are cleaned globally when the plugin is
enabled and disabled, and are never executed if their player joins after expiry.
Examples:
/cmdsender add Steve give %player% diamond 1
/cmdsender add Steve --lifetime 2h lp user %uuid% parent addtemp vip 1d
/cmdsender clear 8667ba71-b85a-4004-af54-457a9734eed7
The %player% and %uuid% placeholders are replaced immediately before execution.
Existing queue.yml files that contain plain command strings are migrated
automatically; legacy entries do not expire.