-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv
More file actions
57 lines (49 loc) · 1.51 KB
/
Copy pathenv
File metadata and controls
57 lines (49 loc) · 1.51 KB
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
# ==============================
# env_samp - .env example
# ==============================
# This file demonstrates EVERYTHING the parser accepts.
# ------------------------------
# 1) Basic format / whitespace
# ------------------------------
# Without spaces (also supported)
APP_ENV=production
APP_DEBUG=false
# With spaces (also supported)
MYSQL_HOST = 127.0.0.1
MYSQL_PORT = 3306
MYSQL_USER = samp_user
MYSQL_PASS = 'strong password here'
MYSQL_DB = samp
EMPTY_VALUE =
# ------------------------------
# 2) Single quotes (literal)
# ------------------------------
LITERAL_TEXT = 'text with literal \n and \t'
# ------------------------------
# 3) Double quotes (with escapes)
# ------------------------------
SERVER_NAME = "My SA:MP Server"
MOTD = "Line 1\nLine 2"
ESCAPED_QUOTES = "He said: \"hi\""
WINDOWS_PATH = "C:\\samp\\plugins"
# ------------------------------
# 4) Comments
# ------------------------------
# Lines starting with # are ignored
SERVER_MODE = roleplay
SERVER_LANGUAGE = en_US
WITH_INLINE_COMMENT = value # this comment is ignored
HASH_WITHOUT_SPACE = value#this_is_part_of_the_value
# ------------------------------
# 5) The first '=' separates key/value
# ------------------------------
DATABASE_URL = mysql://user:pass@127.0.0.1:3306/samp?opt=a=b=c
# ------------------------------
# 6) Duplicate keys (last one wins)
# ------------------------------
MAX_PLAYERS = 50
MAX_PLAYERS = 100
# ------------------------------
# 7) Tokens / secrets
# ------------------------------
API_TOKEN = "replace-this-token"