HyperScript 1.7.43
Notifications and pages of their own for an account on the website; in the plugin, more NBT and one command that brings every installed script up to date.
Added
The plugin
/hyperscript update scriptsbrings every script that was installed from the website up to date in one go. Each keeps the options you set, and the file as it was stays beside the new one as<name>.hs.old. Which scripts were installed, by which id, in which version and when, is now kept inplugins/HyperScript/installed-scripts.json; scripts installed before this version are found by the line an install writes at their top.- Items carry data from the start.
give player diamond sword with nbt "owner" player.namemakes the item with that data on it, andnbt "owner" of {_item}reads it from an item in a variable.with nbtmay be said several times and goes withnamed,with loreand the rest;{_item} with nbt "kills" 5makes an item in a variable anew with more on it. The data is kept when the item is saved in a variable. - The game's own NBT can be written.
set nbt of tool of player to "{Unbreakable:1b}",set nbt of {_mob} to "{NoAI:1b,Silent:1b}"andset nbt of block at {_chest} to "{...}"lay tags, written as the game writes them, over what the thing has. Keys of your own, as innbt "kills" of ..., stay the way for a script's own bookkeeping.
The website
- Notifications. A bell beside the Docs button shows how many things have happened that you have not looked at: somebody replied in a forum thread you started or wrote in, a moderator wrote to you about a script, a script of yours was accepted or turned down, or somebody commented on one. Which of these you are told about is chosen in your account settings.
- An account has pages of its own: *Your scripts*, *Submit a script*, *Notifications* and *Account settings*, where they were one long page before.
- A moderator can ask you about a script you sent in. The question stands under that script on *Your scripts*, and you can answer there.
- A new version of a script can say what changed, and the script's page lists it.
- The forum can be searched, in titles and in everything that was written, and the list can be narrowed to threads that are solved or still open.
- The home page says how many things the language has in all, beside the count of each kind.
Changed
- A script sent in may be up to 512 KB, where it was 20,000 characters.
- The page a script is sent in from says what makes a script likely to be turned down: fetching from a website address that is written into the script.
- The VS Code extension is 1.0.6 and knows the new syntax.