Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
OnTimeCommand
A powerful Minecraft Paper server plugin that allows you to automatically execute commands at set time intervals.
π Features
- β° Scheduled Command Execution - Automatically execute Minecraft commands at specified time intervals
- π§ Flexible Command Management - Support adding, deleting, enabling, and disabling scheduled tasks
- π£ Orbital TNT Feature - Special fishing rod function that generates TNT explosion effects
- π 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
π System Requirements
- Minecraft Version: 1.21+
- Server: Paper 1.21+
- Java Version: Java 21+
π Installation
- Download the latest
.jarfile - Place the plugin file in the server's
pluginsfolder - Restart the server
- The plugin will automatically generate configuration files
π Usage Guide
Basic Commands
Main Management Commands
/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 plugin
Subcommand Details
Add New Task
/ontimecommand add <task-name> <interval-seconds>
# Example: Add a task that executes every 60 seconds
/ontimecommand add welcome-message 60
Add 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>
Permission Nodes
| Permission Node | Description | Default |
|---|---|---|
ontimecommand.admin |
Use all OnTimeCommand features | OP |
ontimecommand.player |
View command list only | All Players |
Configuration Files
Scheduled Commands Configuration (on-time-command-list.yml)
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
Orbital TNT Configuration (orbital-tnt-config.yml)
orbital-tnt:
enabled: true
fishing-rod-name: "Orbital TNT"
wait-time: 5000
circle-count: 5
circle-interval: 2
circle-height: 5
per-circle-wait-time: 100
π£ Orbital TNT Feature
When players use a special fishing rod named "Orbital TNT" to cast, TNT explosion effects will be generated at the casting position:
- Generate central TNT at the casting position
- Generate multiple TNT rings around the center point
- Each ring is spaced at certain distances and times
- Create spectacular chain explosion effects
π§ Developer Information
Building the Project
# Clone repository
git clone https://github.com/VoyagerStar3897081534/OnTimeCommand.git
cd OnTimeCommand
# Build project
mvn clean package
Maven Configuration
The 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 package
Project Structure
src/
βββ 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
π€ Contribution Guidelines
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
π License
This project is licensed under the MIT License - see LICENSE file for details
π Support and Help
- π¬ Issue Feedback: GitHub Issues
- π Documentation: Wiki
- π§ Contact Author: VoyagerStar
π Acknowledgements
Thank you to all developers and users who have contributed to this project!
Made with by VoyagerStar
Information
| Published on | February 13, 2026 |
|---|---|
| Downloads | 1 |
Platforms
Paper (1.21-1.21.11)