Skip to content

Instantly share code, notes, and snippets.

@ziceptor
Created September 13, 2018 22:41
Show Gist options
  • Save ziceptor/63b6b445dc06da755a5418bcaeb1bcda to your computer and use it in GitHub Desktop.
Save ziceptor/63b6b445dc06da755a5418bcaeb1bcda to your computer and use it in GitHub Desktop.
areas=[
{
area {
x1=361
x2=352
y1=80
y2=94
z1=-137
z2=-150
}
# how many seconds interval to check player are camping
campInterval=7
# when player count is lower than campPlayers anticamping start checking
campPlayers=5
# radius to check every interval, if the player has not moved in that radius it will count as camping
campRadius=2
floors=[
{
x1=360
x2=353
y1=90
y2=89
z1=-138
z2=-149
},
{
x1=360
x2=353
y1=87
y2=86
z1=-138
z2=-149
},
{
x1=360
x2=353
y1=84
y2=83
z1=-138
z2=-149
}
]
gametype=CLASSIC
lobby {
position {
x=328.47240069543534
y=94.00063554902955
z=-122.5518031313519
}
rotation {
x=9.483623504638672
y=146.35079956054688
z=0.0
}
world=e7c9b886-1e22-4326-b54c-5e2a209cb497
}
name=TOP
# maximum player to join this arena
playerLimit=20
# experimental inventory save option DO NOT USE ON MODDED SERVER
saveinv=true
spawn {
position {
x=357.8567905301843
y=91.25670037524742
z=-141.6760216689519
}
rotation {
x=9.483623504638672
y=146.35079956054688
z=0.0
}
world=e7c9b886-1e22-4326-b54c-5e2a209cb497
}
# Runs this command from console when someone wins. %winner% is replaced with the name of the winner, %game% is replace with the gamename
winningCommand=[
"give %winner% minecraft:diamond 1",
"say %winner% получил алмаз за победу на сплиф-арене %game%!"
]
# Cooldown for the player to execute the command (does not save to disk) in minutes, user gets cooldown global, time is per game
winningCooldown=1
# Only run command when this many players where in the game (prevents users farming with 2 accounts)
winningMinPlayers=2
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment