-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.json
More file actions
98 lines (98 loc) · 3.91 KB
/
Copy pathappsettings.json
File metadata and controls
98 lines (98 loc) · 3.91 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
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Warning",
"SuperSocket": "Warning",
"Orleans": "Warning",
"Vortex": "Information",
"Vortex.Networking.Package.PackageHandler": "Warning",
"Vortex.Networking.Package.PackageEncoder": "Warning"
},
"Console": {
"FormatterName": "vortex"
},
"VortexConsole": {
"TimestampFormat": "yyyy-MM-dd HH:mm:ss.fff",
"UseUtcTimestamp": false,
"SingleLine": true,
"IncludeCategory": true,
"TrimCategoryDepth": 1,
"UseAnsiColor": true,
"IncludeScopes": true
}
},
"serverOptions": {
"TcpServer": {
"name": "TcpServer",
"listeners": [
{
"ip": "127.0.0.1",
"port": 30000
}
]
},
"WebSocketServer": {
"name": "WebSocketServer",
"listeners": [
{
"ip": "127.0.0.1",
"port": 30001
}
]
}
},
"Vortex": {
"Orleans": {
"AdvertisedIp": "127.0.0.1",
"SiloPort": 11111,
"GatewayPort": 3000
},
"Database": {
"ConnectionString": "CHANGE_ME__set-via-VORTEX__Vortex__Database__ConnectionString-env-var-or-user-secrets"
},
"Game": {},
"Authentication": {
"IpHashSecret": "replace-with-a-production-secret"
},
"Networking": {},
"Observability": {
"MetricsEnabled": true,
"TracingEnabled": true,
"DashboardEnabled": true,
"DashboardFrontendEnabled": true,
"DashboardHost": "localhost",
"DashboardPort": 9000,
"AuditWriteRetryAttempts": 2,
"AuditWriteRetryDelayMs": 250,
"AuditDeadLetterPath": "logs/audit-dead-letter.jsonl",
"FurniIconUrlTemplate": "http://vortex-assets.local/dcr/hof_furni/icons/{name}_icon.png",
"CatalogIconUrlTemplate": "http://vortex-assets.local/c_images/catalogue/icon_{id}.png",
"TargetedOfferImageUrlTemplate": "http://vortex-assets.local/c_images/targetedoffers/{file}",
"AvatarImageUrlTemplate": "http://localhost:8081/habbo-imaging/avatarimage?figure={figure}&headonly=1&size=m&direction=2&head_direction=2",
"GroupBadgeUrlTemplate": "http://localhost:8081/habbo-imaging/badge-fill/{badge}.png",
"BadgeImageUrlTemplate": "http://vortex-assets.local/c_images/album1584/{badge}.gif",
"HandItemImageUrlTemplate": "http://localhost:8081/habbo-imaging/avatarimage?figure={figure}&action=crr={item}&size=m&direction=2&head_direction=2&gesture=sml",
"AvatarEffectImageUrlTemplate": "http://localhost:8081/habbo-imaging/avatarimage?figure={figure}&effect={effect}&size=m&direction=2&head_direction=2&gesture=sml",
"QuestImageUrlTemplate": "http://vortex-assets.local/c_images/Quests/{version}.png",
"AssetsLocalRoot": "./assets"
},
"WebApi": {
"Enabled": true,
"Host": "localhost",
"Port": 8080,
"MetricsEnabled": false,
"MetricsPath": "/metrics",
"MetricsToken": "",
"MaxAvatarsPerAccount": 5,
"DefaultFigure": "hr-115-42.hd-195-19.ch-3030-82.lg-275-1408.fa-1201.ca-1804-64"
},
"Crypto": {
"KeySize": "3",
"PublicKey": "CHANGE_ME__generate-a-fresh-1024-bit-RSA-keypair-set-via-VORTEX__Vortex__Crypto__PublicKey",
"PrivateKey": "CHANGE_ME__set-via-VORTEX__Vortex__Crypto__PrivateKey-env-var-or-user-secrets",
"EnableServerToClientEncryption": true
}
}
}