-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
.env.defaults
137 lines (114 loc) · 3.55 KB
/
.env.defaults
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
# === Connectivity/Hosting ===
NAME='Kaetram'
HOST='localhost'
PORT=9001
# Use HTTPS
SSL=false
# API Configuration
API_ENABLED=false
API_PORT=9002
# Server ID (increment with each server hosted)
SERVER_ID=1
ACCESS_TOKEN=''
# Hub Configuration
HUB_ENABLED=false
# Defaults to `HOST` if empty
HUB_HOST=''
HUB_WS_HOST=''
HUB_PORT=9526
HUB_WS_PORT=9527
# The host sent to the hub, if empty string, hub will try to find the IP.
# Not recommended to have as empty string for production environments.
REMOTE_SERVER_HOST=''
# Remote API host, if empty string, hub will use `REMOTE_SERVER_HOST`
REMOTE_API_HOST=''
# Make sure it matches with the hub.
# Note that if you take the hub-server approach, you should NEVER
# rely solely on `HUB_ACCESS_TOKEN`. This is just a minimal safety feature.
# Instead, please look into properly setting up the firewall such that
# connections are limited to only trusted clients and APIs.
HUB_ACCESS_TOKEN=''
# Defaults to `HUB_HOST` if empty
ADMIN_HOST=''
ADMIN_PORT=9528
# Overrides where the client connects to
# Defaults to `HOST` for the client if empty
CLIENT_REMOTE_HOST=''
# Defaults to `PORT` for the client if empty
CLIENT_REMOTE_PORT=
# Server List Configs
CLEANUP_THRESHOLD=120000
CLEANUP_TIME=30000
# === Database ===
# Skip database checking upon login
SKIP_DATABASE=true
# Used for multiple database support
DATABASE='mongodb'
MONGODB_HOST='127.0.0.1'
MONGODB_PORT=27017
MONGODB_USER=''
MONGODB_PASSWORD=''
MONGODB_DATABASE='kaetram_devlopment'
MONGODB_TLS=false
# Use the `mongodb+srv` syntax
MONGODB_SRV=false
# If you need to authenticate against a different database
MONGODB_AUTH_SOURCE=''
# When we're allowed to aggregate new data.
AGGREGATE_THRESHOLD=60000
# === World Configurations ===
# Players have to finish the tutorial before proceeding.
TUTORIAL_ENABLED=true
# !! Allows login with any credentials !!
OVERWRITE_AUTH=false
DISABLE_REGISTER=false
# Maximum number of players allowed on the server.
MAX_PLAYERS=200
# Update time to parse packets in milliseconds (update every 300ms)
UPDATE_TIME=300
# Game version
GVER='0.5.5-beta'
# Used for hotfixes and minor updates that do not require a full update.
MINOR=''
# If to load regions from cache.
REGION_CACHE=true
# How often to save the world.
SAVE_INTERVAL=60000
# How many messages per second are allowed
MESSAGE_LIMIT=300
# === SMTP ===
SMTP_HOST='smtp.gmail.com'
SMTP_PORT=465
SMTP_USE_SECURE=true
# This is the email that will be used to send emails.
SMTP_USER=''
# An app password can be generated from the Google account settings.
SMTP_PASSWORD=''
# === Sentry ===
SENTRY_ORG=''
SENTRY_PROJECT=''
SENTRY_AUTH_TOKEN=''
SENTRY_DSN=''
# === Stripe ===
STRIPE_ENDPOINT=''
STRIPE_KEY_LOCAL=''
STRIPE_SECRET_KEY=''
# === Discord ===
# If to connect to Discord or not.
DISCORD_ENABLED=false
# The discord channel ID we are monitoring messages of
DISCORD_CHANNEL_ID=``
# The bot token used to interact with the server.
DISCORD_BOT_TOKEN=''
# === LICENSING ===
# By using this project, you agree to the terms and conditions outlined in the MPL2.0 and OPL license.
# These licenses can be found in the LICENSE and LICENSE_OPL files respectively.
# Toggling the following indicates that you have read and agree to all the terms and conditions outlined in the licenses.
# Any form of bypassing/altering of the license agreement form indicates you agree to the terms and conditions outlined in the licenses.
ACCEPT_LICENSE=false
# === Debugging ===
# Will print out more debugging info from log
DEBUGGING=false
DEBUG_LEVEL='all'
# filestream debugging -> Write to a filestream instead of stdout.
FS_DEBUGGING=false