Fake AFK
This mod enables the creation of virtual players using Carpet Mod while maintaining game balance. Requires only server-side installation and Carpet Mod to function.
Main Commands
/afk:ready — creates a virtual player at your position when logging off, automatically removed upon reconnection.
/afk:summon — summons your virtual player for 5 minutes. Allows item transfer or elimination to retrieve collected resources. Limited duration suitable for simple tasks requiring two characters.
/afk:name — renames your virtual player. All names must contain a hyphen "-" to distinguish them from real players.
Configuration Settings
Configuration file located at config/fake_afk.txt contains the following parameters:
| Parameter | Default Value | Description |
|---|---|---|
| name_permission_level | 0 | Access level for /afk:name command |
| ready_permission_level | 0 | Access level for /afk:ready command |
| summon_permission_level | 0 | Access level for /afk:summon command |
| allow_real_names_permission_level | 3 | Access level for using names without hyphen |
| mspt_kick_limit | -1 | Disconnect players when MSPT exceeds limit (-1 = disabled) |
| mspt_kick_type | 1 | Disconnect type for high MSPT: 1 - oldest, 2 - all |
| max_afk_limit | -1 | Maximum number of virtual players |
| max_afk_type | 1 | Action when limit exceeded: 1 - remove oldest, 2 - block new |
| max_afk_ticks | -1 | Maximum AFK time in ticks (-1 = unlimited) |
| max_summon_ticks | 6000 | Maximum summon time for virtual players |
| names | List of virtual player names in UUID and name format |
Permission Levels
- 0 (ALL) — available to everyone
- 1 (MODERATORS) — can build in spawn chunks
- 2 (GAMEMASTERS) — access to /gamerule, /fill, /execute and other commands
- 3 (ADMINS) — access to /kick, /ban, /op
- 4 (OWNERS) — access to /stop, /save