Toxic Event

HM_Settings_Toxic_Barrel

ServerProfile\Hunter_Mods\HM_Toxic_Barrels\HM_Settings_Toxic_Barrel.json

General

genericGasRadius

Default 50

How big the toxic gas cloud is: its radius in meters.

PvE zone

enablePVE

Default 0

Set to 1 to make a PvE zone around the event while it's up. Set to 0 for no zone. Needs a zone mod (PVEZ or Ninjin's PvP/PvE Zones), otherwise it does nothing.

pveZoneRadius

Default 100

How big that PvE zone is: its radius in meters.

pveZoneName

Default "Toxic Event"

The name of the PvE zone (the zone mod shows it).

pveZoneShowZoneName

Default 0

Set to 1 to show the zone's name on the map. Set to 0 to hide it.

pveZoneShowZoneBorder

Default 1

Set to 1 to draw the zone's circle on the map. Set to 0 to hide it.

Map markers

enableMarkers

Default 1

Set to 1 to put a marker on the map for it. Set to 0 for no marker. Works with the HM Groups, Expansion, LBmaster or VPP map, whichever one you have.

enable3D

Default 1

Set to 1 to also show it as a 3D marker, not just on the map. Set to 0 for map only.

markerName

Default "Toxic Event"

The text written on the map marker.

markerIcon

Default "biohazard"

Which icon the marker uses, for example parachute, star, skull, car, lock or tent. It's changed automatically for Expansion and LBmaster maps.

markerColorA

Default 255

How see-through the marker is, from 0 to 255. 255 means fully solid. If A, R, G and B are all 0, the marker is light grey.

markerColorR

Default 160

How much red is in the marker colour, from 0 to 255.

markerColorG

Default 255

How much green is in the marker colour, from 0 to 255.

markerColorB

Default 0

How much blue is in the marker colour, from 0 to 255.

Notifications

enableNotifications

Default 1

Set to 1 to send a message on screen to every player. Set to 0 for no messages.

enableTierOnNotifications

Default 1

Set to 1 to add the tier name, like "(Tier 2)", to the messages and to Discord. Set to 0 to leave it out.

titleNotification

Default "Toxic Event"

The title of the on-screen messages. Discord uses it as the title too.

earlyNotification

Default "A toxic cargo will be left at "

Warning sent before the event spawns (how early is set in delayBetweenEarlyNotificationAndSpawn). The place name is added at the end. Leave it empty to not send it.

spawnNotification

Default "An abandoned toxic cargo has been foun..."

Message sent when the event spawns. The place name is added at the end. Leave it empty to not send it.

Discord

discordWebhookUrl

Default "https://discord.com/api/webhooks/YOUR_..."

Your Discord webhook link for this mod. Leave it empty (or keep the example link) and nothing gets posted.

discordEarlyNotification

Default "A toxic cargo will be left at "

Discord message for the early warning. The place name is added at the end. Leave it empty to not post it.

discordSpawnNotification

Default "An abandoned toxic cargo has been foun..."

Discord message when the event spawns. The place name is added at the end. Leave it empty to not post it.

discordThumbnailUrl

Default "https://huntermods.online/_next/image?..."

Link to a picture shown in the Discord message. Leave it empty for no picture.

discordTierLabel

Default "Tier"

The name of the tier line in the Discord message.

enableDiscordViewOnMapLink

Default 1

Set to 1 to show the coordinates and a "View on Map" link in the Discord message. Set to 0 to leave them out.

discordTierCoordinatesLabel

Default "Coordinates"

The name of the coordinates line in the Discord message.

discordViewOnMapLabel

Default "View on Map"

The text of the map link in the Discord message.

discordEmbedColor

Default 15844367

The colour of the stripe on the side of the Discord message, written as one number (15844367 is gold).

delayBetweenEarlyNotificationAndSpawn

Default 300

How many seconds between the early warning and the event actually spawning.

firstSpawnSeconds

Default 2700

How many seconds after the server starts the first event spawns.

repeatEverySeconds

Default 2700

After the first one, a new event spawns every this many seconds until the restart. Set to 0 to only spawn once.

minEventsPerSpawn

Default 1

Minimum number of events that spawn each time (it picks a random number between minimum and maximum).

maxEventsPerSpawn

Default 1

Maximum number of events that spawn each time.

maxActive

Default 0

Maximum number of this mod's events up at the same time. Set to 0 for no limit.

maxPerRestart

Default 4

Maximum number of events in total per restart. Set to 0 for no limit.

randomDelaySeconds

Default 0

Makes each spawn come a bit late, up to this many seconds, at random. Set to 0 to always be on time.

minPlayers

Default 1

Minimum players online for the event to spawn. With fewer players, that spawn is skipped.

deleteTimer

Default 1800

How many seconds the cargo and gas stay. After that they're removed with the zombies and marker.

delayDeleteIfPlayersWithin

Default 100

If players are this close (in meters) when the time runs out, the event waits a bit longer and they get a countdown. Set to 0 to always remove it on time.

delayDeleteMaxSeconds

Default 600

Maximum extra seconds the event waits for players nearby (minimum 60).

Zone Types

The event types (tiers).

locationName

Default "Tier 1"

The type's name (even though the setting's name says location). You use it in toxicZones.

enableZombies

Default 1

Set to 1 to spawn zombies. Set to 0 for no zombies.

numberZombies

Default 20

How many zombies spawn.

spawnRadiusZombies

Default 20

The zombies spawn somewhere inside this distance, in meters.

zombiesList[]

Default list of 2

The zombie types (classnames). Each zombie picks one of them at random.

lootPools[]

Default 10 entries

The loot in the toxic barrel, filled from top to bottom.

lootPools[].pool

Default "Pistols"

The pool's name: a file in LootPools\Pools that's also listed in LootPools.json. Capital letters don't matter.

lootPools[].min

Default 1

Minimum number of items from that pool. These always spawn.

lootPools[].max

Default 1

Maximum number of items from that pool. Anything above the minimum is down to luck.

Toxic Zones

The spots where the event can spawn.

chanceToSpawn

Default 1

How often this spot gets picked compared with the other spots. A spot with 2 gets picked twice as often as one with 1. Set to 0 to never use this spot.

minimumPlayers

Default 1

This spot is only used when at least this many players are online.

locationName

Default "Airfield Vybor"

The name of the place. It's used in the messages and on Discord.

position

Default [4156.59, 338.39, 11028.2]

Where it is on the map [x, y, z].

gasHeightOffset

Default [0, 0, 0]

Moves the gas cloud away from the spot's position [x, y, z].

zoneTypes[]

Default list of 1

The types this spot can get (one is picked at random).

Economy files

types.xml14 lines
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<types>
    <type name="HM_Toxic_Barrels">
        <nominal>0</nominal>
        <lifetime>3888000</lifetime>
        <restock>0</restock>
        <min>0</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="containers"/>
    </type>
</types>
cfgignorelist.xml4 lines
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<ignore>
	<type name="HM_Toxic_Barrels"></type>
</ignore>