Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
A free alternative to ItemsAdder, Model Engine, Nexo, Oraxen, CraftEngine and BetterModel.
A bigger API: custom blocks, liquids, dialog and spawn events
Nothing changes for a server that only uses RP Engine's own files. This release is for plugins built on it.
For developers
- New:
engine.blocks(). Ask which custom block stands somewhere (at,idAt,is), read and change its state (stateAt,setState,setProperty), and put one down (place). Custom blocks are real blocks, so Bukkit's ownBlockBreakEventandBlockPlaceEventtell you when; this tells you which block it was. - New:
engine.liquids(). The liquid a place is in (at) and the one a player is in right now (of). - New:
DialogOpenEventandDialogClickEvent, both cancellable. Stop a dialog opening (in combat, say), or stop a click's command running (a shop button the player can't afford).engine.dialogs().showing(player)says which dialog they were last shown. - New:
VehicleSpawnEvent(cancellable) andVehicleRemoveEvent, for rules about where vehicles may be put down and for tidying up when one goes. - New:
MobSpawnEvent, cancellable, withsetLevel. It fires for every custom mob however it came: an egg, a spawner, a command, a plugin or natural spawning. - New on
engine.mobs():spawn(location, id, level),isMob,levelandnear(location, radius). - New on
engine.models():sit(player, location),isSeatedandstand, to sit a player down anywhere, with no model needed. - New:
engine.emotes().playing(player)says which emote a player is in. - The Plugin API page in the docs covers all of it.
0.2.81: The console says what a Studio dialog needs
Dialogs
- A dialog made in ResourcePack AI Studio now says which features it uses. When it needs one this version of RP Engine does not have, the console names the dialog and the feature, instead of the dialog showing up with pieces missing. Update RP Engine when you see it.
- The code that runs Studio dialogs is now shared with Dialog Engine, so a dialog behaves the same in both plugins. Nothing changes in your files.
Platforms
Paper
1.19.4–26.3