Giter VIP home page Giter VIP logo

issserveragent's Introduction

ISSServerAgent

ISS服务器托管

To give Insurgency:Sandstorm Server Some Commands When It Starts a Round to Override the Config Set by the Ruleset.

当回合开始时给叛乱:沙漠风暴服务端一些指令来覆盖被规则集所设定的配置

ATTENTION

.NET Core 3.1 is required to run this program.

要运行该程序需要.NET Core 3.1.

https://dotnet.microsoft.com/download/dotnet-core/3.1

How to use

  1. Put program at the root of server. (Where the InsurgencyServer.exe is located)

  2. Create two txt files and a cmd file in same location. (Example: a.txt, b.txt and c.cmd)

  3. Writing your server config in a.txt . (Example content as "Precinct?Scenario=Scenario_Precinct_Checkpoint_Security?MaxPlayers=8 -Port=37102 -QueryPort=37131 -AdminList=Admins -MapCycle=Mapcycle -hostname="yourname"", you should remove the outside "", but DO NOT REMOVE which follows "-hostname=".)

  4. Writing your commands in b.txt , use NewLine to spilt each commands. They're as same as the rcon commands.

  5. Writing the c.cmd as following example: "ISSServerProt.exe --argsFile a.txt --rconPort port--rconPasswordpassword--nameNormal--CommandFileb.txt".

  6. Run the c.cmd , you should join the server after it started at least 45 secs. But if it starts so slowly that the program's connect request is sended earlier than server could accept them, the commands will not be executed correctly.

如何使用

  1. 将程序放在服务器根目录下。 (InsurgencyServer.exe所在的位置)

  2. 在相同位置创建一个cmd文件和两个txt文件。(例如 a.txt , b.txt 和 c.cmd )

  3. a.txt 写下你的服务器配置。(示例内容:"Precinct?Scenario=Scenario_Precinct_Checkpoint_Security?MaxPlayers=8 -Port=37102 -QueryPort=37131 -AdminList=Admins -MapCycle=Mapcycle -hostname="yourname"",你应该删去外侧的 "" ,但不要删除跟着"-hostname="的。)

  4. b.txt 写下你的指令,用换行符分割各个指令。它们和rcon指令一样。

  5. 依照以下示例编写 c.cmd : "ISSServerProt.exe --argsFile a.txt --rconPort port--rconPasswordpassword--nameNormal--CommandFileb.txt" 。

  6. 运行c.cmd,你应该在服务器启动45秒后再加入。但如果它启动的很慢,以至于程序的连接请求在服务端能接受之前就被发送,指令将不会被正确执行。

issserveragent's People

Contributors

vcstardust avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.