This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to run: docker-compose run | |
# | |
# Create a .evn file in the same folder as this file and change the variables. | |
# MOUNT_POINT=/tmp/ | |
# VPN_PROVIDER=changeme | |
# VPN_CONFIG=changeme | |
# VPN_USERNAME=changeme | |
# VPN_PASSWORD=changeme | |
# | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Little code to update every players VAC status on headshotbox | |
function getData(offset) { | |
console.log("Fetching new data, offset: " + offset); | |
$.ajax("http://" + window.location.host + "/api/players?limit=100&offset=" + offset).done( | |
function(data) { | |
if (data.player_count > offset) { | |
var players = data.players.map( | |
function(p) { | |
return p.steamid; |