Build custom game modes with special conditions
Combine eight triggers and three actions to make game modes such as point races, sumo or parkour.
A special condition is a rule of the form when this happens to a player, do that. You attach them to a kit, so one kit can be a sumo and another a point race on the same arena. By the end of this page you will have a kit that is won by touching a trigger.
Before you start#
- A working kit and arena: see Play your first match.
- For
ENTER_FAR_AWAY_EXTRA_REGION, the arena needs extra regions. - You have
exyliapractice.admin.
Steps#
Open the special conditions of the kit
/epc → Manage kits → All kits → your kit → Kit rules → Special conditions. Each trigger is one item in the list.
Pick the trigger and toggle its actions
Every trigger item shows the state of its three actions. Click it:
| Click | Toggles |
|---|---|
| Left | ADD_POINT (Add a point) |
| Right | LOSS_POINT (Lose a point) |
| Shift + left | DEATH |
A trigger can carry several actions. They run in the order you switched them on.
Set how the match ends
For a point race, open Kit rules → Win conditions and set points-to-win. The player who reaches it wins the round, or the match when rounds are played. See Kit rules.
Make sure the kit is playable
On the kit, Playability & ranked decides where it can be used (queue, duels, parties). A mode that only works with a specific arena belongs under Compatible arenas.
The eight triggers#
| Trigger | Fires when the player |
|---|---|
TOUCH_WATER | stands in water |
TOUCH_LAVA | stands in lava |
TOUCH_END_GATEWAY | stands in an end gateway |
TOUCH_END_PORTAL | stands in an end portal |
TOUCH_NETHER_PORTAL | stands in a nether portal |
STEP_ON_GOLD_PRESSURE_PLATE | steps on a light weighted pressure plate |
FALL_INTO_VOID | falls into the void, or below the bottom of the arena's playable region |
ENTER_FAR_AWAY_EXTRA_REGION | enters the extra region farthest from their spawn |
Block triggers are checked on the block the player's feet are in, and only when they change block. Standing still in lava fires once, not every tick.
The three actions#
| Action | What happens |
|---|---|
ADD_POINT | The player gains a point. If that reaches points-to-win, they win the round or the match. |
LOSS_POINT | The player loses a point. The score never goes below zero. |
DEATH | The player is eliminated. With iron-plate-checkpoints on and a checkpoint set, they are healed and sent back to it instead. |
When FALL_INTO_VOID has actions but none of them is DEATH, or has none at all on a kit that plays to points, the fall is not an elimination. After the actions run, the player is healed and sent back to their checkpoint (with iron-plate-checkpoints on and one set) or to their spawn. Only a kit with no FALL_INTO_VOID actions and no points-to-win still kills on a fall.
What you can build#
TOUCH_WATER → DEATH. Kit with no items, PvP on, arena is a platform over water.
ENTER_FAR_AWAY_EXTRA_REGION → ADD_POINT, two extra regions, points-to-win: 3.
FALL_INTO_VOID → DEATH with iron-plate-checkpoints on, so a fall returns you to the last heavy plate. STEP_ON_GOLD_PRESSURE_PLATE → ADD_POINT at the finish.
FALL_INTO_VOID → DEATH, ENTER_FAR_AWAY_EXTRA_REGION → ADD_POINT, build on, regenerate-after-point on.
Check that it works#
- Start a match with the kit (
/duel <player>is the quickest) and walk into the trigger. The action fires once per entry. - For a point race, the sidebar score goes up and the round or match ends at
points-to-win. - If nothing fires, the trigger has no action toggled on, or the player is in a block the trigger does not cover (for example a water trigger needs the feet block to be water).
Going further#
Revives and DEATH
An eliminated player in a kit with revive-time above zero spectates for that many seconds and comes back at their spawn instead of ending the match. That is what makes a DEATH condition a penalty rather than a loss, and how a bridge or parkour kit runs to a point total rather than to a single mistake.
LOSS_POINT is not decisive by itself
Because the score stops at zero, LOSS_POINT alone never ends a round. Pair it with something that does: a DEATH on another trigger, or a point target for the opponent.
Something missing on this page? Tell us on Discord