▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Unplugged AFK
Unplugged AFK

Unplugged AFK

The ability to "Go Green" by creating a bot to AFK in your place on a server.

Оцените первым
4.2K
144

Unplugged-AFK

Unplugged-AFK is an eco-friendly Minecraft mod that allows players to "go unplugged." By utilizing this mod, players can spawn a bot of themselves to stay AFK at their farms while they disconnect. This allows you to safely shut off your computer, saving electricity and promoting a "Green" approach to server farming!

!InfoGraphic

Prerequisites & Installation

  • Mod Loader: Fabric
  • Minecraft Version: 1.19.2 up to 26.2

Features

  • Go Green: Turn off your PC while your player-bot continues to AFK for you.
  • Customizable Timeouts: Set specific durations for how long a bot should remain active. The default timeout is 129600 minutes (90 days).
  • Admin Control: Server administrators have full command control to spawn, kick, or manage unplugged players.
  • Safety Options: Configurations allow you to reset health upon death, disable damage for unplugged players, or even hide them from other players and operators.
  • Server Restart: The mod also respawns all AFK bots at server restart with a slight delay.

Commands

Player Commands

  • /unplug [<minutes>] [<reason>]: Disconnects you and leaves an unplugged bot in your place.
    • Note: This command cannot be used by the single-player server owner.

Admin Commands

Requires permission level 3 by default.

  • /unplugged-admin: Displays information about the mod.
  • /unplugged-admin save: Saves the current configuration.
  • /unplugged-admin reload: Reloads the configuration, overwriting the current configuration.
  • /unplugged-admin purge: Purges players and resyncs the current player/unplugged maps with the live server.
  • /unplugged-admin spawn <player> [<minutes>] [<reason>]: Manually spawns an unplugged bot for a specified player.
  • /unplugged-admin kick <player>: Removes/kicks an active unplugged bot.
  • /unplugged-admin info [<player>]: Displays detailed debug information for a specific player. (advancedAdminOptions enables the full "player" info)
  • /unplugged-admin list [players|unplugged|all]: Lists currently tracked players or active unplugged bots. (advancedAdminOptions enables the list sub commands)
  • /unplugged-admin set <setting> <value>: Sets a config setting value. (advancedAdminOptions enables this sub command)

Configuration

The mod features a highly customizable unplugged_afk.json file. Key options include:

CategoryOptionDescriptionDefault
MainunpluggedAfkEnabledToggles the entire AFK feature.true
MaindebugModeEnables debugging output.false
MainreducedListDebugInfoEnables Reduced output for various information commands.true
MainadvancedAdminOptionsEnables advanced Admin options, such as 'set'.false
UnpluggeddefaultUnpluggedTimeoutSet the default timeout (in minutes). The default is for 90 days.129600
UnpluggedresetHealthUponDeathResets the AFK bots Health when killed.false
UnpluggedunpluggedDisableDamagePrevents the AFK bot from taking damage.false
UnpluggedunpluggedHidePlayerMakes the bot invisible to others.false
UnpluggedunpluggedHideFromOpsMakes the bot invisible to to Operators as well.false
CommandunplugCommandPermissionsPermission level required to use /unplug.0
CommandunpluggedAdminCommandPermissionsPermission level for /unplugged-admin.3
CommandafkCommandPermissionsPermission level required to use /afk.0
CommandenableUnplugCommandEnables the /unplug Command.true
CommandenableAfkCommandEnables the /afk Command. (Works the same as /unplug)false
MessagesbroadcastMessagesEnables the broadcasting of Unplugged status messages.false
MessageshideUnpluggedJoinEnables the disabling of the default player has joined messages while bots are spawned, where possible.false
MessagesdisplayDurationEnables the duration display of Unplugged status messages.false
MessagesdisplayReturnFeedbackEnables the Feedback display of the reason why an Unplugged session endedfalse

Messages & Formatting: Server owners can extensively customize broadcast messages and formatting. For example, the default kick message when a player successfully uses the command is "§6Your player will be AFK§r". The duration and the timeDate are CoreLib time formatting options for the broadcast messages while displayDuration is enabled.

Example Config

Click Here to open on GitHub

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.2.x26.1.x1.21.x1.20.x1.19.x

Платформы

Поддерживаемые окружения

Сервер

Зависимости

Ссылки

Детали

Лицензия:
Опубликован:1 месяц назад
Обновлён:6 дней назад
Главная