초기커밋

This commit is contained in:
2025-05-01 07:20:41 +09:00
commit 98bb2e3c5c
2747 changed files with 646947 additions and 0 deletions

View File

@@ -0,0 +1,150 @@
{
"LogDir": "./Logs",
"DumpDir": "./",
"LocalServer": true,
"SingleThreaded": false,
"ServiceType": "Dev",
"StandaloneMode": true,
"OfflineMode": false,
"DefaultMaxUser": 500,
"ClientListen": {
"Ip": "",
"Port": 0
},
"SessionKeepAliveTimeSec": 3600,
"MinWorkerThreadCount": 100,
"MinIoThreadCount": 0,
"AccountLoginBlockEnable": false,
"SsoAccountDb": "Server=localhost;Port=13306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
"SsoAccountAuthJwtSecretKey": "zgoRtipbFcgQp0VGP8VZW8QhW4ll1swfvASqwr78",
"AccountNftDb": "Server=localhost;Port=13306;User ID=external_ro;Password=bQNEXbRWQTtV6bwlqktGyBiuf2KqYF;Database=caliverse",
"Redis": "127.0.0.1:6379,password=KT-i5#i%-%LxKfZ5YJj6,AsyncTimeout=30000,SyncTimeout=30000,ssl=false,abortConnect=false",
"Dynamodb": "http://localhost:8000",
"AWS": {
"Enable": false,
"LocalDynamoDB": true,
"AccessKey": "AKIA4G3CB4Z5T6JUPHJN",
"SecretKey": "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",
"Region": "us-west-2",
"MilestoneName": "MS5",
"CloudWatchLog": {
"Enable": false,
"LogGroup": "MetaverseLog-Dev",
"LogNamePattern": "Developer",
"LogLevel": "Debug",
"Layout": {
"logTime": "${date:universalTime=true:format=yyyy-MM-ddTHH\\:mm\\:ss.fffZ}",
"level": "${level:upperCase=true}",
"message": "${message}",
"player": "${event-properties:player}",
"properties": "${event-properties:properties}",
"threadId": "${threadid}",
"function": "${event-properties:memberName}",
"filePath": "${event-properties:filePath}",
"lineNumber": "${event-properties:lineNumber}",
"server": "${event-properties:server}",
"ipport": "${event-properties:ipport}"
}
},
"S3": {
"ServiceFolderName": "Dev",
"MyhomeUgcInfoBucketName": "metaverse-myhomeugc-test",
"BeaconAppProfileBucketName": "metaverse-beacon-appprofile"
}
},
"ClientProgramVersionCheck": false,
"ClientMinimumRequiredLogicVersion": 0,
"ProgramVersionPath": ".\\Version\\",
"ProgramVersion": {
"MetaSchemaVersion": "MetaSchemaVersion.json",
"MetaDataVersion": "MetaDataVersion.json",
"PacketVersion": "PacketVersion.json",
"ResourceVersion": "ServerResourceVersion.json",
"ConfigVersion": "ServerConfigVersion.json",
"LogicVersion": "ServerBinaryVersion.json",
"DbSchemaVersion": "DbSchemaVersion.json"
},
"CheatCommandAlwaysAllow": true,
"AuthRule": {
"ClientStandaloneAllow": true,
"ClientBySsoAccountAuthWithLauncherAllow": false,
"PlatformTypeAllows": ""
},
"LoadBalancingRule": {
"AuthToGameRule": {
"Rule": "WeightedRoundRobin",
"MinRate": 0,
"MaxRate": 100,
"UserLanguageBased": true
}
},
"ServerApiUrlCatalog": [
{ "BillingApiServerUrl": "https://caliverse.io/shop" },
{ "ChatAiApiServerUrl": "https://ai-dev-api.caliverse.io" },
{ "MyhomeEditGuideUrl": "https://calidocu.gitbook.io/caliverse-metaverse/en/caliverse-feature-guide/interior" },
{ "WebLinkUrlSeasonPass": "https://calidocu.gitbook.io/caliverse-metaverse/en/pass-and-claim/season-pass" },
{ "CaliumConverterWebGuide": "https://calidocu.gitbook.io/caliverse-metaverse/en/calium/calium-converter" },
{ "S3ResourceImageUrl": "https://d3s9natejb9ydz.cloudfront.net/Dev" }
],
"NftRule": {
"NftDBAccess": false,
"CPNftForOwnerAllGetUrl": "https://dev-api.caliverse.io/v1/nft/game"
},
"EchoSystem": {
"BaseAddress": "https://eco-system-dev-rollup-admin-api.caliverse.io"
},
"AIChat": {
"BaseAddress": "https://ai-dev-api.caliverse.io",
"PrivateKey": "PPt+3OLhgLnXCGXrezRL4ZmtA3FmCZtjOgDPvx1MMAY/0VcXFDQQfBRnfR4c2FmzGILuPjue/xtNyLUFOe3EYg=="
},
"Billing": {
"BaseAddress": "https://dev-api.caliverse.io"
},
"Ugq": {
"ApiServerAddress": "https://dev-ugqapi.caliverse.io:11000",
//"ApiServerAddress": "http://localhost:1000",
"UrlInGamePrefix": "/api/v1/InGame"
},
"Rabbitmq": {
"HostName": "localhost",
"Port": 5672,
"UserName": "admin",
"Password": "admin",
"SSL": false
},
"GameConfig": {
"ReservationWaitTimeMSec": 1200000,
"LoginCacheExpiryTimeMSec": 3600000,
"ServerSwitchCacheExpiryTimeMSec": 3600000
},
"ControlAgentEnable": false,
"PerformanceCheckEnable": false,
"BattleSystemEnable" : true
}

