-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.yml
103 lines (103 loc) · 4.79 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
version: '0.5.2' # Version of the KlovitClient instance
name: KlovitClient # Your Host's name
resource_type: 'GB' # This can be either GB or MB, NOTE:- If you have chosen GB then 100% cpu will be 1 thread, if you have chosen MB then 1 thread will be 100% cpu
website:
secret: "Website secret" # Randomize this as this will be the secret of the website for the session and middleware cookie
url: 'http://localhost:8081' # URL of the dashboard
port: '8081' # The port on which this KlovitClient instance will run
description: The most reliable hosting # The description for your Hosting
icon: https://docs.klovit.tech/img/Klovit%20Logo.png # Logo of your hosting
pterodactyl:
url: 'http://localhost' # Your Pterodactyl Panel URL with "http://" or "https://"
api: 'ptla_Hr0TVGzDe3PIgHL11uKtrQtbqflQSW9Cjw3RzaDAK2p' # Your Pterodactyl Panel Admin API Key
packages:
default: default
list:
default:
ram: 100 # Formatted according to "resource_type"
disk: 200
cpu: 200 # NOTE - If you have selected GB as resource_type, then 100% cpu is 1. If you have selected MB as resource_type then 100% cpu is 100
servers: 100
auth:
supabase: # REQUIRED
supabase_url: 'https://draddxvigssaaldxaacx.supabase.co' # URL of your SupaBase Project
supabase_anon_key: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImRyYWRkeHZpZ3NzYWFsZHhhYWN4Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDU5OTc3NzksImV4cCI6MjAyMTU3Mzc3OX0.lZe61O215ZCwcpz513VaRU4N9EWJxTSVhL3Xplw-NqM' # Anon/API Key of your SupaBase Project
oauth2:
google:
enabled: true
github:
enabled: true
discord:
enabled: true
database: # WE DO NOT RECOMMEND TOUCHING THIS.
type: 'sqlite' # Available types are 'sqlite' and 'mysql'
sqlite: # ONLY CONFIGURE IS YOU HAVE DATABASE TYPE AS 'sqlite'
sqlite_db_name: 'database.sqlite' # The database will be stored in './database/' directory
mysql: # ONLY CONFIGURE IS YOU HAVE DATABASE TYPE AS 'mysql'
mysql_db_name: 'klovitclient' # Your MYSQL DB name
mysql_db_host: 'localhost' # Your MYSQL DB HOST
mysql_db_port: '3306' # Your MYSQL DB PORT
mysql_db_username: 'klovitclient' # Your MYSQL Username
mysql_db_password: 'password@123' # You MYSQL password
locations:
"1": # ID of the location on the pterodactyl panel
name: Default Location 1 # Display name for the location
eggs:
klovitegg: # KlovitClient's identifier of the egg
display: MultiEgg | KlovitEgg # Display name of the egg
limits: # formatted according to "resource_type"
minimum: # The minimum resources a user can use while deploying a server
ram: 1
disk: 1
cpu: 1
maximum: # The maximum resources a user can use while deploying a server
ram: null
disk: null
cpu: null
feature: # The limits on the following features
databases: 1
backups: 1
allocations: 1
info: # All this information can be found on the Egg's information page.
egg: 15 # ID of the egg
docker_image: ghcr.io/beastgamer81/klovitegg:latest # Docker image of the egg
startup: ./install.sh" # Startup command of the egg
environment: # Environment variables of the egg
NODE_VERSION: latest
PMMP_VERSION: PM5
NODE_MAIN_FILE: index.js
payments: # Allow transactions on KlovitClient using various payment gateways.
enabled: false
gateways:
stripe: # Allow transactions through Stripe gateway.
enabled: false
key: '' # Stripe secret key
price: 1 # Price for 100 coins in the given currency
currency: 'USD' # The currency for payments (Must be in 3 character format)
gifting: # Allow the gifting of coins and resources.
enabled: false
coins: # Coins, the virtual currency of the host.
enabled: true # Must enable coins if you need the following things - Store, Link shorteners.
earn: # Earning of coins via various methods
enabled: true # Whether enable earning of coins or not. Coins must be enabled aswell or else the API Endpoints will throw errors
links: # Earning of coins via link shorteners
atglinks: # Earning of coins via ATGLinks
api: '785159b542f060cb98b55b27a09b2034df506bff' # Your ATGLinks API Key
amount: '5' # Amount of coins per link
dailylimit: null # Daily limit for users
minimumTime: '100' # Minimum time a user has to spend completing the link. (in seconds)
store: # The cost and per is not intended to used with 0. This is not intended to sell resources for coins. Make sure coins are enabled too, or else there can be errors.
enabled: false
ram:
cost: 1000 # Cost of the resource in coins
per: 1 # Will be in the format according to "resource_type"
disk:
cost: 1000
per: 1
cpu:
cost: 1000
per: 1
servers:
cost: 100
per: 1