PvPAirDrops

by Mad
for 7 Days to Die
Make your Air Drop a PvP area.
communityTakaro v0.4.9
(18 versions available)

Components Overview

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

New Module: PvPAirDrops

NEW
December 15, 2025
Updated to version 2.1.3. Added 1 hook: PvP Air Drop (log). New configuration options: pvpMessage, pvpRange, enterPvPMessage, exitPvPMessage, deleteCronjob.

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 (5)

pvpMessage*string
pvpMessage

Message to the server about airdrops being PvP. Use {x} and {z} to announce the location of the air drop.

Default: [FE0288]An airdrop has been dropped at [DECEA3]{x} [70FE02]{z}[-]. This area is now a [FF0001]PvP[-]...
pvpRange*number
pvpRange

The range of PvP area. The Area will be double this number.

Default: 100
enterPvPMessagestring
enterPvPMessage

Entering the PvP area message

Default: [FE0288]You are in the [D64C4C]PvP[-] area! You can kill people![-]
exitPvPMessagestring
exitPvPMessage

Exiting the PvP area Message

Default: [ADDFB3]You left the [D64C4C]PvP[-] area. People in the [D64C4C]PvP[-] area can still kill you
deleteCronjob*number
deleteCronjob

Set the minutes you want the PvP area to be live

Default: 30

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.

Hooks (1)

These hooks respond to various game events automatically. Each hook executes JavaScript code when its specific event type occurs, allowing modules to react to player actions, system changes, and more.

System Events

1 hook

PvP Air Drop

logEvent Type
Description
Why
Pattern Match
Spawned supply crate

This hook only triggers when the event data matches this regular expression pattern.

Function Implementation

PvP Air Drop Hook Function

JAVASCRIPT
Event Details
Event Type:log
Trigger:Pattern Match Required
Category:System Events

About Module Hooks

Hooks allow your module to respond automatically to game events like player actions, server status changes, and chat messages. Each hook has an event type that determines when it triggers, optional regex patterns for filtering specific events, and a JavaScript function that executes when the conditions are met. Hooks are grouped by category for better organization.

Scheduled Jobs (2)

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

Clean up air drops

30 * * * *Schedule

Description

Airdrop

Schedule Details

Cron Expression
30 * * * *
Human-Readable Schedule

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

Function Implementation

Clean up air drops 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).

spawn air drops

0 * * * *Schedule

Description

Airdrop

Schedule Details

Cron Expression
0 * * * *
Human-Readable Schedule

Every hour

Function Implementation

spawn air drops 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.