-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
118 lines (86 loc) · 3.78 KB
/
env.example
File metadata and controls
118 lines (86 loc) · 3.78 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
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
# Minecraft YouTube Follower - Environment Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# REQUIRED SETTINGS
# =============================================================================
# Your Minecraft Java Edition username (the account the bot will use)
MINECRAFT_USERNAME=YourMinecraftUsername
# Your Minecraft server address
SERVER_HOST=mc.example.com
SERVER_PORT=25565
# Azure App Registration client ID (see docs/SETUP.md)
AZURE_CLIENT_ID=12345678-1234-1234-1234-123456789abc
# YouTube stream key (get from YouTube Studio > Go Live > Stream)
# For RTMP: Use the stream key (format: xxxx-xxxx-xxxx-xxxx-xxxx)
# For HLS: Use YOUTUBE_HLS_URL instead (copy full URL from Studio)
YOUTUBE_STREAM_KEY=xxxx-xxxx-xxxx-xxxx-xxxx
# =============================================================================
# STREAMING SETTINGS
# =============================================================================
# Streaming platform: youtube or twitch
STREAM_PLATFORM=youtube
# YouTube ingest method: rtmp (default) or hls
YOUTUBE_INGEST_METHOD=rtmp
# For HLS streaming, paste the full URL from YouTube Studio here
# (starts with https://a.upload.youtube.com/http_upload_hls?cid=...)
# YOUTUBE_HLS_URL=
# Video quality
YOUTUBE_OUTPUT_WIDTH=1280
YOUTUBE_OUTPUT_HEIGHT=720
YOUTUBE_VIDEO_BITRATE=2500k
YOUTUBE_MAXRATE=2500k
YOUTUBE_BUFSIZE=5000k
YOUTUBE_FRAMERATE=30
# Display resolution (should match output)
DISPLAY_WIDTH=1280
DISPLAY_HEIGHT=720
# =============================================================================
# CAMERA SETTINGS
# =============================================================================
# Camera mode: third-person (default, shows player) or spectate (first-person POV)
CAMERA_MODE=third-person
# How often to update camera position (ms) - lower = smoother
CAMERA_UPDATE_INTERVAL_MS=500
# Camera distance and height (blocks)
CAMERA_DISTANCE=6
CAMERA_HEIGHT=2
# How often to check for new players (ms)
CHECK_INTERVAL_MS=5000
# How long to follow each player before switching (ms)
SWITCH_INTERVAL_MS=30000
# =============================================================================
# PERFORMANCE SETTINGS
# =============================================================================
# Viewer render distance (lower = better performance)
VIEWER_VIEW_DISTANCE=6
# Hardware encoding (requires Intel/AMD GPU with VAAPI support)
USE_HARDWARE_ENCODING=true
# Software encoder preset: ultrafast, superfast, veryfast, faster, fast
ENCODER_PRESET=faster
# =============================================================================
# OVERLAY & MUSIC
# =============================================================================
# Show player name overlay
ENABLE_OVERLAY=true
OVERLAY_FONT_SIZE=24
OVERLAY_POSITION=top-left
# Background music (place .ogg/.mp3 files in streaming/music/)
ENABLE_MUSIC=true
MUSIC_VOLUME=0.3
# =============================================================================
# VOICE CHAT (MUMBLE)
# =============================================================================
MUMBLE_PORT=64738
MUMBLE_SUPERUSER_PASSWORD=changeme
VOICE_VOLUME_GAIN=2.0
# =============================================================================
# AUTHENTICATION
# =============================================================================
# MSAL authority (try "common" if you get consent errors)
MSAL_AUTHORITY=https://login.microsoftonline.com/consumers
# Port for prismarine-viewer (internal)
SPECTATOR_PORT=3000
# =============================================================================
# TWITCH (if using Twitch instead of YouTube)
# =============================================================================
# TWITCH_STREAM_KEY=live_xxxxxxxxx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx