mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 14:53:45 +02:00
Update templates
This commit is contained in:
@@ -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 New Issue
Block a user