diff --git a/build.gradle b/build.gradle index f0526e8d..41365944 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ java { } group = 'me.playbosswar.com' -version = '8.14.1' +version = '8.15.0' description = 'CommandTimer' repositories { @@ -74,7 +74,7 @@ publishing { maven(MavenPublication) { groupId = 'me.playbosswar.com' artifactId = 'commandtimer' - version = '8.14.1' + version = '8.15.0' from components.java } diff --git a/docs/docs/configuration/adhoc-commands.md b/docs/docs/configuration/adhoc-commands.md new file mode 100644 index 00000000..6e7b8bb3 --- /dev/null +++ b/docs/docs/configuration/adhoc-commands.md @@ -0,0 +1,139 @@ +--- +sidebar_position: 3 +--- + +# Ad-Hoc Commands + +Ad-hoc commands allow you to schedule one-time command executions at a specific time in the future without creating a full [task](../jargon#task). This is perfect for temporary commands, delayed actions, or one-off scheduled executions. + +## Overview + +Ad-hoc commands are single-use scheduled commands that execute once at a specified time. Unlike regular tasks, they don't have intervals, conditions, or multiple commands - they're designed for simple, one-time executions. + +### Key Features + +- **One-time execution**: Commands execute once at the scheduled time +- **Flexible scheduling**: Schedule commands to run at any future time +- **All gender types supported**: Use any [gender](commands.md#genders) for command execution +- **Persistent storage**: Commands are saved to disk and survive server restarts +- **GUI management**: View and manage scheduled ad-hoc commands through the GUI + +## Command Syntax + +Schedule an ad-hoc command using the `/cmt schedule` command: + +``` +/cmt schedule [-after