HyperScript 1.7.7
Version 1.7.7
Big change
Check your scripts before updating to 1.7.7
looped-playeris nowloop-player. A script that still sayslooped-playerno longer loads; change the word. The ready-made scripts that used it (Chat, Warnings) are updated.on right click:now also runs when a player right-clicks a creature or another player, and for a click made with the off hand. A script that only wants clicks on blocks or air should checkevent.block, or useon entity click:for the others.
Fixes for loops over players and for right-clicks, and new versions of all four addons.
Changed (check existing scripts)
looped-playeris nowloop-player. A script that still sayslooped-playerno longer loads; change the word. The ready-made scripts that used it (Chat, Warnings) are updated.on right click:now also runs when a player right-clicks a creature or another player, and for a click made with the off hand. A script that only wants clicks on blocks or air should checkevent.block, or useon entity click:for the others.
Fixed
loop-player's locationworks.<anyone>'s locationused to be understood only forplayerandevent, sodraw particle circle ... at looped-player's locationfailed. It now works after any value that names a player:loop-player's location,arg.1's location,_name's location,"Alex"'s location.- Right-clicks with the off hand are no longer lost. When the main hand is empty and the other holds something usable, the game reports the click for the off hand only, and HyperScript threw it away. One click still runs the block once, whichever hand it came from.
Added
loop-number: which round aloop all players:is on, starting at 1.<who>'s location, as above.
One thing no plugin can see: right-clicking the air with a completely empty hand. The game does not tell the server about that click. Holding any item, or clicking a block or a creature, works.
Addons (separate jars, on the Addons page; each has its own changelog)
- HyperVelocity 1.1.0:
broadcast ... to network,kick ... from network,server "pvp" is online, and player counts for every server from the start. - HyperPerms 1.1.0: single permissions with a time limit (
grant player permission "fly" for 1 hour),all groups,players in group, group weights, and LuckPerms meta. - HyperGuard 1.1.0:
create guard regionanddelete guard region,guard allows building at, overlap checks, priority and parent. New scriptPlots.hs. - HyperCitizens 1.1.0: equipment, floating text above an NPC,
watch players,follow, andpatrol.
That makes 37 ready-made scripts.