Skip to main content

🛡️ GUARD SCAPE EVENT 🛡️

Quick Description

The Guard Scape Event is an automatic tag/survival event where players must avoid being caught by guards or infected players. The event ends when the timer runs out or all players are caught.


How it works

  • Players enter with a set number of lives
  • If caught by a guard or infected, lose a life
  • When lives reach zero, player becomes a tagger (infected)
  • Event ends when timer runs out or all are caught/one survivor
  • Rewards for survivors, taggers, and all participants

Main commands

  • /guardstart — Start event manually (GM)
  • /guardenter — Player enters event (when open)

Quick config (GuardScapeConfig.lua)

Config = {
Switch = true, -- Enable/disable event
ServerCode = {21}, -- Enabled servers
CommandStart = "/guardstart", -- GM start command
CommandGMLevel = 16, -- GM level required
CommandEnter = "/guardenter", -- Player enter command
Scheduler = { ... }, -- Event schedule
EventArea = {Map=6,MapXMin=42,MapYMin=204,MapXMax=155,MapYMax=247},
AnnounceTime = 120, -- Pre-event warning (seconds)
EventTime = 900, -- Event duration (seconds)
EndTime = 60, -- End phase (seconds)
EndMode = 1, -- 1 = All caught/timeout, 2 = Last survivor/timeout
InfectionMode = 2, -- 1 = Kill, 2 = Kill or hit
GuardID = 247, -- Guard monster ID
GuardSpawnCount = 2, -- Number of guards
MinPlayers = 2, MaxPlayers = 30,
PlayerLifes = 2, -- Lives per player
SpeedBuff = 32, -- Movement speed buff
ParticipationReward = {GoblinPoint=50},
CaughtReward = {GoblinPoint=100},
FinishReward = {
Caught = {[1]={GoblinPoint=500}},
Survivor = {[1]={WCoinC=10}},
},
}

See GuardScapeConfig.lua for all parameters and detailed examples.