When you die, your teammates can save you, but only if they can reach you alive.
Jailbreak
Whenever a player dies, they go to jail and get a lock icon by their name. If all players on a team are in jail, the other team gets a point, then a new round begins after a few seconds.
The top left corner of the screen keeps track of how many players on each team are in jail. Watch that number and pay attention to team chat, you may be the last free player on your team!
Jails are kept shut using springs. Freeze a spring so that your jailed teammates can escape. During overtime, jail springs can't be frozen.
Details for Running a Server
- Jailbreak is chosen using the
/jbor/gamemode jbcommands (or the-jbcommand line option). - Turning off the
/resetAllTeamscommand means that the winning team of each round doesn't die. (more) - The
[Jailbreak]Level List is used.
Details for Level Designers
- Your level must contain two jail areas. Each is defined by two Area ID/Path events in either the top left & bottom right corners, or else the top right & bottom left corners. The blue team jail must have the first parameter bit equal 0, and the red team 1.
- Springs inside jail areas can only be frozen by players on that team. There should be a way to escape from each jail that can only be used when a spring is frozen.
- Trigger ID 30 turns on whenever prisoners are released Trigger ID 29 turns on during overtime.
- Start position events should be inside the jail areas. When Trigger 30 turns on, this should cause players to enter the rest of the map, usually using Warp events.
- See plusJBLevel.j2l (included with JJ2+) for an example.
Details for Scriptwriters
Use the jjPLAYER::isJailed property to detect which players are in jail. There is no built-in API for detecting the boundaries of the jail areas, but you can use jjEventGet to find the AreaID/Path events in the corners.
Backwards Compatibility
Clients running v6.3 or earlier see asterisks instead of lock icons.
If Plus Only is disabled, free players can hit/push jailed players; otherwise jailed players are invincible.