You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -63,11 +63,11 @@ Then, you have 4 ways to execute server commands:
63
63
64
64
You can retrieve some server information in JSON format by going to special addresses on your server IP.
65
65
66
-
*`/server_info`- returns an object containing the server name `hostName`, current level name `levelName`, number of connected players `currentPlayers`, maximum number of players `maxPlayers` and API version `protocolVersion`. Gives 503 when server is off.
67
-
*`/player_info`- returns an array of objects with the info about a player, where # is player number starting from 0. Contains name `name`, shirt/pants color `colors`, shirt color is upper 4 bits, pants color is lower 4 bits), number of kills `frags`, time since connected `connectTime` and IP address `address`. Gives 503 when server is off or 404 if the player is not found.
68
-
*`/player_info/#`- returns single player info object for the player under the number #.
69
-
*`/rule_info`- returns an array of all server console variables (like movement variables), in `{rule:"variable name",value:"variable value"}` format.
70
-
*`/rule_info/variable_name`- returns single server console variable in the same format. 404 if the variable doesn't exist.
66
+
*`/server_info`— returns an object containing the server name `hostName`, current level name `levelName`, number of connected players `currentPlayers`, maximum number of players `maxPlayers` and API version `protocolVersion`. Gives 503 when server is off.
67
+
*`/player_info`— returns an array of objects with the info about a player, where # is player number starting from 0. Contains name `name`, shirt/pants color `colors`, shirt color is upper 4 bits, pants color is lower 4 bits), number of kills `frags`, time since connected `connectTime` and IP address `address`. Gives 503 when server is off or 404 if the player is not found.
68
+
*`/player_info/#`— returns single player info object for the player under the number #.
69
+
*`/rule_info`— returns an array of all server console variables (like movement variables), in `{rule:"variable name",value:"variable value"}` format.
70
+
*`/rule_info/variable_name`— returns single server console variable in the same format. 404 if the variable doesn't exist.
71
71
72
72
# Adding game music
73
73
@@ -81,14 +81,14 @@ After that, create "media" folder in the "id1" folder (or, for the mission pack
81
81
82
82
# Browser support
83
83
84
-
The port has been tested on the following browsers:
84
+
The port has been tested on the following browsers (results from 2013):
85
85
86
-
* Firefox (Windows) -**Very good**- developed on it.
87
-
* Chrome (Windows) -**Very good**- no "loading" image.
88
-
* Firefox (Android) -**Okay**- very low performance (canvas is locked at 12 FPS), no mouse support. Keypresses are incorrect, not tested with Windows keyboard.
89
-
* Chrome (Android) -**Not Good**- no "loading" image, sound is broken (launch with `?-nosound -nocdaudio`), no mouse. Requires Windows-compatible keyboard for Esc and F1-F12 keys.
90
-
* Opera (Windows) -**Not Good**- low performance, nothing is drawn in water (type `r_waterwarp 0` in the console), no mouse.
91
-
* Internet Explorer (Windows) -**Unsupported**- bad TypedArray support, but likely many more issues.
86
+
* Firefox (Windows) —**Very good**— developed on it.
87
+
* Chrome (Windows) —**Very good**— no "loading" image.
88
+
* Firefox (Android) —**Okay**— very low performance (canvas is locked at 12 FPS), no mouse support. Keypresses are incorrect, not tested with Windows keyboard.
89
+
* Chrome (Android) —**Not Good**— no "loading" image, sound is broken (launch with `?-nosound -nocdaudio`), no mouse. Requires Windows-compatible keyboard for Esc and F1-F12 keys.
90
+
* Opera (Windows) —**Not Good**— low performance, nothing is drawn in water (type `r_waterwarp 0` in the console), no mouse.
91
+
* Internet Explorer (Windows) —**Unsupported**— bad TypedArray support, but likely many more issues.
92
92
93
93
Mouse support is currently available only on Chrome and Firefox. Stereo positional audio is supported on Chrome and Safari.
0 commit comments