Patch Highlights:
- Admins can now delete matches.
- Gametypes can now have the team sizes appended to keep records/rankings separate, this is off by default(not recommended for public servers) You can find the setting in logs folder settings and ftp settings.
- When people share match links of discord/facebook/twitter ect a basic match screenshot will be rendered.
To link directly to server side match screenshots there are two different api routes:
- https://example.com/api/matchshotALT?id=195 for detailed screenshots.
- http://example.com/api/matchshot?id=195 for basic screenshots(used for og:images)
Upgrading from V1.4.0
- Stop website and importer process.
- Extract the contents of the archive into your installed directory.
- Open a terminal in your main install directory.
- Run the command npm install to update dependences.
- Run the command node install.mjs to update database tables.
- Now rebuild your website with npm run build
- Run the command npm run start to start the website.
- Restart the importer process if required in another terminal via node importer.mjs
##Change Log:
- Fixed an issue with team 255 players breaking match pages.
- Added delete match tool to admin area.
- Updated the nav design.
- Fixed error can’t find directory “temp” when uploading map images.
- Added admin delete match at top of matches pages while logged in.
- Fixed delete_tmp_files can not be NULL error when adding a new ftp server.
- Fixed layout issue on edit welcome message.
- Added a confirm dialog to admin restore page settings button.
- Fixed an issue with SFTP failing to find the Logs folder on Linux machines.
- Added activity heatmap for matches played on the home page.
- Added activity heatmap for matches played on map pages.
- Fixed an issue where players in team 255 were counted as players in team games.
- Gametypes can now append the teamSize vs TeamSize for a games to keep ranking separate, can be toggled on or off on importer(defaults to off, not recommended for public servers where people can join/leave at any point) if enabled a 4 player 2 team game of deathmatch would be saved as deathmatch (2 v 2)
- Match links now have the correct map image for og:image instead of always being default, and will display basic scoreboards(sharing on discord/facebook/twitter ect…)
- Added Last Man Standing scoreboard to match screenshots(gametype must have last man standing in the name, can add others if needed)
- Fixed an issue with player playtime being calculated incorrectly.
og:image fix
- Use matchImageFIx.zip below and replace your existing file, then rebuild site for the fix to take effect.