OfflineCommands
by DrexHD
OfflineCommands lets server operators run vanilla commands against players who are not currently logged in, so offline players can still be targeted.
What it does
The mod changes a set of vanilla commands so they accept offline players as targets. Once installed on a server, commands such as give, teleport or gamemode can act on a player who has left, with their saved data updated the next time they join. It runs on the server alone, so players join without installing anything.
The mod is published for Fabric and Quilt, with files for 1.20.1 – 26.3 and 26.3 as the latest build, released under the MIT License as open source.
Key features
Commands for offline players
Commands such as give, teleport, kill and gamemode can target a player who is not logged in.
Modified vanilla commands
Advancement, data, enchant, experience, loot, recipe and spreadplayers are among the commands adjusted to accept offline targets.
Server-only installation
Only the server needs the mod, so clients connect with an unmodified game.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x2 of 2 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
How it compares
Offline Player Teleport is a server-side Fabric mod with an MIT License, open source and published for 1.20 – 1.21.1, limited to teleporting. Selective Offline Mode is also server-side on Fabric under the MIT License, for 1.20 – 1.21.5, and deals with offline-mode login rather than commands.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| OfflineCommands | Fabric and Quilt | 1.20.1 – 26.3 | Server-side only | 2026-09-24 |
| Offline Player Teleport | Fabric | 1.20 – 1.21.1 | Server-side only | 2024-06-19 |
| Selective Offline Mode | Fabric | 1.20 – 1.21.5 | Server-side only | 2025-06-01 |
Questions
Does OfflineCommands need to be installed on clients?
Which loaders does OfflineCommands support?
In the catalog
OfflineCommands is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 8,071 mods support Minecraft 26.3.
More from DrexHD
Similar mods
What the author says
Modifies vanilla commands, so they can be used on offline players The following commands have been modified to support offline players: advancement, attribute, bossbar, clear, damage, data, effect, enchant, experience, execute, gamemode, give, item, function, kill, loot, recipe, spawnpoint, spreadplayers, tag, teleport
Official listing
- Modrinth page
- modrinth.com/mod/offlinecommands
- Owner
- DrexHD
- Published
- 2024-06-19
- Updated on Modrinth
- 2026-09-24
- Facts verified
- 2026-10-15
