Leaderboards

by Mad
for 7 Days to Die
Tracks and displays leaderboards for zombie kills, player kills, level, and deaths. Updates hourly and posts to Discord.
communityTakaro v0.4.10

Components Overview

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

New Module: Leaderboards

NEW
January 23, 2026
Updated to version latest. Added 1 scheduled task: Update Leaderboards. New configuration option: discordChannelId.

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)

discordChannelId*string
Discord Channel ID

The Discord channel ID where leaderboards will be posted (e.g., 1234567890)

Constraints: minLength: 17, maxLength: 20

UI Schema

No configuration properties defined. This module uses default settings.

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.

Update Leaderboards

55 * * * *Schedule

Description

Runs every hour at minute 55 to collect player stats and update leaderboards

Schedule Details

Cron Expression
55 * * * *
Human-Readable Schedule

At minute 55 of every hour on every day of the month in every month on every day of the week

Function Implementation

Update Leaderboards 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.