HyperScript 1.7.13
Blocks that only one player sees, and a fix for the playground on the live website.
Added
Fake blocks
set fake block at <position> to <block>shows the player a block that is not really there. Only that player's game is told; the world is not changed and nobody else sees it. Addfor <who>orfor all playersto show it to someone else.clear fake block at <position>shows what is really there again.- The position is written as for
set block:at player,at event's location,at 10, 64, -5 in "world". - The server still has the real block. A player cannot stand on a fake block over air, and the real one comes back by itself when they click it, when it changes, or when they go away and return.
Fixed
Website
- The playground said "Scripts cannot be run on this site." on the live site. Running in the browser fetches the plugin jar piece by piece. The site compressed everything it sent, the jar included, and a compressed answer has no size and cannot be sent in pieces; so Cloudflare, in front of the site, kept a copy it could only hand out whole, and the browser's Java gave up. Jars are now never compressed, and the jar has an address that changes with each version so the old cached copy is not used. The message itself came from the fallback, the website running the script, which needs Java on the website's machine.
- When neither the browser nor the website can run a script, the page now says why for both, instead of only the second.
Removed
Vanish.hsfrom the ready-made scripts. It hid a player from others withhide ... from, but anyone with thevanish.seepermission, which includes every operator, kept seeing them, so to the person testing it nothing seemed to happen. That makes 37 scripts.