AUTOCMD
A plugin which automatically runs command ingame
Quick challenge
How far can you run before the mobs catch you?
Minecraft check
Confirm your run
Complete the quick check to get your code.
AUTOCMD
🧩 AutoCommandPlugin
AutoCommandPlugin is a simple and powerful Minecraft plugin that lets you automatically run multiple server commands after specific delays. You can also manually run them using `/autocmd`, or add new ones using `/autocmd add`.
---
✅ Plugin Features
- ⏱️ Run multiple commands after server starts with custom delays - 🔁 Commands auto-execute at specific times - ➕ Add new commands with `/autocmd add <command>` - 🎮 Optional in-game usage (enabled/disabled via config) - 🎨 Supports Minecraft color codes (like `&a`, `&c`) - 🛡️ Blocks abuse by restricting in-game access with a toggle - 🧾 Simple config file with easy setup
---
📥 How to Install
1. Download the `.jar` file 2. Place it in your `plugins/` folder 3. Start or restart your Minecraft server 4. The plugin creates a `config.yml` and auto-runs your first command in 30 seconds!
---
⚙️ Config File: `config.yml`
```yaml allow_in_game_command: false
You can add more below or use /autocmd add <command>
commands: setup: delay: 30 command: "&a[AutoCommandPlugin] &fThis plugin is now set up and running every 30 seconds!" ```
Explanation:
| Setting | Description | |--------|-------------| | `allow_in_game_command` | `true` or `false` — if `false`, players can't run `/autocmd` or add new commands | | `commands` | A list of commands to run automatically | | `delay` | Delay in seconds after server starts | | `command` | The actual command to run (use `&` for colors) |
---
🧵 Commands
🔹 `/autocmd`
Runs all the commands listed in `config.yml` immediately.
- ✅ Works in-game only if `allow_in_game_command: true` - ❌ Otherwise shows this message: `In-game command usage is disabled. Enable it from config.yml.`
---
🔹 `/autocmd add <command>`
Adds a new command to `config.yml` and runs it after 30 seconds.
Example: ``` /autocmd add broadcast &eCheck out our Discord at discord.gg/server ```
This will save: ```yaml commands: cmd_1: delay: 30 command: "broadcast &eCheck out our Discord at discord.gg/server" ```
---
📝 Example Config
```yaml allow_in_game_command: false
commands: welcome: delay: 5 command: "say &6Welcome to the server!" auto_chunky: delay: 20 command: "chunky start" tip: delay: 60 command: "broadcast &bTIP: &fDon't forget to claim your daily reward!" ```
---
🧪 Compatible Servers
| Server Type | Version | |-------------|-------------| | ✅ Paper | 1.13 – 1.21.5+ | | ✅ Spigot | 1.13 – 1.21.5+ | | ✅ Bukkit | 1.13 – 1.21.5+ |
Works on all latest Minecraft versions. No outdated code or version locks.
---
🔐 Security Option
To prevent OP abuse or unwanted use, the plugin lets you block in-game command usage.
If a player tries to use `/autocmd` or `/autocmd add` in-game and it’s disabled in config, they will see:
``` In-game command usage is disabled. Enable it from config.yml. ```
Commands can always be used from console.
---
👤 Plugin Info
- Made by: JODVISHAL - Discord: `isthisvishal` - Email: `[email protected]`
---
Enjoy using AutoCommandPlugin and automate your Minecraft tasks easily! 🎉