/ / Current / Plugins ← Parkoreen
← Current Overview

Overview

Plugins are opt-in extensions enabled per-map in the Map Config panel. Multiple plugins can be active simultaneously. The three built-in plugins are HK, HP, and Code.

HK (Hollow Knight) plugin

Adds Hollow Knight‑style mechanics to the player character.

FeatureDescription
Mantis ClawPlayer can cling to and jump off walls.
AttackPlayer can slash in a directional arc. Damages enemies or interacts with objects.
PogoAttacking downward onto a surface bounces the player upward.
Soul StatueCollectible objects that restore soul energy.
color.js / globalsHK plugin exposes colour helpers and global inject scripts for advanced maps.

HP (Health) plugin

Replaces instant-death hazards with a configurable health system.

FeatureDescription
Health Bar HUDOn-screen bar showing the player's current HP.
DamageHazards deal configurable HP damage rather than killing instantly.
HealSpecific objects (e.g. checkpoints with Heal at Checkpoints enabled) restore HP.

Code plugin (Mechanics editor)

Adds the Mechanics Editor — a visual block system plus Python scripting via Skulpt (an in-browser Python interpreter). Open it from the editor to build interactive logic without leaving the map.

Mechanic block types

BlockPurpose
TriggerDetects something happening in the world (game start, repeat timer, player input/action, zone enter/leave, button press, player stats, key combos). Each trigger can link to one event by id.
EventThe reaction that runs when a trigger fires. Holds Python code to execute. (Previously called "Action" — existing maps using codeData.actions and type: 'action' are auto-migrated to codeData.events / type: 'event' on load.)
VariableSingle value or list value usable by Python code. Supports string, integer, float, boolean, and variable references.

Trigger types

TriggerDescription
Game StartsFires once when the game begins.
RepeatFires repeatedly on an interval (ticks / seconds / minutes).
Player Action InputFires when the player performs a movement action (jump, fall, move, teleport, send message, …). Some actions accept an extra value (e.g. Fall for [time]).
Player Key InputFires on a multi-key combination (alphabet / number / mouse / arrow / modifier / custom captured keys).
Player Enter Zone / Leave ZoneFires when the player crosses a named Zone.
Player Press ButtonFires when the player activates a Button.
Player StatsFires when a player stat (username, display name, host/guest, color, tag) matches a value.

Other features

FeatureDescription
Python scriptsEach Event can hold Python code that runs when its linked trigger fires.
Custom fontsRegister custom .ttf fonts for use by Text objects.
Zone eventsDetect when the player enters or exits a named Zone.
Button eventsRespond to button.pressed events from Buttons.
The Code plugin API is considered stable in the current version. Custom fonts, mechanic blocks, and zone/button event hooks are the primary integration points.