Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Pterodactyl Games #655

Merged
merged 5 commits into from
Aug 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions src/GameQ/Protocols/Barotrauma.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Barotrauma Protocol Class
*
* @package GameQ\Protocols
* @author Jesse Lukas <eranio@g-one.org>
*/
class Barotrauma extends Source
{
/**
* String name of this protocol class
*
* @type string
*/
protected $name = 'barotrauma';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "Barotrauma";

/**
* query_port = client_port + 1
*
* @type int
*/
protected $port_diff = 1;
}
42 changes: 42 additions & 0 deletions src/GameQ/Protocols/Blackmesa.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Blackmesa Protocol Class
*
* @package GameQ\Protocols
* @author Jesse Lukas <eranio@g-one.org>
*/
class Blackmesa extends Source
{
/**
* String name of this protocol class
*
* @type string
*/
protected $name = 'blackmesa';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "Black Mesa";
}
42 changes: 42 additions & 0 deletions src/GameQ/Protocols/Citadel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Citadel Protocol Class
*
* @package GameQ\Protocols
* @author Jesse Lukas <eranio@g-one.org>
*/
class Citadel extends Source
{
/**
* String name of this protocol class
*
* @type string
*/
protected $name = 'citadel';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "Citadel";
}
43 changes: 43 additions & 0 deletions src/GameQ/Protocols/Fof.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Class Fistful of Frags
*
* @package GameQ\Protocols
* @author Austin Bischoff <austin@codebeard.com>
* @author Jesse Lukas <eranio@g-one.org>
*/
class Fof extends Source
{
/**
* String name of this protocol class
*
* @type string
*/
protected $name = 'fof';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "Fistful of Frags";
}
43 changes: 43 additions & 0 deletions src/GameQ/Protocols/Hl1.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Class Hl1
*
* @package GameQ\Protocols
* @author Austin Bischoff <austin@codebeard.com>
* @author Jesse Lukas <eranio@g-one.org>
*/
class Hl1 extends Source
{
/**
* String name of this protocol class
*
* @type string
*/
protected $name = 'hl1';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "Half Life";
}
43 changes: 43 additions & 0 deletions src/GameQ/Protocols/Modiverse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Class Modiverse
*
* @package GameQ\Protocols
* @author Austin Bischoff <austin@codebeard.com>
* @author Jesse Lukas <eranio@g-one.org>
*/
class Modiverse extends Source
{
/**
* String name of this protocol class
*
* @type string
*/
protected $name = 'modiverse';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "Modiverse";
}
43 changes: 43 additions & 0 deletions src/GameQ/Protocols/Nmrih.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Class No More Room in Hell
*
* @package GameQ\Protocols
* @author Austin Bischoff <austin@codebeard.com>
* @author Jesse Lukas <eranio@g-one.org>
*/
class Nmrih extends Source
{
/**
* No More Room in Hell protocol class
*
* @type string
*/
protected $name = 'nmrih';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "No More Room in Hell";
}
43 changes: 43 additions & 0 deletions src/GameQ/Protocols/Of.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php
/**
* This file is part of GameQ.
*
* GameQ is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* GameQ is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

namespace GameQ\Protocols;

/**
* Class Open Fortress
*
* @package GameQ\Protocols
* @author Austin Bischoff <austin@codebeard.com>
* @author Jesse Lukas <eranio@g-one.org>
*/
class Of extends Source
{
/**
* Open Fortress protocol class
*
* @type string
*/
protected $name = 'of';

/**
* Longer string name of this protocol class
*
* @type string
*/
protected $name_long = "Open Fortress";
}
Loading