Skip to content

Instantly share code, notes, and snippets.

@sapier
Created February 2, 2014 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sapier/8775519 to your computer and use it in GitHub Desktop.
Save sapier/8775519 to your computer and use it in GitHub Desktop.
minetest command line interface
$ ./madmin.lua 13094 playerlist full
Current players on server: 1
sapier
IP Address : 127.0.0.1
IP Version : 4
min. rtt : 0.0010
max. rtt : 0.0150
avg. rtt : 0.0010
min. jitter : 0.0000
max. jitter : 0.0120
avg. jitter : 0.0000
ser. format : 26
protocol version : 22
client state : Active
online : 9s
$ ./madmin.lua 13094 playerlist
Current players on server: 1
sapier
$ ./madmin.lua 13094 playerdetails sapier
Details for player: sapier
IP Address : 127.0.0.1
IP Version : 4
min. rtt : 0.0010
max. rtt : 0.0150
avg. rtt : 0.0010
min. jitter : 0.0000
max. jitter : 0.0120
avg. jitter : 0.0000
ser. format : 26
protocol version : 22
client state : Active
online : 83s
$ ./madmin.lua 13094 some error
unknown command
$ ./madmin.lua
Usage: madmin.lua <PID> <CMD> <param 1> <param 2> .. <param n>
$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment