Command-line usage

From NPC for VCMP 0.4 Servers
Revision as of 05:13, 5 December 2022 by Habi (talk | contribs)
Jump to navigation Jump to search

The command-line usage of npcclient is as follows:

USAGE:

   npcclient  [-] [-h <string>] [-l <string>] [-m <string>] [-p <integer>]
              [-w <string> ...] [-z <string>] -n <string>


Where:

   -h <string>,  --hostname <string>
     IP address of host

   -p <integer>,  --port <integer>
     Port to connect to

   -n <string>,  --name <string>
     (required) Name of the NPC

   -m <string>,  --scriptfile <string>
     Squirrel Script file to be used

   -z <string>,  --password <string>
     Password of the server to connect

   -l <string>,  --location <string>
     The location and skin to spawn eg. "x__ y__ z__ s__"

   -w <string>,  --params <string>  (accepted multiple times)
     The params to be passed to script

   --,  --ignore_rest
     Ignores the rest of the labeled arguments following this flag.

   VCMP-Non Player Characters v1.5