Automated spawnpoint griefer resets

Luacontroller

Triggers the Commandblocks connected on port.c on an hourly interval timer

if event.type == "program" then
    -- Set the hourly interrupt with ID "hourly"
    interrupt(10800, "hourly")  -- 3600 seconds = 1 hour
elseif event.type == "interrupt" and event.iid == "hourly" then
    port.c = true
    interrupt(0.1, "pulse_off")  -- schedule a short delay to turn off port.c
elseif event.type == "interrupt" and event.iid == "pulse_off" then
    port.c = false
    interrupt(10800, "hourly")  -- reschedule the next hourly pulse
end

Spawn A, Forest shoreline

//load welcomecenter101

Commandblock

Located at -1045,-4114,25

 
tell cj54 Spawn A regen
/fixedpos set1 -1709 1000 -511
/fixedpos set2 -1622 -24 -420
/deleteblocks
/y
 
tell cj54 Spawn A welcome center
/fixedpos set1 -1615 1 -450
/fixedpos set2 -1615 1 -450
/load welcomecenter110
 
tell cj54 clear selection
/fixedpos set1 -1655 -40 -458
/fixedpos set2 -1655 -40 -458
 

Spawn B, Sandbar

Commandblock

Located at -1045,-4114,25

 
tell cj54 Spawn B regen
/fixedpos set1 -1407 -18 -616
/fixedpos set2 -1442 1000 -581
/deleteblocks
/y
 
tell cj54 Spawn B platform
/fixedpos set1 -1414 1 -608
/fixedpos set2 -1431 1 -581
/set default:sandstone_block
 
tell cj54 SpawnB clear selection
/fixedpos set1 -1655 -40 -458
/fixedpos set2 -1655 -40 -458
 

Spawn C, snowbank

Commandblock

tell cj54 Spawn C regen
/fixedpos set1 -1207 -40 -502
/fixedpos set2 -1190 1000 -482
/deleteblocks
/y
 
tell cj54 Spawn C platform
/fixedpos set1 -1207 6 -502
/fixedpos set2 -1190 6 -482
/set default:stone_block
 
tell cj54 Spawn C clear selection
/fixedpos set1 -1655 -40 -458
/fixedpos set2 -1655 -40 -458

Jeffrey the Cactus

Commandblock

tell cj54 drain liquids
/fixedpos set1 -1307 10 -481
/fixedpos set2 -1276 42 -518
/drain
/y
 
tell cj54 trunk
/fixedpos set1 -1290 -2 -499
/fixedpos set2 -1292 27 -501
/set default:cactus
 
tell cj54 left arm
/fixedpos set1 -1290 16 -498
/fixedpos set2 -1292 18 -493
/set default:cactus
 
tell cj54 left extension
/fixedpos set1 -1292 18 -493
/fixedpos set2 -1290 22 -495
/set default:cactus
 
tell cj54 right arm
/fixedpos set1 -1292 15 -502
/fixedpos set2 -1290 17 -507
/set default:cactus
 
tell cj54 right extension
/fixedpos set1 -1290 17 -507
/fixedpos set2 -1292 20 -504
/set default:cactus
 
tell cj54 obsidian bridge
/fixedpos set1 -1294 1 -496
/fixedpos set2 -1374 1 -516
/set default:obsidianbrick
 
/fixedpos set1 0 0 0
/fixedpos set2 0 0 0

BiS HQ

-53 17 -133

//load bis100

Griefer reset

/fixedpos set1 -23 76 -106
/fixedpos set2 -62 21 -153
/deleteblocks
/y

/fixedpos set1 -53 17 -133
/load bis100

/fixedpos set1 0 0 0
/fixedpos set2 0 0 0

SF HQ / spawn

-201, 17, 120

//load sf100

griefer reset

/fixedpos set1 -167 31 155
/fixedpos set2 -217 19 106
/deleteblocks
/y
/fixedpos set1 -208 19 111
/load sf100
/fixedpos set1 0 0 0
/fixedpos set2 0 0 0