freyza commited on
Commit
eb3e7cb
·
verified ·
1 Parent(s): f173f61

Upload config.py

Browse files
Files changed (1) hide show
  1. config.py +40 -0
config.py ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #-----Connection Setting-----
2
+ Hosts = 0 # 0 for Internet, 1 for Localhost
3
+ port = 7878 # Change this to change the connect port
4
+ password = "admin" # VERY RECOMMAND CHANGE THIS DEFAULT PASSWORD TO ANYTHING ELSE
5
+ #----------------------------
6
+ #-----Other Setting-----
7
+ LogOnConsole = False # Change this to decide showing all server logs on program console or not
8
+ LoggerPath = "logs/"
9
+ ServerPath = "/content/drive/MyDrive/"
10
+ BanCount = 10
11
+ BanSeconds = 43200
12
+ PersistBan = True
13
+ #----------------------------
14
+
15
+
16
+
17
+
18
+
19
+
20
+ #DO NOT CHANGE BELOW UNLESS YOU KNOW WHAT YOU'RE DOING
21
+ #-----Logging Configure-----
22
+ Log_info = "Info"
23
+ Log_warning = "Warning"
24
+ Log_critical = "Critical"
25
+ Log_success = "Success"
26
+ Log_failed = "Failed"
27
+
28
+ Log_Incoming = "Incoming connection from {0}, target page {1}"
29
+ Log_format = "{0} | {1} : {2}"
30
+ Log_start = "Server is running now!\nEnter 'stop' to stop."
31
+ Log_stop = "Shutdowning..."
32
+ Log_wait = "Waiting for Server `{0}` to close"
33
+ #---------------------------
34
+ #-----Other Setting-----
35
+ encode_nt = "big5"
36
+ encode_unix = "utf-8"
37
+ IPs = ["0.0.0.0", "127.0.0.1"]
38
+ default_setup = "java -Xms2G -Xmx2G -jar {0} nogui"
39
+ default_jarFile = "server.jar"
40
+ #----------------------------