
Modrinth · Minecraft mod
OfflinePlayers
Enable AFK mode without keeping your computer on. Use /offline to spawn a copy of your player. If your offline player dies, you'll die but still have time to retrieve your stuff. If the offline player survives, you'll inherit its gains upon return.
Quick answer
Which OfflinePlayers release should I use?
OfflinePlayers 1.4.0_26.1-26.1.2 targets 26.1, 26.1.1, 26.1.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.
Where it goes
Is OfflinePlayers required on the client, server, or both?
Do not install it on the client. It must be installed on the dedicated server.
This file is marked server-only.
What else does OfflinePlayers 1.4.0_26.1-26.1.2 need?
1.4.0_26.1-26.1.2. 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 OfflinePlayers without breaking your instance.
Built for OfflinePlayers 1.4.0_26.1-26.1.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 1.4.0_26.1-26.1.2. It targets 26.1, 26.1.1, 26.1.2 with Fabric; 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
Do not install it on the client. It must be installed on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 1.4.0_26.1-26.1.2. It opens that exact file at the source.
About this project
What does OfflinePlayers add?
Goal
This mod allows players to go AFK on a server without leaving their computers on. Simply use the /offline command to spawn an exact copy of your player, called an offline player. Depending on the configuration, you'll be kicked after the offline player has spawned.
If the offline player is killed, it won't drop loot but will be kicked from the server. When you rejoin, the inventory and XP levels from the offline player are copied to you, and you'll be killed. This gives you time to retrieve your items.
If the offline player survives until you rejoin, its inventory and gained experience will be transferred to you.
How to Use
Type /offline to spawn an offline player.
Actions
You can add actions to your offline player. Available actions include:
| Name | Description |
|---|---|
| attack | Player left click |
| break | Player left click, but wait for block to fully break. |
| place / use | Player right click |
| crouch | Player crouching |
| jump | Player jumping |
| eat | Player eating (only if hungry & having food in one hand) |
| drop_item | Drops an item from the active slot |
| drop_stack | Drops all items from the active slot |
| move_forward | Moves the player forward |
| move_backward | Moves the player backwards |
| disconnect | Automatically disconnects the offline player after a set interval |
To use an action, type /offline [action], e.g., /offline attack.
Tip: use
/offline actionsto see a list of available actions
Interval/Offset
You can execute actions with set intervals or offsets:
- Interval:
/offline break:20(20 tick or 1 second interval between breaking blocks) - Offset:
/offline attack:20:10(10 tick offset added to the action)
Time Parsing
Besides using ticks (the default), it is also possible to set the interval and offset to milliseconds, seconds, minutes, hours, and even days.
Example: /offline use:100ms, /offline attack:1s, /offline attack:1.5m, /offline eat:0.25h, /offline disconnect:1d
Chaining
You can chain actions, for example:
/offline attack move_forward/offline attack:100 jump eat:20:10/offline jump:20 attack eat move_backward
Actions are executed in the order specified.
Config
After initialization, the configuration file is located at config/OfflinePlayersReworked.json in your Minecraft server's root folder.
The configuration looks as follows:
{
"opRequired": false,
"autoOp": true,
"autoWhitelist": false,
"autoDisconnect": true,
"killOnDeath": true,
"respawnKickedPlayers": true,
"informAboutKickedPlayer": true,
"copySkin": true,
"databaseLocation": "./offlineplayersreworked/",
"offlinePlayerPrefix": "[OFF]",
"availableOptions": ["attack", "break", "use","etc..."]
}
opRequired: If true, only OPs can use/offline.autoOp: If true, offline players of OPs are automatically made OPs.autoWhitelist: If true and whitelist is enabled, offline players are auto-whitelisted. (Default value is false at it doesn't seem necessary)autoDisconnect: If true, players automatically disconnect after using/offline. (Use false at your own risk)killOnDeath: If true, players automatically die upon reconnecting if their offline player died.respawnKickedPlayers: If true, offline players automatically respawn on server restart when kickedinformAboutKickedPlayer: If true, if offline player was kicked and player rejoins, player will be informed about offlline player being kickedcopySkin: If true, offline players copy the original player's skin.databaseLocation: Folder location for the database. Default is./offlinePlayersReworked/.offlinePlayerPrefix: Sets the prefix for the offline player.availableOptions: A list of the available action options that can be used.
Reporting Issues
If you encounter any bugs or have suggestions for improvements, please create an issue on our GitHub repository. To create an issue:
- Go to the Issues tab of this repository.
- Click on "New Issue".
- Choose between "Bug report" or "Feature request" template.
- Fill out the template with as much detail as possible.
- Submit the issue.
Project description from Modrinth.
Pick your setup
OfflinePlayers by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.1
1 loader build26.1
1 loader build1.21.11
1 loader build1.21.10
1 loader build1.21.9
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.6
1 loader build1.21.5
1 loader build1.21.4
1 loader build1.21.3
1 loader buildShowing the newest 12 of 15 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
OfflinePlayers versions and loaders
1.4.0_26.1-26.1.2
offlineplayersreworked-1.4.0_26.1-26.1.2.jar
15 Apr 2026
1.3.0_1.21.11
offlineplayersreworked-1.3.0_1.21.11.jar
14 Apr 2026
1.3.0_1.21.9-1.21.10
offlineplayersreworked-1.3.0_1.21.9-1.21.10.jar
14 Apr 2026
1.3.0_1.21.6-1.21.8
offlineplayersreworked-1.3.0_1.21.6-1.21.8.jar
14 Apr 2026
1.3.0_1.21.5
offlineplayersreworked-1.3.0_1.21.5.jar
14 Apr 2026
1.3.0_1.21.2-2.21.4
offlineplayersreworked-1.3.0_1.21.2-2.21.4.jar
14 Apr 2026
1.3.0_1.21-1.21.1
offlineplayersreworked-1.3.0_1.21-1.21.1.jar
14 Apr 2026
1.2.1_1.21.11
offlineplayersreworked-1.2.1_1.21.11.jar
17 Mar 2026
1.2.1_1.21.9-1.21.10
offlineplayersreworked-1.2.1_1.21.9-1.21.10.jar
17 Mar 2026
1.2.1_1.21.6-1.21.8
offlineplayersreworked-1.2.1_1.21.6-1.21.8.jar
17 Mar 2026
1.2.1_1.21.5
offlineplayersreworked-1.2.1_1.21-5.jar
17 Mar 2026
1.2.1_1.21.2-2.21.4
offlineplayersreworked-1.2.1_1.21.2-2.21.4.jar
17 Mar 2026
Looking for an older file? The official Modrinth project page is in Resources.