X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=blobdiff_plain;f=SERVER_COMMANDS;h=41759aacc408f4643024d3c7bf61c81ee0d1993a;hp=156cd432ebef2e29a29754570d3f3bf6225dc45a;hb=HEAD;hpb=7ee8d801cf446845504674ccd804905180bfb35b diff --git a/SERVER_COMMANDS b/SERVER_COMMANDS index 156cd43..41759aa 100644 --- a/SERVER_COMMANDS +++ b/SERVER_COMMANDS @@ -6,9 +6,10 @@ Normal mode In normal mode, the server on start up checks for the existence of ./save and, on success, reads all commands from it. If no save file exists, commands from -./confserver/world are read instead – and written to the file ./record_save. -Afterwards, the command "MAKE_WORLD" with the current Unix time as argument is -interpreted (and also written to ./record_save). +./confserver/world (or any file defined with the -w argument) are read instead +– and written to the file ./record_save. Afterwards, the command "MAKE_WORLD" +with the current Unix time as argument is interpreted (and also written to +./record_save). In any case, from then on, further commands are read in from ./server_run/in. New commands must be appended to the file – which is what the client does. All @@ -51,10 +52,6 @@ game world is set active. Meta commands ------------- -PLUGIN [string] -Run plugin code in ./plugins/[argument], with argument only consisting of -alphanumeric characters and underscores. - PING Write "PONG" line to ./server_run/out file. @@ -94,6 +91,10 @@ inventory. God commands ------------ +PLUGIN [string] +Run plugin code in ./plugins/[argument], with argument only consisting of +alphanumeric characters and underscores. + TURN [0 to 65535] Set world turn to argument. (Initial value: 0.)