Skip to content

mgrist/mx-sim-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

mx-sim-scripts

Server scripts for the game "MX Simulator".

How to use

  1. Download the JavaScript files you want and move them to your server's js directory.
  2. Edit your serverargs.txt file and include the line argument --javascript js/<scriptname>.js.
  3. Include the --args-file serverargs.txt argument when starting your server.

Example:

--max-clients 11
--greeting "Welcome to my server"
--results-file results.txt
--track-interval 15
--laps 5
--erode 0.3
--javascript js/elimination.js
--javascript js/myinfo.js
trackinfo/alcrest.trackinfo

Scripts

You must be a server admin to run commands.

Elimination

The elimination.js script is used to host "elimination" races. Type in the server command server, quali <n> to qualify the top "n" players. The remaining players will be eliminated. When players are eliminated, a message will be broadcast to the server, and the player will be moved into spectator mode.

About

Server scripts for the game "MX Simulator".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published