View File

@@ -0,0 +1,94 @@
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
throwConfigExceptions="true"
autoReload="true"
internalLogLevel="Error"
internalLogToConsole="true">
<extensions>
<add assembly="NLog.AWS.Logger" />
</extensions>
<targets async="true">
<!--
<target name="logconsole" xsi:type="Console"
layout="${longdate:universalTime=true} ${level} [${threadid}] [${event-properties:memberName}] ${message}" />
-->
<target name="logfile" xsi:type="File"
fileName="${basedir}/logs/${ProcessName}.log"
archiveFileName="${basedir}/logs/${ProcessName}_{###}.log"
archiveAboveSize="10240000"
archiveNumbering="DateAndSequence"
archiveEvery="Day"
maxArchiveFiles= "1000"
archiveOldFileOnStartup="true"
ConcurrentWrites="true"
archiveDateFormat="yyyy-MM-dd-HH-mm"
layout="${date:universalTime=true:format=yyyy-MM-ddTHH\:mm\:ss.fffZ}|${level:uppercase=true}|${threadid}|${message}|${event-properties:memberName}|${event-properties:filePath}:${event-properties:lineNumber}"/>
<target name="businessLogFile" xsi:type="File"
fileName="${basedir}/logs/Business_${ProcessName}.json"
archiveFileName="${basedir}/logs/archive/business/Business_${ProcessName}_{###}.json"
archiveAboveSize="1024000000"
archiveNumbering="DateAndSequence"
archiveEvery="Day"
maxArchiveDays= "30"
archiveOldFileOnStartup="true"
ConcurrentWrites="true"
archiveDateFormat="yyyy-MM-dd-HH-mm">
<layout xsi:type="JsonLayout" includeEventProperties="true" excludeProperties="Comma-separated list (string)">
<attribute name="logTime" layout="${date:universalTime=true:format=yyyy-MM-ddTHH\:mm\:ss.fffZ}" />
<attribute name="level" layout="${level:upperCase=true}"/>
<attribute name="message" layout="${message}" />
</layout>
</target>
<target name="developLogFile" xsi:type="File"
fileName="${basedir}/logs/${ProcessName}.json"
archiveFileName="${basedir}/logs/archive/develop/${ProcessName}_{###}.json"
archiveAboveSize="1024000000"
archiveNumbering="DateAndSequence"
archiveEvery="Day"
maxArchiveDays= "30"
archiveOldFileOnStartup="true"
ConcurrentWrites="true"
archiveDateFormat="yyyy-MM-dd-HH-mm">
<layout xsi:type="JsonLayout" includeEventProperties="true" excludeProperties="Comma-separated list (string)">
<attribute name="logTime" layout="${date:universalTime=true:format=yyyy-MM-ddTHH\:mm\:ss.fffZ}" />
<attribute name="threadid" layout="${threadid}" />
<attribute name="level" layout="${level:upperCase=true}"/>
<attribute name="message" layout="${message}" />
<attribute name="exception" layout="${exception:format=ToString}" />
</layout>
</target>
<target name="logconsole" xsi:type="ColoredConsole"
layout="${longdate:universalTime=true}|${level:uppercase=true}|${threadid}|${message}|${event-properties:filePath}:${event-properties:lineNumber} ${exception:format=ToString}">
<highlight-row condition="level == LogLevel.Debug" foregroundColor="DarkGray" />
<highlight-row condition="level == LogLevel.Info" foregroundColor="DarkGray" />
<highlight-row condition="level == LogLevel.Warn" foregroundColor="Yellow" />
<highlight-row condition="level == LogLevel.Error" foregroundColor="Red" />
<highlight-row condition="level == LogLevel.Fatal" foregroundColor="Red" />
</target>
<target name="logSeqFile" xsi:type="File"
fileName="${basedir}/../../bin/LogSequence/${ProcessName}.log"
archiveFileName="${basedir}/../../bin/LogSequence/${ProcessName}_{#}.Sequence.bak"
archiveAboveSize="10240000"
archiveNumbering="DateAndSequence"
archiveEvery="Day"
maxArchiveFiles= "1000"
archiveOldFileOnStartup="true"
ConcurrentWrites="true"
archiveDateFormat="yyyy-MM-dd"
layout="${ticks},${event-properties:sender},${event-properties:receiver},${message}:${event-properties:errordesc}"/>
</targets>
<rules>
<logger name="*" minlevel="Info" writeTo="logconsole"/>
<logger name="*" minlevel="Info" writeTo="developLogFile"/>
<logger name="BusinessLogger" minlevel="Info" writeTo="businessLogFile"/>
<!-->logger name="*" minlevel="Error" writeTo="logfile"/-->
<logger name="SequenceLogger" minlevel="Debug" writeTo="logSeqFile"/>
</rules>
</nlog>