HyperScript 1.5.6.1
This release changes the documentation website and the documentation. The plugin itself behaves as in 1.5.6.
Documentation website
- A Scripts page with ready-made scripts. Each one shows what it does, the commands it adds, and has two buttons: Copy puts the script on the clipboard, Download saves it as a
.hsfile to drop intoplugins/HyperScript/scripts. - The page has its own search box, which looks through script names and their contents, and the site-wide search finds scripts too.
- Scripts live in the
Scriptsfolder beside the site, oneName.hseach. The comment block at the top of a file is shown as its description, so a script explains itself with#notes. While the site is running, a file put in the folder appears on the next page load. - A downloaded script contains the script's text and nothing else: no author, dates or paths.
- Two scripts to start with:
Kits.hs:/kitsopens a menu with three kits. Default (stone tools, chainmail armour) is for everyone; Pro (iron) and Master (netherite) each need a permission. Every kit has its own waiting time, and what a kit contains is a plain list ofgivelines.Homes.hs:/sethome,/homeand/delhome, with a three-second stand-still before teleporting.- The site listens on port 25648 on every network interface, and exporting no longer resets that.
Documentation
- The overview, tutorial and file-structure pages were brought up to date with 1.5.6: functions,
loop all players,parse, inventory checks, Vault and PlaceholderAPI are now in the feature list, and the tutorial no longer describes per-player variables the old way. - Comments are described properly:
#starts a note, and a#inside quotes is ordinary text.