-
Notifications
You must be signed in to change notification settings - Fork 7
KFServerToolCMD(Linux)
Go to code/KF2ServerToolCMD and download the file.
- Put the KF2ServerToolCMD inside the server folder
- Launch it from terminal with -list argument (./KF2ServerToolCMD -list)
- A new file called KF2ServerToolCMD.ini will be created in the last step. Edit this file if you don't use the default paths of KFEngine and KFGame.
- Install steamcmd: "apt-get install steamcmd" or download it from here and extract for a folder (eg KF2Server/steamcmd/)
- Configure the KF2ServerToolCMD.ini to specify it ("steamcmd.sh" relative path, "steamcmd" for global installation or the any absolute path)
- K2ServerToolCMD -help to see all available commands
KF2ServerToolCMD -option
Example:
KF2ServerToolCMD -addmap 1234567891
Options: -addmap : Download and add map to entries
-addmod : Download and add mod to entries
-config <FileName.ini> : Specify a custom KF2ServerToolCMD.ini, if dont exists a new one will be created. Then the tool will work only with the configured KF2Game and KFEngine ini specified inside the custom KF2ServerToolCMD ini file. Also when this option is set the tool will ignore show items that the current config is not subscribed
-custom : Does one o more specied steps Custom arguments: aws= : Add specified Workshop subscribe rws= : Remove specified Workshop subscribe ame= : Add specified Map Entry rme= : Remove specified Map Entry amc= : Add specified Map In Map Cycle rmc= : Remove specified Map In Map Cycle adl= : Download specified Workshop map or item to cache rdl= : Remove specified Workshop map or item to cache
Example: KF2ServerToolCMD -custom ame=KF-MyMap amc=KF-MyMap aws=1234567891
(This will add just the map entry, the map in server cycle and workshop subscription.)
-help : Show this message
-ig : Ignore if the server is running (Not recommended)
-info : display application and server info
-list : list all installed items
-redirect : set custom redirect
-redirect off: disable custom redirect
-remove : Fully remove item
-report : report all items installed without formatting
-update : Update an item from workshop)
-validate : Redownload all subscribed workshop files
-webadmin on: enable webadmin
-webadmin on: disable webadmin
-webadmin port : set webadmin port (default 8080)
-workshop on : enable workshop redirect
-workshop off : disable workshop redirect
-installserver : install a new server the following path (if a path is not specified the program will use the current directory)