Push pack services and fix for failing tests
This commit is contained in:
parent
280633b28a
commit
cdfbc60030
21 changed files with 415 additions and 378 deletions
|
@ -25,9 +25,12 @@ use Illuminate\Database\Seeder;
|
|||
use Pterodactyl\Models\Service;
|
||||
use Pterodactyl\Models\ServiceOption;
|
||||
use Pterodactyl\Models\ServiceVariable;
|
||||
use Pterodactyl\Traits\Services\CreatesServiceIndex;
|
||||
|
||||
class RustServiceTableSeeder extends Seeder
|
||||
{
|
||||
use CreatesServiceIndex;
|
||||
|
||||
/**
|
||||
* The core service ID.
|
||||
*
|
||||
|
@ -63,7 +66,7 @@ class RustServiceTableSeeder extends Seeder
|
|||
'name' => 'Rust',
|
||||
'description' => 'The only aim in Rust is to survive. To do this you will need to overcome struggles such as hunger, thirst and cold. Build a fire. Build a shelter. Kill animals for meat. Protect yourself from other players, and kill them for meat. Create alliances with other players and form a town. Do whatever it takes to survive.',
|
||||
'startup' => './RustDedicated -batchmode +server.port {{SERVER_PORT}} +server.identity "rust" +rcon.port {{RCON_PORT}} +rcon.web true +server.hostname \"{{HOSTNAME}}\" +server.level \"{{LEVEL}}\" +server.description \"{{DESCRIPTION}}\" +server.url \"{{URL}}\" +server.headerimage \"{{SERVER_IMG}}\" +server.worldsize \"{{WORLD_SIZE}}\" +server.seed \"{{SEED}}\" +server.maxplayers {{MAX_PLAYERS}} +rcon.password \"{{RCON_PASS}}\" {{ADDITIONAL_ARGS}}',
|
||||
'index_file' => Service::defaultIndexFile(),
|
||||
'index_file' => $this->getIndexScript(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -25,9 +25,12 @@ use Illuminate\Database\Seeder;
|
|||
use Pterodactyl\Models\Service;
|
||||
use Pterodactyl\Models\ServiceOption;
|
||||
use Pterodactyl\Models\ServiceVariable;
|
||||
use Pterodactyl\Traits\Services\CreatesServiceIndex;
|
||||
|
||||
class SourceServiceTableSeeder extends Seeder
|
||||
{
|
||||
use CreatesServiceIndex;
|
||||
|
||||
/**
|
||||
* The core service ID.
|
||||
*
|
||||
|
@ -63,7 +66,7 @@ class SourceServiceTableSeeder extends Seeder
|
|||
'name' => 'Source Engine',
|
||||
'description' => 'Includes support for most Source Dedicated Server games.',
|
||||
'startup' => './srcds_run -game {{SRCDS_GAME}} -console -port {{SERVER_PORT}} +ip 0.0.0.0 -strictportbind -norestart',
|
||||
'index_file' => Service::defaultIndexFile(),
|
||||
'index_file' => $this->getIndexScript(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -25,9 +25,12 @@ use Illuminate\Database\Seeder;
|
|||
use Pterodactyl\Models\Service;
|
||||
use Pterodactyl\Models\ServiceOption;
|
||||
use Pterodactyl\Models\ServiceVariable;
|
||||
use Pterodactyl\Traits\Services\CreatesServiceIndex;
|
||||
|
||||
class TerrariaServiceTableSeeder extends Seeder
|
||||
{
|
||||
use CreatesServiceIndex;
|
||||
|
||||
/**
|
||||
* The core service ID.
|
||||
*
|
||||
|
@ -63,7 +66,7 @@ class TerrariaServiceTableSeeder extends Seeder
|
|||
'name' => 'Terraria',
|
||||
'description' => 'Terraria is a land of adventure! A land of mystery! A land that\'s yours to shape, defend, and enjoy. Your options in Terraria are limitless. Are you an action gamer with an itchy trigger finger? A master builder? A collector? An explorer? There\'s something for everyone.',
|
||||
'startup' => 'mono TerrariaServer.exe -port {{SERVER_PORT}} -autocreate 2 -worldname World',
|
||||
'index_file' => Service::defaultIndexFile(),
|
||||
'index_file' => $this->getIndexScript(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
|
@ -25,9 +25,12 @@ use Illuminate\Database\Seeder;
|
|||
use Pterodactyl\Models\Service;
|
||||
use Pterodactyl\Models\ServiceOption;
|
||||
use Pterodactyl\Models\ServiceVariable;
|
||||
use Pterodactyl\Traits\Services\CreatesServiceIndex;
|
||||
|
||||
class VoiceServiceTableSeeder extends Seeder
|
||||
{
|
||||
use CreatesServiceIndex;
|
||||
|
||||
/**
|
||||
* The core service ID.
|
||||
*
|
||||
|
@ -63,7 +66,7 @@ class VoiceServiceTableSeeder extends Seeder
|
|||
'name' => 'Voice Servers',
|
||||
'description' => 'Voice servers such as Mumble and Teamspeak 3.',
|
||||
'startup' => '',
|
||||
'index_file' => Service::defaultIndexFile(),
|
||||
'index_file' => $this->getIndexScript(),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue