mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-22 08:13:12 +09:00
Gitignore and require moved to top
This commit is contained in:
1 parent
12d1631922
commit
e16d7b43ed
2 files changed
+2
-1
No files matched your search
@@ -29,3 +29,4 @@ node_modules
|
|||||||
Factorio*
|
Factorio*
|
||||||
/factorio
|
/factorio
|
||||||
/instances
|
/instances
|
||||||
|
/sharedMods
|
||||||
@@ -5,6 +5,7 @@ var child_process = require('child_process');
|
|||||||
var path = require('path');
|
var path = require('path');
|
||||||
var syncRequest = require('sync-request');
|
var syncRequest = require('sync-request');
|
||||||
var ncp = require('ncp').ncp;
|
var ncp = require('ncp').ncp;
|
||||||
|
var Rcon = require('simple-rcon');
|
||||||
|
|
||||||
// require config.json
|
// require config.json
|
||||||
var config = require('./config');
|
var config = require('./config');
|
||||||
@@ -176,7 +177,6 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
|
|||||||
|
|
||||||
// connect to the server with rcon
|
// connect to the server with rcon
|
||||||
// IP, port, password
|
// IP, port, password
|
||||||
var Rcon = require('simple-rcon');
|
|
||||||
var client = new Rcon({
|
var client = new Rcon({
|
||||||
host: 'localhost',
|
host: 'localhost',
|
||||||
port: instanceconfig.clientPort,
|
port: instanceconfig.clientPort,
|
||||||
|
|||||||
Reference in new issue
Block a user