
Modrinth · Minecraft mod
Op-Commands
Added useful commands
Quick answer
Which Op-Commands release should I use?
Op-Commands 2.4.0 targets 1.21.8 with NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Op-Commands required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Op-Commands 2.4.0 need?
2.4.0. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Op-Commands without breaking your instance.
Built for Op-Commands 2.4.0. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 2.4.0. It targets 1.21.8 with NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 2.4.0. It opens that exact file at the source.
About this project
What does Op-Commands add?
This mod adds commands to Minecraft to help you in your game:
Commands:
Gamemode & Player States
| Command | Description |
|---|---|
/gmc {selector} |
Sets game mode to creative |
/gms {selector} |
Sets game mode to survival |
/gma {selector} |
Sets game mode to adventure |
/gmsp {selector} |
Sets game mode to spectator |
/fly |
Allows flight in survival mode |
/god {selector} |
Makes the player invincible |
/vanish |
Makes the player invisible |
/feed {selector} |
Fills the food |
/heal {selector} |
Fills life |
/ng {selector} |
Gives Night Vision |
/speed {selector} {power} |
Gives speed |
Teleportation & Locations (Spawn, Homes & Warps)
| Command | Description |
|---|---|
/setspawn |
Sets a shared global spawn point for all players in the world |
/spawn |
Teleports to the shared global spawn point |
/sethome {home name} |
Adds a home to the player's position |
/home {home name} |
Teleport home |
/delhome {home name} |
Delete a home |
/listhome |
Give the list of homes |
/setwarp {warp name} |
Adds a warp point to the current position |
/warp {warp name} |
Teleport to a warp point |
/delwarp {warp name} |
Delete a warp point |
/warps |
Give the list of warp points |
/tpdimensions {selector} {dimension} |
Teleports players to a dimension |
/tphere {selector} |
Teleports a target to you |
/tprandom {selector} {number} |
Teleports the target to a random location |
/rtp {selector} {number} |
Teleports the target to a random location |
/height {number} |
Teleport higher |
World & Entities
| Command | Description |
|---|---|
/day |
Sets the day |
/night |
Sets the night |
/clearweather |
Remove the rain |
/spawnmobs {mob} {number} |
Spawns mobs by number |
/rename {selector} |
Rename entities |
/mount {selector} {selector} |
Makes the target ride another entity |
/killitems |
Kills all items |
/kill allmobs |
Kills all entities except players |
/kill mobs {mob} |
Kills a specific entity |
Troll & Combat
| Command | Description |
|---|---|
/dmg {selector} |
Deals damage |
/onfire {selector} {time} |
Sets the target on fire |
/boom {selector} {options} |
Creates an explosion on the target with custom options |
/anvil {selector} |
Drops an anvil on the target |
/thunder {selector} |
Strikes lightning on the target |
/cobweb {selector} |
Traps the target in cobwebs |
/freeze {selector} |
Freezes the target in place |
/unfreeze {selector} |
Removes freeze effects |
/gravity {selector} {power} {time} |
Gives a levitation effect |
Chat & Moderation
| Command | Description |
|---|---|
/message {text} |
Send a message in the chat |
/mute {selector} |
Mutes the player's chat |
/unmute {selector} |
Unmutes the player's chat |
/nickchat {selector} {name} |
Changes the username that appears in the chat |
Tips:
- With
/gamerule doHomeCommandsWork false, you can disable home commands.- With
/gamerule doWarpsCommandsWork false, you can disable warps commands.- With
/gamerule doSpawnCommandsWork false, you can disable spawn commands.
Mod translated into:
English, French, Italian, Spanish, German
Supported Minecraft versions:
- Forge: 1.20.1 (actively maintained), 1.16.5 (legacy, no longer updated)
- NeoForge: 1.21.1, 1.21.4, 1.21.8 (actively maintained)
- Fabric: 1.20.1 (actively maintained)
Warning:
The following commands are not available in Fabric 1.20.1:/tprandom, /home, /sethome, /delhome, /listhome, /warp, /warps, /setwarp, /delwarp, /mute, /unmute, /nickchat, /setspawn, /spawn
Project description from Modrinth.
Pick your setup
Op-Commands by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.4
1 loader build1.21.1
1 loader build1.20.1
2 loader builds1.16.5
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Op-Commands versions and loaders
2.4.0
opcommands-2.4.0-neoforge-1.21.8.jar
15 Nov 2026
2.4.0
opcommands-2.4.0-neoforge-1.21.4.jar
15 Nov 2026
2.4.0
opcommands-2.4.0-neoforge-1.21.1.jar
15 Nov 2026
2.4.0
opcommands-2.4.0-forge-1.20.1.jar
15 Nov 2026
2.3.1
opcommands-2.3.1-forge-1.20.1.jar
25 Oct 2026
2.3.1
opcommands-2.3.1-neoforge-1.21.1.jar
25 Oct 2026
2.3.1
opcommands-2.3.1-neoforge-1.21.4.jar
25 Oct 2026
2.3.1
opcommands-2.3.1-neoforge-1.21.8.jar
25 Oct 2026
2.3.0
opcommands-2.3.0-forge-1.20.1.jar
31 Jul 2026
2.3.0
opcommands-2.3.0-neoforge-1.21.1.jar
31 Jul 2026
2.3.0
opcommands-2.3.0-neoforge-1.21.4.jar
31 Jul 2026
2.3.0
opcommands-2.3.0-neoforge-1.21.8.jar
31 Jul 2026
Looking for an older file? The official Modrinth project page is in Resources.