HyperScript 1.7.29
Mistakes you can click, an extension for VS Code, a Status page, a page for every script, and the addon HyperEconomy. This version was run on a Paper 26.2 server and what that showed up is fixed.
Added
- Mistakes in chat can be clicked. When a script does not load, whoever has
hyperscript.adminis shown the report, the line it is about, and, where HyperScript can tell what was meant, the line as it should be. Click the suggestion or the corrected line to copy it; click the file's name to check the file again. The same after/hyperscript reloadand/hyperscript check. - More mistakes come with a suggestion. A misspelt item, block, entity, effect or enchantment is answered with the one that was meant (
Unknown block 'dimond block'. Did you mean 'diamond block'?), and so are the options of a command (cooldwn:), the names in anoptions:block, and the word a block starts with (comand /shop:). - A block at the left margin that has no
:at its end is told so. - HyperScript for VS Code. An extension with colours, completion, the documentation on hover, an outline, snippets, and mistakes underlined as you type with a quick fix where HyperScript can tell what was meant. It is on the website's new VS Code extension page.
- A value between percent signs in text is worked out, if it is several words or a call:
"You have %size of _list% items","That is %round(_n)% coins". Anything that does not read as a value stays as it was written, so"50% off"and another plugin's%placeholder%are untouched. "gold block"and"gold_block"are the same name when compared, soif block at _spot is "gold block":is true for a gold block.- A Status page on the website: whether each part of the site is working, how much of each day it was up, and how long it takes to answer, with the numbers as a chart and as a table.
- A page of its own for every user-made script, at an address that can be shared and that says what the script is before anything is clicked. Search engines can read them.
- The pages of the ready-made scripts say what the script does, what it needs and what is in it, and have Download and Copy buttons.
- HyperEconomy, a new addon: a currency of your scripts becomes the server's money, for every plugin that pays through Vault. It is on the Addons page.
- For addons:
currencies(),balance(uuid, currency)andsetBalance(uuid, currency, amount)inHyperScriptAPI.
Changed
- The website's checker, the playground and the editor know the items, blocks and creatures of Minecraft up to 26.2, not only those of 1.16.5.
Fixed
- After loading, the number of files with errors counted every mistake as a file: three broken files with six mistakes between them were "6 file(s) had errors".
- A script that needs an addon which is not installed is reported with that one message, not with every line in the addon's words as a further mistake.
/hyperscript testreported every script without tests that it could not read on its pretend server as a failed test. Scripts without atestblock are now left out.- In chat, the corrected line for a misspelt block word (
comand /shop:) was not offered. - Toasts stopped working after a restart. A toast that had been shown before the server was restarted could not be shown again:
this server could not make a toast. player has 1 paper tagged "key"did not find the item if it also had a name or lore. An item written with a tag and nothing else is now any item of that kind with that tag, andremove ... fromgoes by the same rule.