- setup a 1.19 spigot/paper server (e. g. from papermc.net)
- put the plugin in the plugins folder
- copy your paintball-arena world into the server's folder
- rename the world folder to "arena"
- restart the server
- use the
/paintball teamspawn set
command to set the spawns for the teams - the game will start as soon as the minimum amout of players (
/paintball minplayers
) is online - (optional) tweak values in the config, reload it with
/paintball reloadConfig
game
:durations
:game
: how long does the game lastgameLoop
: refresh interval of the info actionbarrefill
: how fast the snowballs will refillrespawn
: time from death until respawnshot
: how fast a player can shootkill
: cooldown until a player can kill again after a killtimer
: how long the timer should count down until startrestart
: time to wait after a game until automatic restart
teams
: list of teamsmaterial
: material used to replace blocks (RED
|BLUE
), only one team per materialdisplayName
: name used for the teamspawn
: set ingame with/paintball teamspawn •••
x
: x-posy
: y-posz
: z-posyaw
: yaw (rotation left-right)pitch
: pitch (rotation up-down)
noReplace
: blocks that shouldn't be replacedautostart
: should the game start automatically when enough players joinedminimumPlayers
: minimum players to start automaticallycolorRadius
: radius of the colorarenaWorldName
: name of the base world to copy for an arenaplayerHealth
: the number of hits a player can take until he diesspawnProtection
: the number of blocks around a players spawn point with protection
theme
:default
: default text colorhighlight
: highlight text colorsecondary
: secondary text color
- a system for
Projectiles
- store projectile creator
- a system for
Effects
- a system for
Guns
- as Item
- display Effects in Item Lore
- a system for
Items
- a system for
Arenas
- a system for
Particles
/data modify entity @e[type=minecraft:item,limit=1,sort=nearest] Item.tag.PublicBukkitValues."paintball:gun"."paintball:spray" set value 0.1
/data get entity @e[type=minecraft:item,limit=1,sort=nearest] Item.tag.PublicBukkitValues."paintball:gun"