Singularize model names.

This commit is contained in:
Dane Everitt 2017-02-12 16:02:23 -05:00
parent 7c916ad38f
commit 8ba479e51f
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
25 changed files with 73 additions and 73 deletions

View file

@ -66,7 +66,7 @@ class MinecraftServiceTableSeeder extends Seeder
private function addCoreOptions()
{
$this->option['vanilla'] = Models\ServiceOptions::create([
$this->option['vanilla'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Vanilla Minecraft',
'description' => 'Minecraft is a game about placing blocks and going on adventures. Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles. Play in Creative Mode with unlimited resources or mine deep in Survival Mode, crafting weapons and armor to fend off dangerous mobs. Do all this alone or with friends.',
@ -76,7 +76,7 @@ class MinecraftServiceTableSeeder extends Seeder
'startup' => null,
]);
$this->option['spigot'] = Models\ServiceOptions::create([
$this->option['spigot'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Spigot',
'description' => 'Spigot is the most widely-used modded Minecraft server software in the world. It powers many of the top Minecraft server networks around to ensure they can cope with their huge player base and ensure the satisfaction of their players. Spigot works by reducing and eliminating many causes of lag, as well as adding in handy features and settings that help make your job of server administration easier.',
@ -86,7 +86,7 @@ class MinecraftServiceTableSeeder extends Seeder
'startup' => '-Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}',
]);
$this->option['sponge'] = Models\ServiceOptions::create([
$this->option['sponge'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Sponge (SpongeVanilla)',
'description' => 'SpongeVanilla is the SpongeAPI implementation for Vanilla Minecraft.',
@ -96,7 +96,7 @@ class MinecraftServiceTableSeeder extends Seeder
'startup' => null,
]);
$this->option['bungeecord'] = Models\ServiceOptions::create([
$this->option['bungeecord'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Bungeecord',
'description' => 'For a long time, Minecraft server owners have had a dream that encompasses a free, easy, and reliable way to connect multiple Minecraft servers together. BungeeCord is the answer to said dream. Whether you are a small server wishing to string multiple game-modes together, or the owner of the ShotBow Network, BungeeCord is the ideal solution for you. With the help of BungeeCord, you will be able to unlock your community\'s full potential.',
@ -117,7 +117,7 @@ class MinecraftServiceTableSeeder extends Seeder
private function addVanillaVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['vanilla']->id,
'name' => 'Server Jar File',
'description' => 'The name of the server jarfile to run the server with.',
@ -129,7 +129,7 @@ class MinecraftServiceTableSeeder extends Seeder
'regex' => '/^([\w\d._-]+)(\.jar)$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['vanilla']->id,
'name' => 'Server Version',
'description' => 'The version of Minecraft Vanilla to install. Use "latest" to install the latest version.',
@ -144,7 +144,7 @@ class MinecraftServiceTableSeeder extends Seeder
private function addSpigotVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['spigot']->id,
'name' => 'Server Jar File',
'description' => 'The name of the server jarfile to run the server with.',
@ -156,7 +156,7 @@ class MinecraftServiceTableSeeder extends Seeder
'regex' => '/^([\w\d._-]+)(\.jar)$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['spigot']->id,
'name' => 'Spigot Version',
'description' => 'The version of Spigot to download (using the --rev tag). Use "latest" for latest.',
@ -168,7 +168,7 @@ class MinecraftServiceTableSeeder extends Seeder
'regex' => '/^(latest|[a-zA-Z0-9_\.-]{3,7})$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['spigot']->id,
'name' => 'Download Path',
'description' => 'A URL to use to download Spigot rather than building it on the server. This is not user viewable. Use <code>{{DL_VERSION}}</code> in the URL to automatically insert the assigned version into the URL. If you do not enter a URL Spigot will build directly in the container (this will fail on low memory containers).',
@ -183,7 +183,7 @@ class MinecraftServiceTableSeeder extends Seeder
private function addSpongeVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['sponge']->id,
'name' => 'Sponge Version',
'description' => 'The version of SpongeVanilla to download and use.',
@ -195,7 +195,7 @@ class MinecraftServiceTableSeeder extends Seeder
'regex' => '/^([a-zA-Z0-9.\-_]+)$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['sponge']->id,
'name' => 'Server Jar File',
'description' => 'The name of the Jarfile to use when running SpongeVanilla.',
@ -210,7 +210,7 @@ class MinecraftServiceTableSeeder extends Seeder
private function addBungeecordVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['bungeecord']->id,
'name' => 'Bungeecord Version',
'description' => 'The version of Bungeecord to download and use.',
@ -222,7 +222,7 @@ class MinecraftServiceTableSeeder extends Seeder
'regex' => '/^(latest|[\d]{1,6})$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['bungeecord']->id,
'name' => 'Bungeecord Jar File',
'description' => 'The name of the Jarfile to use when running Bungeecord.',

View file

@ -66,7 +66,7 @@ class SourceServiceTableSeeder extends Seeder
private function addCoreOptions()
{
$this->option['insurgency'] = Models\ServiceOptions::create([
$this->option['insurgency'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Insurgency',
'description' => 'Take to the streets for intense close quarters combat, where a team\'s survival depends upon securing crucial strongholds and destroying enemy supply in this multiplayer and cooperative Source Engine based experience.',
@ -76,7 +76,7 @@ class SourceServiceTableSeeder extends Seeder
'startup' => '-game {{SRCDS_GAME}} -console -port {{SERVER_PORT}} +map {{SRCDS_MAP}} -strictportbind -norestart',
]);
$this->option['tf2'] = Models\ServiceOptions::create([
$this->option['tf2'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Team Fortress 2',
'description' => 'Team Fortress 2 is a team-based first-person shooter multiplayer video game developed and published by Valve Corporation. It is the sequel to the 1996 mod Team Fortress for Quake and its 1999 remake.',
@ -86,7 +86,7 @@ class SourceServiceTableSeeder extends Seeder
'startup' => '-game {{SRCDS_GAME}} -console -port {{SERVER_PORT}} +map {{SRCDS_MAP}} -strictportbind -norestart',
]);
$this->option['ark'] = Models\ServiceOptions::create([
$this->option['ark'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Ark: Survival Evolved',
'description' => 'As a man or woman stranded, naked, freezing, and starving on the unforgiving shores of a mysterious island called ARK, use your skill and cunning to kill or tame and ride the plethora of leviathan dinosaurs and other primeval creatures roaming the land. Hunt, harvest resources, craft items, grow crops, research technologies, and build shelters to withstand the elements and store valuables, all while teaming up with (or preying upon) hundreds of other players to survive, dominate... and escape! — Gamepedia: ARK',
@ -96,7 +96,7 @@ class SourceServiceTableSeeder extends Seeder
'startup' => 'TheIsland?listen?ServerPassword={{ARK_PASSWORD}}?ServerAdminPassword={{ARK_ADMIN_PASSWORD}}?Port={{SERVER_PORT}}?MaxPlayers={{SERVER_MAX_PLAYERS}}',
]);
$this->option['custom'] = Models\ServiceOptions::create([
$this->option['custom'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Custom Source Engine Game',
'description' => 'This option allows modifying the startup arguments and other details to run a custo SRCDS based game on the panel.',
@ -117,7 +117,7 @@ class SourceServiceTableSeeder extends Seeder
private function addInsurgencyVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['insurgency']->id,
'name' => 'Game ID',
'description' => 'The ID corresponding to the game to download and run using SRCDS.',
@ -129,7 +129,7 @@ class SourceServiceTableSeeder extends Seeder
'regex' => '/^(17705)$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['insurgency']->id,
'name' => 'Game Name',
'description' => 'The name corresponding to the game to download and run using SRCDS.',
@ -141,7 +141,7 @@ class SourceServiceTableSeeder extends Seeder
'regex' => '/^(insurgency)$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['insurgency']->id,
'name' => 'Default Map',
'description' => 'The default map to use when starting the server.',
@ -156,7 +156,7 @@ class SourceServiceTableSeeder extends Seeder
private function addTF2Variables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['tf2']->id,
'name' => 'Game ID',
'description' => 'The ID corresponding to the game to download and run using SRCDS.',
@ -168,7 +168,7 @@ class SourceServiceTableSeeder extends Seeder
'regex' => '/^(232250)$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['tf2']->id,
'name' => 'Game Name',
'description' => 'The name corresponding to the game to download and run using SRCDS.',
@ -180,7 +180,7 @@ class SourceServiceTableSeeder extends Seeder
'regex' => '/^(tf)$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['tf2']->id,
'name' => 'Default Map',
'description' => 'The default map to use when starting the server.',
@ -234,7 +234,7 @@ class SourceServiceTableSeeder extends Seeder
private function addCustomVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['custom']->id,
'name' => 'Game ID',
'description' => 'The ID corresponding to the game to download and run using SRCDS.',
@ -246,7 +246,7 @@ class SourceServiceTableSeeder extends Seeder
'regex' => '/^(\d){1,6}$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['custom']->id,
'name' => 'Game Name',
'description' => 'The name corresponding to the game to download and run using SRCDS.',

View file

@ -66,7 +66,7 @@ class TerrariaServiceTableSeeder extends Seeder
private function addCoreOptions()
{
$this->option['tshock'] = Models\ServiceOptions::create([
$this->option['tshock'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Terraria Server (TShock)',
'description' => 'TShock is a server modification for Terraria, written in C#, and based upon the Terraria Server API. It uses JSON for configuration management, and offers several features not present in the Terraria Server normally.',
@ -79,7 +79,7 @@ class TerrariaServiceTableSeeder extends Seeder
private function addVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['tshock']->id,
'name' => 'TShock Version',
'description' => 'Which version of TShock to install and use.',
@ -91,7 +91,7 @@ class TerrariaServiceTableSeeder extends Seeder
'regex' => '/^([0-9_\.-]{5,10})$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['tshock']->id,
'name' => 'Maximum Slots',
'description' => 'Total number of slots to allow on the server.',

View file

@ -66,7 +66,7 @@ class VoiceServiceTableSeeder extends Seeder
private function addCoreOptions()
{
$this->option['mumble'] = Models\ServiceOptions::create([
$this->option['mumble'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Mumble Server',
'description' => 'Mumble is an open source, low-latency, high quality voice chat software primarily intended for use while gaming.',
@ -76,7 +76,7 @@ class VoiceServiceTableSeeder extends Seeder
'startup' => '-fg',
]);
$this->option['ts3'] = Models\ServiceOptions::create([
$this->option['ts3'] = Models\ServiceOption::create([
'parent_service' => $this->service->id,
'name' => 'Teamspeak3 Server',
'description' => 'VoIP software designed with security in mind, featuring crystal clear voice quality, endless customization options, and scalabilty up to thousands of simultaneous users.',
@ -89,7 +89,7 @@ class VoiceServiceTableSeeder extends Seeder
private function addVariables()
{
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['mumble']->id,
'name' => 'Maximum Users',
'description' => 'Maximum concurrent users on the mumble server.',
@ -101,7 +101,7 @@ class VoiceServiceTableSeeder extends Seeder
'regex' => '/^(\d){1,6}$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['mumble']->id,
'name' => 'Server Version',
'description' => 'Version of Mumble Server to download and use.',
@ -113,7 +113,7 @@ class VoiceServiceTableSeeder extends Seeder
'regex' => '/^([0-9_\.-]{5,8})$/',
]);
Models\ServiceVariables::create([
Models\ServiceVariable::create([
'option_id' => $this->option['ts3']->id,
'name' => 'Server Version',
'description' => 'The version of Teamspeak 3 to use when running the server.',