A powerful Minecraft Paper server plugin that allows you to automatically execute commands at set time intervals.
🇨🇳 中文 | 🇫🇷 Français | 🇪🇸 Español | 🇷🇺 Русский | 🈂️ العربية
-
⏰ Scheduled Command Execution - Automatically execute Minecraft commands at specified time intervals
-
🔧 Flexible Command Management - Support adding, deleting, enabling, and disabling scheduled tasks
-
🔍 Interactive Interface - Clickable task list viewing and management
-
🛡️ Permission System - Fine-grained permission control
-
🔄 Hot Reload - Support configuration file hot reload without server restart
-
📊 Real-time Monitoring - View status and details of all scheduled tasks
-
📝 Multi-language Support - Switch language usage anytime
- Minecraft Version: 1.21+
- Server: Paper 1.21+
- Java Version: Java 21+
- Download the latest
.jarfile - Place the plugin file in the server's
pluginsfolder - Restart the server
- The plugin will automatically generate configuration files
/ontimecommand <subcommand> [parameters...] - Manage scheduled commands (alias: /otc)
/seecommand - View all scheduled command lists
/reloadotc - Reload all configuration files
/otcsetlang <subcommand> - Switch the language used by the server pluginAdd New Task
/ontimecommand add <task-name> <interval-seconds>
# Example: Add a task that executes every 60 seconds
/ontimecommand add welcome-message 60Add Commands to Task
/ontimecommand addcommand <task-name> <command1> [command2] [command3]...
# Example: Add multiple commands to a task
/ontimecommand addcommand welcome-message "say Welcome!" "title @a title Welcome"Enable/Disable Tasks
/ontimecommand enable <task-name>
/ontimecommand disable <task-name>Delete Commands or Tasks
/ontimecommand deletecommand <task-name> <command-number>
/ontimecommand delete <task-name>View Task Details
/ontimecommand seeinfo <task-name>View All Commands
/seecommand
# Opens an interactive GUI showing all scheduled commands with their statusReload Configuration
/reloadotc
# Reloads all configuration files without restarting the server| Permission Node | Description | Default |
|---|---|---|
ontimecommand.admin |
Use all OnTimeCommand features | OP |
ontimecommand.player |
View command list only | All Players |
commands:
welcome-message:
interval: 30
commands:
- "say Welcome to the server!"
- "title @a title Welcome!"
disabled: false
clean-drops:
interval: 300
commands:
- "kill @e[type=item]"
- "say Items cleaned up"
disabled: true# Clone repository
git clone https://github.com/VoyagerStar3897081534/OnTimeCommand.git
cd OnTimeCommand
# Build project
mvn clean packageThe project uses Maven for build management, supporting multiple build configurations:
# Publish stable version
mvn clean package -DversionPackageType=release
# Publish beta version
mvn clean package -DversionPackageType=beta
# Development version (default)
mvn clean packagesrc/
├── main/
│ ├── java/org/VoyagerStar/onTimeCommand/
│ │ ├── command/
│ │ │ ├── executor/ # Command executors
│ │ │ └── tabCompleter/ # Command completion
│ │ ├── init/ # Initialization module
│ │ ├── listener/ # Event listeners
│ │ ├── OnTimeCommand.java # Main class
│ │ └── RunCommandOnTime.java # Scheduled task management
│ └── resources/
│ ├── on-time-command-list.yml
│ ├── orbital-tnt-config.yml
│ └── paper-plugin.yml
└── test/
└── java/ # Unit tests
Welcome to submit Issues and Pull Requests!
- Fork this repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add some AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
This project is licensed under the MIT License - see LICENSE file for details
- 💬 Issue Feedback: GitHub Issues
- 📚 Documentation: Wiki
- 📧 Contact Author: VoyagerStar
Thank you to all developers and users who have contributed to this project!
Made with by VoyagerStar