Releases: scottadkin/node-utstats-lite
Releases · scottadkin/node-utstats-lite
Additional match JSON modes
Upgrading from version 1.1.1
- Stop website & importer processes.
- Replace files with new ones from the archive.
- Open a terminal in your main install directory.
- In the terminal run node install.mjs to add new settings to the database.
- In the terminal run npm run build to build the website.
- In the terminal run npm run start to start the website.
- In another terminal run node importer.mjs to restart the importer.
Added Match JSON modes
- Fetch Match Basic Info Returns team scores, winner, map, gametype, server names, total players, playtime https://example.com/api/json/match/?id=1337&mode=basic
- Fetch Match Players Info https://example.com/api/json/match/?id=1337&mode=players
- Fetch Match Detailed Kills This includes timestamps, weapons held by each player https://example.com/api/json/match/?id=1337&mode=kills-detailed
- Fetch Match Basic Kills The returns just killer,victim pairs https://example.com/api/json/match/?id=1337&mode=kills-basic
Change Log
- Added detailed kills mode to match JSON api, this will return timestamps, killer, victim, killerWeapon, victimWeapon /api/json/match?id=1337&mode=kills-detailed
- Added basic kills mode to match JSON api, this will return killer, victim pairs /api/json/match?id=1337&mode=kills-basic
- Added players mode to match JSON api /api/json/match?id=1337&mode=players
- Added a JSON Links component to match pages.
- Added option to admin area to enable/disable JSON api links on match pages.
- Ranking page now defaults to the last played match gametype.
- Fixed an issue with site settings not taking effect on the match page while enabling /disabling a component.
Version 1.1.1
Upgrading from version 1.1.0
- Stop website & importer processes.
- Replace files with new ones from the archive.
- Open a terminal in your main install directory.
- In the terminal run node install.mjs to add new settings to the database.
- In the terminal run npm run build to build the website.
- In the terminal run npm run start to start the website.
- In another terminal run node importer.mjs to restart the importer.
- To adjust the minimum matches played setting for rankings go to the admin area and click the Rankings Settings, then penalty, you should now see the new setting there.
- In the admin area of the website go to the Recalculate All Rankings tab and click Recalculate Rankings to apply the new minimum matches to existing rankings.
Change Log
- Added minimum matches to rankings system(you can find this setting in the penalty area of ranking settings)
- Fixed an issue with ranking penalty settings not saving decimal places
- Fixed an issue in the site settings area where the unsaved changes dialog was showing/hiding after each keystroke
Version 1.1.0
Upgrading from version 1.0.0
-
Stop website & importer processes.
-
Replace files with new ones from the archive.
-
Open a terminal in your main install directory.
-
In the terminal run npm install to update dependences.
-
In the terminal run node install.mjs to add new settings to the database.
-
In the terminal run npm run build to build the website.
-
In the terminal run npm run start to start the website.
-
In another terminal run node importer.mjs to restart the importer.
-
New admin tool for changing what is displayed on various pages and what order they are in.
Change log:
- Admins can now change the order in which items are displayed on various pages
- Added two new options for the home page, admins can now choose how many recent matches are displayed as well as most played maps.
- Added a new option to set the site’s name, it defaults to Node UTStats Lite, this will be appended to each page title and some meta tags for search engines.
- Added default image for og:image for all pages.
- Added welcome title & message to home page, you can edit this in the admin area.
- New match json API, you can now fetch json data of matches via match ids or permahashes(recommended) /api/json/match/?id=matchid
You have options to ignore certain data using match json api by appending a comma separated list &ignore=type1,type2 An example for ignoring player weapon stats and multikills,sprees would be https://example.com/api/json/match/?id=1337&ignore=weapons,special - Valid Ignore types are weapons,kills,basic,special,pickups,players(this will automatically ignore weapons,special,pickups)
- Added admin options to Map page; Display Basic Summary, Display Recent Matches
- Added admin options to Match page, all components can be toggled to display
- Added admin options to player profile page, all components can be toggled to display
- Admins can now toggle what is displayed in the Nav
- Admins can now change the order of items in the nav
- Rankings should now punish low playtime players more heavily to prevent low playtime players being high in the scoreboard
- Fixed the pagination on the matches page not including the selected search filters when changing pages
- Added display mode toggle to matches page
Version 1
First full release version.