HyperScript 1.7.8
Version 1.7.8
Big change
Check your scripts before updating to 1.7.8
- HyperScript now sends anonymous usage numbers to
hyperscript.monoforge.net: once when the server starts, every ten minutes while it runs, and once when it stops. To send nothing, setsend-analytics: false, the first setting inconfig.yml. Aconfig.ymlfrom an older version has no such line, which counts as on; add the line to turn it off. The console says at every start that the numbers are being sent and how to stop it.
What is sent
- a random id made for the server, kept in
plugins/HyperScript/analytics-id.txt; it is not made from anything about the server; - the versions of HyperScript, Minecraft, the server software (Paper, Spigot ...) and Java;
- how many players are online and how many fit; how many scripts are loaded;
- the names of installed HyperScript addons.
What is never sent: player names, addresses, script contents, world names, or anything typed by a player. The website does not keep the address a message came from either.
The plugin now tells the HyperScript website that a server is running it, so the project can count its servers. It is on by default and one line in config.yml turns it off.
Changed (check your server)
- HyperScript now sends anonymous usage numbers to
hyperscript.monoforge.net: once when the server starts, every ten minutes while it runs, and once when it stops. To send nothing, setsend-analytics: false, the first setting inconfig.yml. Aconfig.ymlfrom an older version has no such line, which counts as on; add the line to turn it off. The console says at every start that the numbers are being sent and how to stop it.
What is sent
- a random id made for the server, kept in
plugins/HyperScript/analytics-id.txt; it is not made from anything about the server; - the versions of HyperScript, Minecraft, the server software (Paper, Spigot ...) and Java;
- how many players are online and how many fit; how many scripts are loaded;
- the names of installed HyperScript addons.
What is never sent: player names, addresses, script contents, world names, or anything typed by a player. The website does not keep the address a message came from either.
Added
Website
POST /api/analyticstakes those messages. The numbers are held in memory only: they start again when the site restarts and fill up as servers send their next message. A server that has not been heard from for 25 minutes no longer counts as online.GET /api/analytics?code=<code>gives the totals: servers and players online, scripts loaded, which versions of the plugin, of Minecraft, of Java and which server software, which addons, the peaks, and since when it has been counting. The code is 25 letters, made new every time the site starts, printed in the site's console and written toanalytics-code.txtbesideapp.py(a file the site does not serve). Without the right code the answer is a refusal.GET /api/testanswers with the plain textYup works: somewhere real to try a first web request from a script. The Docs example that fetchedhttps://api.example.com/statsnow uses it.
Ready-made script
Analytics.hs:/analytics <code>shows those totals in game. It is for whoever runs the website; with a wrong code it only says so. That makes 38 scripts.
Logos
- A logo for each addon, in the family of the HyperScript one:
HyperVelocity,HyperPerms,HyperGuardandHyperCitizens, plusHyperScriptitself for the organization. Each as an SVG and as 512 and 256 pixel PNGs, in theLogosfolder beside the site.