Approved Game Hooks
New in 1.5Scripts can request specific game hooks. Each request needs your explicit approval and a restart, and crash protection can switch them off.
Approved Game Hooks let a Polinex script request specific supported hooks into the game, such as method or call hooks and numeric or boolean overrides, for things the regular Script API can't do.
Every hook request needs your explicit approval and a restart before it takes effect. You can approve, revoke and re-enable hooks with /pnxscript hooks. Crash protection can switch a hook off if it causes problems.
Commands
- /pnxscript hooks approve
- /pnxscript hooks revoke
- /pnxscript hooks enable
Included with Polinex. See packages
More in Scripting
All features- JavaScript & TypeScript ScriptsWrite scripts in JavaScript or TypeScript, split them across files with require and reload them in-game. Scripts can add their own modules, macros and helpers.
- In-Game Script EditorNewEdit scripts without leaving Minecraft, with highlighting, completion, a console, block-authoring tools and Git built in. Opens with /scripteditor.
- Script HubNewBrowse, download, publish and rate community scripts, with version history and restore.
- Private Script SharingNewShare private scripts with specific users or with share links. Private scripts are verified and run in memory without installing their source.
- Script APIReady-made APIs for walking, flying and Etherwarp travel, rotations, inventories and menus, Bazaar and Auction House, world scanning and SkyBlock data.
- Custom HUDs, Rendering & ShadersDraw draggable HUD panels, 2D and 3D shapes, outlines, glow and chams, or write your own GLSL shaders and load OBJ models.
- Sandboxed RuntimeScripts get Polinex's APIs, not your computer: Java class lookup, unrestricted file access, native code, processes and threads are blocked, and execution is limited.