Takaro module library

Takaro Modules

Takaro is a game server management platform for running, automating, and moderating multiplayer communities. These modules install into Takaro to add server automation, Discord workflows, economy systems, and moderation tools.

SimpleAFK

by AquaticSnipes
for 7 Days to Die
This module simply disconnects players from the server if their position or inventory has not changed for a specified amount of time. This timeframe is customizable for each server. This module should be compatible for all games with inventory and position data exposed for Takaro to interact with.
communityTakaro 0.7.3

Components Overview

1
config
0
commands
0
hooks
1
Cron Jobs
0
functions
0
permissions

New Module: SimpleAFK

NEW
August 22, 2026
Updated to version 1.0.1. Added 1 scheduled task: my-cronjob. New configuration option: MinutesAfkBeforeKick.

Configuration

Configure this module using the schemas below. The JSON schema defines the data structure, while the UI schema customizes how the configuration form is displayed.

Configuration Schema

Configuration Properties (1)

MinutesAfkBeforeKicknumber
MinutesAfkBeforeKick

The module will kick a player who does not move (goes idle/afk) for this number of minutes. This is based on real world time, not game time. The default time is 10 minutes, and the minimum that can be set is 2 minutes.

Default: 10
Constraints: min: 2

UI Schema

No UI schema defined. Configuration form will use default rendering.

About Configuration Schemas

The Configuration Schema defines the structure and validation rules for module settings. The UI Schema customizes how the configuration form is displayed in the Takaro interface, including field ordering, labels, and input types.

Scheduled Jobs (1)

These jobs run automatically on a schedule defined by cron expressions. Each job executes JavaScript code at specific times or intervals.

my-cronjob

*/2 * * * *Schedule

Schedule Details

Cron Expression
*/2 * * * *
Human-Readable Schedule

Every 2 minutes of every hour on every day of the month in every month on every day of the week

Function Implementation

my-cronjob Function

JAVASCRIPT

Cron Expression Format

minute hour day-of-month month day-of-week

Each field can contain numbers, ranges (1-5), lists (1,3,5), or wildcards (*). Use */n for intervals (e.g., */5 for every 5 units).

About Scheduled Jobs

Cron jobs allow your module to execute code automatically on a schedule. Each job has a cron expression that defines when it runs, and a JavaScript function that executes at those times. Jobs run server-side and can perform maintenance tasks, send notifications, or update game state automatically.