Configuration
Configuration:
# AntiSpawnCamp
#
# Players recieve effects when they leave one of the set regions.
# Effects: Invisibility, Speed Potion, Disabled Teleportation and Disabled PvP
#
# Format:
#
# antispawncamp:
# spawntype1: This part is for the time/messages for when a player leaves on of your defined regions.
# time: The time (in seconds) a player has the Effects after leaving one of the set regions.
# messages:
# leavespawn: The message sent to the player when they leave one of the set regions (%time% is equal the number of seconds they have the Effects).
# endoftimer: The message sent to the player when the Effects have ended.
# teleportdeny: The message sent to the player when they try to teleport.
# bedamagedbyotherplayerdeny: The message sent to the player if another player trys to hurt them.
# damageotherplayerdeny: The message sent to the player if they try to hurt another player.
# regions: A list of the names of worldguard regions that this plugin will apply to.
# - exampleregion
# spawntype2: This part is for when a player respawns anywhere except in one of your defined regions.
# time: The time (in seconds) a player has the Effects after respawning.
# messages:
# respawn: The message sent to the player when they respawn (%time% is equal the number of seconds they have the Effects).
# endoftimer: The message sent to the player when the Effects have ended.
#
# ----------------------------------------------------------------------------------------------------------------
antispawncamp:
spawntype1:
time: 60
messages:
leavespawn: §aYou have %time% seconds to leave the spawn
endoftimer: §aYou are now vulnerable
teleportdeny: §aYou cannot teleport
bedamagedbyotherplayerdeny: §aPlayers cannot damage you
damageotherplayerdeny: §aYou cannot damage other players
regions:
- region1
- region
spawntype2:
time: 20
messages:
respawn: §aYou are safe for %time% seconds
endoftimer: §aYou are now vulnerable