init
This commit is contained in:
commit
c128fd5032
12 changed files with 166 additions and 0 deletions
1
config/README
Normal file
1
config/README
Normal file
|
@ -0,0 +1 @@
|
|||
Taken from the server, might rewrite it soon.
|
13
config/connection.php
Normal file
13
config/connection.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
$servername = $_ENV['DB_SERVER_NAME'];
|
||||
$port = (int)$_ENV['DB_PORT'];
|
||||
$username = $_ENV['DB_USERNAME'];
|
||||
$password = $_ENV['DB_PASSWORD'];
|
||||
$dbname = $_ENV['DB_DATABASE_NAME'];
|
||||
|
||||
// $servername = "127.0.0.1";
|
||||
// $port = 3306;
|
||||
// $username = "root";
|
||||
// $password = "";
|
||||
// $dbname = "geometrydash";
|
||||
?>
|
28
config/dailyChests.php
Normal file
28
config/dailyChests.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
/*
|
||||
QUESTS
|
||||
*/
|
||||
//NOW SET IN THE QUESTS TABLE IN THE MYSQL DATABASE
|
||||
/*
|
||||
REWARDS
|
||||
*/
|
||||
//SMALL CHEST
|
||||
$chest1minOrbs = 200;
|
||||
$chest1maxOrbs = 400;
|
||||
$chest1minDiamonds = 2;
|
||||
$chest1maxDiamonds = 10;
|
||||
$chest1items = [1, 2, 3, 4, 5, 6];
|
||||
$chest1minKeys = 1;
|
||||
$chest1maxKeys = 6;
|
||||
//BIG CHEST
|
||||
$chest2minOrbs = 2000;
|
||||
$chest2maxOrbs = 4000;
|
||||
$chest2minDiamonds = 20;
|
||||
$chest2maxDiamonds = 100;
|
||||
$chest2items = [1, 2, 3, 4, 5, 6];
|
||||
$chest2minKeys = 1;
|
||||
$chest2maxKeys = 6;
|
||||
//REWARD TIMES (in seconds)
|
||||
$chest1wait = 3600;
|
||||
$chest2wait = 14400;
|
||||
?>
|
5
config/discord.php
Normal file
5
config/discord.php
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?php
|
||||
$discordEnabled = false;
|
||||
$secret = "please change this if you intend to use a discord bot with the server";
|
||||
$bottoken = "please change this to a discord bot token if you use one";
|
||||
?>
|
12
config/reuploadAcc.php
Normal file
12
config/reuploadAcc.php
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
$reupUID = 71; // The UserID of the account.
|
||||
$reupAID = 71; // The AccountID of the account. Also known as extID in the "users" table.
|
||||
|
||||
/*
|
||||
Setup for the reupload account:
|
||||
Create a new account on the GDPS and edit the UserID and AccountID accordingly
|
||||
in the users table.
|
||||
|
||||
Image example of getting the IDs can be found here: https://i.imgur.com/9Nkb9WK.png
|
||||
*/
|
||||
?>
|
13
config/security.php
Normal file
13
config/security.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
$sessionGrants = true; //false = GJP check is done every time; true = GJP check is done once per hour; significantly improves performance, slightly descreases security
|
||||
$unregisteredSubmissions = false; //false = green accounts can't upload levels, appear on the leaderboards etc; true = green accounts can do everything
|
||||
$preactivateAccounts = true; //false = acounts need to be activated at tools/account/activateAccount.php; true = accounts can log in immediately
|
||||
|
||||
/*
|
||||
Captcha settings
|
||||
Currently the only supported provider is hCaptcha
|
||||
https://www.hcaptcha.com/
|
||||
*/
|
||||
$enableCaptcha = false;
|
||||
$hCaptchaKey = "";
|
||||
$hCaptchaSecret = "";
|
8
config/topArtists.php
Normal file
8
config/topArtists.php
Normal file
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
$redirect = 0;
|
||||
/*
|
||||
Indicates wether the server should ask the main GD servers for the top artists list or not.
|
||||
If it's 0, it will fetch the most commonly used songs on the server by artists and list such up.
|
||||
If it's 1, it will ask the main servers for the list (which is not actively maintained).
|
||||
*/
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue