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
|
"""TeamSpeak Web Explorer configuration."""
from pathlib import Path
BASE_DIR = Path(__file__).resolve().parent
CONFIG = {
# Server connection settings
"server": {
"host": "chat.moekyun.me", # Server IP or hostname, e.g. 192.168.1.50
"port": "8443", # HTTP WebQuery port (TS6)
"api_key": "",
"server_id": "1",
"ts_domain": "chat.moekyun.me", # Used by the connect button
"cache_time": 30, # Refresh interval in seconds (anti-spam)
"cache_file": BASE_DIR / "cache.json",
},
# Main design and copy
"ui": {
"title": "Overwatch Diddly Server",
"subtitle": "Jump into voice, organize channels, and see who is online.",
"background_color": "#07111f", # Main background color
"panel_color": "#101b2d", # Main panel and channel block color
"accent_color": "#2589ff", # Buttons, highlights, and refresh timer
"text_color": "#e8f2ff",
"banner_url": "banner.jpg", # Leave empty ('') to hide the header banner
"enable_stars": True, # Set to True to enable a subtle animated space background
},
# Interface buttons and links
"buttons": {
"join": "Connect to TeamSpeak",
"download_text": "Teamspeak is not installed yet?",
"download_link": "Download Teamspeak",
"download_url": "https://www.teamspeak.com/en/downloads/", # Official download link
},
# Useful links. Add or remove as many rows as you want.
"external_links": {
},
# Footer
"footer": {
"text": "another moekyun service",
"author": "",
"author_url": "",
},
# Channel customization. Exact channel name => image filename.
"channel_banners": {
"INFORMATION": "info.png",
"GAME SERVERS": "game.jpeg",
"General": "general.jpg",
"CRASHING OUT": "crash.png",
"Wonhee HQ": "illit.jpg",
},
"channel_icons": {
# "Lobby": "lobby_icon.png",
# "General": "general_icon.png",
},
"generic_images": {
"background": "", # Default image applied to unknown channels
"icon": "", # Default icon applied to unknown channels
},
# Server groups / roles: 'GROUP_ID' => 'Image'
"role_icons": {
# "6": "admin.png",
# "9": "vip.png",
},
}
|