bartakabstina / hax-headless

Haxball headless host script (Based on Anddy's script)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Haxball headless host script

(Based on Anddy's script)

Changes added to original script (2018-12-01):

*Added a very basic spam filter

*Sends on goal score notifications to chat

*Shows win streaks

*Added a few additional commands

*By default stats calculation for players and ball carrying functions are disabled

*Some other small fixes

!!! This script is totaly experimental, bugs or performance issues should be expected. It will be improved over time. Also if you know how to code, you can definitely make it better by yourself!!!

Commands list

// Commands that don't need to know players attributes.
"!help": helpFun,
"!gkHelp": gkHelpFun,
"!adminHelp": adminHelpFun,
"!gameHelp": gameFun,
"p": putPauseFun,
"!p": unPauseFun,
"!lastScore": lastFun,
"!teamsWinRate": winRateFun,
"!currentStreak": currentStreakFun,
"!recordStreak": streakRecordFun,

// Command that need to know who is the player.
"!resetStats": resetStatsFun,
"!gk": gkFun,
"!getadmin": adminFun,

// Command that need to know if a player is admin.
"!swap": swapFun,
"!rr": resetFun,
"!clearBans": clearFun,
"!close": closeFun,

// Command that need to know who is the player and what's the message.
"!mute": pushMuteFun,
"!unmute": unmuteFun

About

Haxball headless host script (Based on Anddy's script)

License:The Unlicense


Languages

Language:JavaScript 100.0%