Skip to content

TheRatest/openfrags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

OpenFrags is a SourceMod plugin for Open Fortress that allows cross-server stat tracking and viewing it using fancy web pages and chat commands
Currently works with Deathmatch and Duel
More info at http://openfrags.ohaa.xyz

Console variables:

sm_openfrags_announce_elos [0 or 1] (Default: 1) - Announce player ELOs each time a round starts

Server commands:

sm_openfrags - About OpenFrags
sm_openfrags_stats [Name/SteamID2] - View your stats (or someone else's)
sm_openfrags_top - View the top players
sm_openfrags_leaderboard - An alias for sm_openfrags_top
sm_openfrags_eligibility (admin only) - Test the server for stat tracking eligibility
sm_openfrags_test_query (admin only) - Increase the caller's damage_dealt stat by 1
sm_openfrags_test_elo (admin only) - Update everyone's deathmatch Elos as if the round ended and output extra information to the server console
sm_openfrags_cached_elos (admin only) - View cached elos for debugging

Chat commands:

!openfrags
!top / !leaderboard
!stats [player name/steamid2]
!elo [player name/steamid2] / !rating [player name/steamid2]
!elos / !ratings

Installation:

You can apply for a MySQL user for your server to access the OpenFrags database at http://openfrags.ohaa.xyz/apply Without access to the DB you won't be able to use the plugin on your server

  1. Requirements:
  1. Download the files from the repo and unpack them in open_fortress/addons/sourcemod/
  2. Configure the translation file (open_fortress/addons/sourcemod/translations/openfrags.phrases.txt) to fit your server's theme
  3. Add an "openfrags" database entry to open_fortress/addons/sourcemod/configs/databases.cfg Below is an example of how an entry can look like:
	"openfrags"
	{
		"driver"			"mysql"
		"host"				"123.45.67.89"
		"database"			"openfrags"
		"user"				"ratserver"
		"pass"				"my_password"
		"port"				"3306"
		"timeout"			"20"
	}
  1. Restart the server and verify that the plugin works by typing sm_openfrags and sm_openfrags_top in your player console (this will most likely not work if you use the server console!)

Compiling

This should be the same as compling any other SourceMod plugin, but you need to have morecolors.inc in open_fortress/addons/sourcemod/scripting/include/

Releases

No releases published

Packages

No packages published