Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CmdSender

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.

Commands

/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.

About

CmdSender is a lightweight Paper/Spigot plugin that lets you schedule commands to be executed once for a specific player, either immediately if they are online or the next time they join the server.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages