Update templates
This commit is contained in:
parent
fc2ce11a39
commit
00e125c042
8 changed files with 3 additions and 116 deletions
|
@ -24,34 +24,8 @@
|
|||
*/
|
||||
const rfr = require('rfr');
|
||||
|
||||
const Configuration = rfr('src/services/srcds/main.json');
|
||||
const Core = rfr('src/services/index.js');
|
||||
|
||||
class Service extends Core {
|
||||
constructor(server) {
|
||||
super(server, Configuration);
|
||||
}
|
||||
|
||||
onPreflight(next) {
|
||||
return super.onPreflight(next);
|
||||
}
|
||||
|
||||
onStart(next) {
|
||||
return super.onStart(next);
|
||||
}
|
||||
|
||||
onConsole(data) {
|
||||
return super.onConsole(data);
|
||||
}
|
||||
|
||||
onStop(next) {
|
||||
return super.onStop(next);
|
||||
}
|
||||
|
||||
doQuery(next) {
|
||||
return super.doQuery(next);
|
||||
}
|
||||
|
||||
}
|
||||
class Service extends Core {}
|
||||
|
||||
module.exports = Service;
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"srcds": {
|
||||
"tag": "^(srcds)$",
|
||||
"startup": {
|
||||
"done": "Assigned anonymous gameserver Steam ID",
|
||||
"userInteraction": []
|
||||
|
@ -14,7 +13,6 @@
|
|||
"query": "protocol-valve"
|
||||
},
|
||||
"ark": {
|
||||
"tag": "^(ark)$",
|
||||
"symlink": "srcds",
|
||||
"startup": {
|
||||
"done": "Setting breakpad minidump AppID"
|
||||
|
|
Reference in a new issue