-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathexample_config.toml
166 lines (136 loc) · 4.55 KB
/
example_config.toml
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# ═════════════════════════════════════════════════════════
# Prism Config
# This config will work with Prism 0.5.x
# or any Adelante based distribution. (120+)
# ═════════════════════════════════════════════════════════
# ---------------------------------
# General Configuration
# ---------------------------------
name = "Prism" # Website/dashboard name
auto_update = false # Automatically update Prism on boot
# ---------------------------------
# Heliactyl Release Information
# ---------------------------------
platform_codename = "Adelante"
platform_level = 130 # channel: stable - 10-01-2025 (Adelante R)
version = "0.5.0"
# ---------------------------------
# Additional Settings
# ---------------------------------
database = "prism.db"
# ---------------------------------
# Pterodactyl Settings
# ---------------------------------
[pterodactyl]
domain = "https://panel.example.com" # Format: https://panel.domain.tld with no / on the end
key = "ptla_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # Find this under Admin -> Application API
client_key = "ptlc_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" # Create an admin account and generate from Account -> API Keys
# ---------------------------------
# Webserver Configuration
# ---------------------------------
[website]
port = 25_001 # Default: 25_001
secret = "CHANGE_THIS_SECRET" # Change this - do not run Prism in production with the default secret
domain = "https://example.com"
# ---------------------------------
# API Client Settings
# ---------------------------------
[api.client]
accountSwitcher = true
[api.client.resend]
# ---------------------------------
# Resend API Key
#
# This is required, but no worries as Resend is free.
# ---------------------------------
api_key = "re_xxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxx"
from = "noreply@example.com"
app_name = "Prism"
[api.client.api] # Prism API version 5
enabled = true
code = "YOUR_API_KEY"
[api.client.passwordgenerator]
signup = true # Disable user signups
length = 24
[api.client.allow]
regen = true # Allow users to regenerate their SFTP/panel password
overresourcessuspend = false # Suspend users if they go over resource limits
[api.client.allow.server]
create = true
modify = true
delete = true
[api.client.packages]
default = "default" # Default package assigned to users
# ---------------------------------
# Package Configuration
# ---------------------------------
[api.client.packages.list.default]
ram = 4_096
disk = 20_480
cpu = 150
servers = 2
# -----------------------------------------------------
# Location Configuration
# -----------------------------------------------------
[api.client.locations.1]
name = "Example Location"
# ---------------------------------
# Egg Configuration
# ---------------------------------
# Paper
[api.client.eggs.paper]
display = "Minecraft: Java Edition - Paper"
[api.client.eggs.paper.minimum]
ram = 1_024
disk = 1_024
cpu = 80
[api.client.eggs.paper.info]
egg = 2
docker_image = "ghcr.io/pterodactyl/yolks:java_21"
startup = "java -Xms128M -Xmx{{SERVER_MEMORY}}M -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}"
[api.client.eggs.paper.info.environment]
SERVER_JARFILE = "server.jar"
BUILD_NUMBER = "latest"
[api.client.eggs.paper.info.feature_limits]
databases = 4
backups = 4
# Add more eggs the same way as Paper above
# ---------------------------------
# Coin Configuration
# ---------------------------------
[api.client.coins]
enabled = true
[api.client.coins.store]
enabled = true
[api.client.coins.store.ram]
cost = 775
[api.client.coins.store.disk]
cost = 400
[api.client.coins.store.cpu]
cost = 650
[api.client.coins.store.servers]
cost = 300
# ---------------------------------
# Logging Configuration
# ---------------------------------
[logging]
status = true
webhook = "https://discord.com/api/webhooks/your_webhook_url"
[logging.actions.user]
signup = true
"create server" = true
"gifted coins" = true
"modify server" = true
"buy servers" = true
"buy ram" = true
"buy cpu" = true
"buy disk" = true
[logging.actions.admin]
"set coins" = true
"add coins" = true
"set resources" = true
"set plan" = true
"create coupon" = true
"revoke coupon" = true
"remove account" = true
"view ip" = true