← All versions
HyperScript 1.5.1
Added
summon <entity> at <location>, with an optional amount and name: summon zombie at player's location, summon 3 chicken at event's location, summon iron golem named "&6Town Guard" at 0, 80, 0 in "world". Entity names are checked when the script loads. Up to 50 at a time.
permission: op on a command limits it to server operators and the console. permission: "<node>" works as before.
permission player add "<node>" and permission player remove "<node>" give and take back permissions from scripts. Grants are saved with the player's data and applied again every time they join. remove only undoes what add gave; permissions from ranks or other plugins are not touched.
- Reload errors are shown to whoever ran
/hyperscript reload, not only in the console. When a hot reload finds an error, it is sent to online players with the hyperscript.admin permission.
Removed
/hyperscript docs and the docs.output-directory setting. The documentation website is now generated only from a terminal: java -cp HyperScript-1.5.1.jar dev.hyperscript.docs.DocsExporter "<folder>".
Documentation website
- Smaller site. The tabs are Home, Overview, Installation, Configuration and Tutorial. The Java implementation and Building from source pages are gone from the site (they remain in the README).
- New Tutorial page: a first script in a few minutes.
- New Docs page at
/Docs, reached from a Docs button to the left of the search box. It lists every statement, expression, placeholder and event on one page, with type and topic filters on the left and a box that filters as you type. Each topic keeps its full guide and examples behind "Guide and examples", and each event has its values, an example and a try-it box.
- Effects: an animated headline on the home page, cards and entries that rise into view, hover movement, animated tab underlines, and a highlight on the entry a search result takes you to. All of it is switched off for visitors who ask their system for reduced motion.
- The exporter no longer writes
docs/*.md or mkdocs.yml.