-
Notifications
You must be signed in to change notification settings - Fork 1
/
.env
97 lines (81 loc) · 2.29 KB
/
.env
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
# === Connectivity/Hosting ===
NAME='Kaetram'
HOST='api-aws-community.emumbadevops.com'
# Use HTTPS
SSL=true
# Server ports, make sure this matches the client's config.
SOCKETIO_PORT=9001
WEBSOCKET_PORT=9002
# API Configuration
API_ENABLED=false
API_PORT=9003
SERVER_ID='kaetram_server01'
ACCESS_TOKEN=''
# Hub Configuration
HUB_ENABLED=false
# Defaults to `HOST` if empty
HUB_HOST=''
HUB_PORT=9526
# Ping every 30 seconds
HUB_PING=30000
# 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=''
# 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=''
# Server List Configs
CLEANUP_THRESHOLD=120000
CLEANUP_TIME=30000
# === Database ===
# Skip database checking upon login
OFFLINE_MODE=true
# Used for multiple database support
DATABASE='mongodb'
MONGODB_HOST='aws-community-cluster.cth9p.mongodb.net'
MONGODB_PORT=27017
MONGODB_USER='username'
MONGODB_PASSWORD='password123!'
MONGODB_DATABASE='aws-community'
# Use the `mongodb+srv` syntax
MONGODB_SRV=true
# Use authentication for mongodb connections?
MONGODB_AUTH=true
# === World Configurations ===
WORLD_SWITCH=false
# Players have to finish the tutorial before proceeding.
TUTORIAL_ENABLED=false
# !! Allows login with any credentials !!
OVERWRITE_AUTH=false
DEVELOPMENT=false
# Maximum number of players allowed on the server.
MAX_PLAYERS=200
# 20 updates (ticks) per second.
UPDATE_TIME=20
# Game version
GVER='1'
# Guild Configs
# Database must be present for guilds.
GUILDS_ENABLED=false
# Check trees every 3 seconds.
TREE_TICK=3000
# i.e. user1,user2,user3 (case-insensitive)
ADMINISTRATORS=,
MODERATORS=,
# === Discord ===
DISCORD_ENABLED=false
DISCORD_SERVER_ID=''
DISCORD_BOT_TOKEN=''
DISCORD_WEBHOOK_ID=''
DISCORD_WEBHOOK_TOKEN=''
# === 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
# Used closing/opening connections
ALLOW_CONNECTIONS_TOGGLE=false