1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 02:22:36 +01:00

Update templates

This commit is contained in:
Dane Everitt 2016-11-18 18:22:34 -05:00
parent fc2ce11a39
commit 00e125c042
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53
8 changed files with 3 additions and 116 deletions

View File

@ -25,36 +25,14 @@
const rfr = require('rfr');
const _ = require('lodash');
const Configuration = rfr('src/services/minecraft/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) {
// Hide the output spam from Bungeecord getting pinged.
if (_.endsWith(data, '<-> InitialHandler has connected')) return;
return super.onConsole(data);
}
onStop(next) {
return super.onStop(next);
}
doQuery(next) {
return super.doQuery(next);
}
}
module.exports = Service;

View File

@ -1,10 +1,5 @@
{
"latest": {
"tag": "^(latest)$",
"symlink": "vanilla"
},
"vanilla": {
"tag": "^(vanilla){1}(-[\\w\\d.-]+)?$",
"startup": {
"done": ")! For help, type ",
"userInteraction": [
@ -30,7 +25,6 @@
"query": "minecraftping"
},
"spigot": {
"tag": "^(spigot)$",
"symlink": "vanilla",
"configs": {
"spigot.yml": {
@ -42,7 +36,6 @@
}
},
"bungeecord": {
"tag": "^(bungeecord)$",
"startup": {
"done": "Listening on "
},
@ -64,7 +57,6 @@
"query": "minecraftping"
},
"sponge": {
"tag": "^(sponge)$",
"symlink": "vanilla",
"startup": {
"userInteraction": [

View File

@ -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;

View File

@ -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"

View File

@ -24,34 +24,8 @@
*/
const rfr = require('rfr');
const Configuration = rfr('src/services/terraria/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;

View File

@ -1,6 +1,5 @@
{
"tshock": {
"tag": "^(tshock)$",
"startup": {
"done": "Type 'help' for a list of commands",
"userInteraction": []

View File

@ -24,34 +24,8 @@
*/
const rfr = require('rfr');
const Configuration = rfr('src/services/voice/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;

View File

@ -1,6 +1,5 @@
{
"mumble": {
"tag": "^(mumble)$",
"startup": {
"done": "Server listening on",
"userInteraction": [
@ -26,7 +25,6 @@
"query": "mumbleping"
},
"teamspeak": {
"tag": "^(ts3)$",
"startup": {
"done": "listening on 0.0.0.0:",
"userInteraction": []