Подробное ведение журнала событий добычи игроков. Поддерживает ведение журнала в консоль, файловую систему и Discord.
- кфг
-
Конфигурация по умолчанию
JSON:{ "Console": { "Enabled": false, "FormatLootDropSelf": "[{0:yyyy/MM/dd HH:mm:ss}] {8} dropped {3} ({4}) while looting {1}", "FormatLootDropTarget": "[{0:yyyy/MM/dd HH:mm:ss}] {8} dropped {3} ({4}) from {1}", "FormatLootGive": "[{0:yyyy/MM/dd HH:mm:ss}] {8} gave {3} ({4}) to {1}", "FormatLootTake": "[{0:yyyy/MM/dd HH:mm:ss}] {8} looted {3} ({4}) from {1}" }, "Discord": { "WebHookUrl": null "Enabled": false, "FormatLootDropSelf": "[{0:yyyy/MM/dd HH:mm:ss}] {8} dropped {3} ({4}) while looting {1}", "FormatLootDropTarget": "[{0:yyyy/MM/dd HH:mm:ss}] {8} dropped {3} ({4}) from {1}", "FormatLootGive": "[{0:yyyy/MM/dd HH:mm:ss}] {8} gave {3} ({4}) to {1}", "FormatLootTake": "[{0:yyyy/MM/dd HH:mm:ss}] {8} looted {3} ({4}) from {1}", }, "File": { "DelaySeconds": 60, "FileNameFormat": "{0:yyyyMMdd}", "Enabled": false, "FormatLootDropSelf": "[{0:yyyy/MM/dd HH:mm:ss}] {8} dropped {3} ({4}) while looting {1}", "FormatLootDropTarget": "[{0:yyyy/MM/dd HH:mm:ss}] {8} dropped {3} ({4}) from {1}", "FormatLootGive": "[{0:yyyy/MM/dd HH:mm:ss}] {8} gave {3} ({4}) to {1}", "FormatLootTake": "[{0:yyyy/MM/dd HH:mm:ss}] {8} looted {3} ({4}) from {1}" }, "Tracking": { "Player": true, "PlayerCorpse": true, "PlayerTeam": true } }
Формат
Сообщения формата в конфигурации могут использовать любой из следующих аргументов.
JSON:0: DateTimeOffset use regular formatting, Ex: {0:yyyyMMddHHmmss} = 20220317155122 1: Target Display Name, Ex: RustGamer01 2: Target Steam ID, Ex: 01234567890123456 3: Item Name, Ex: scrap.item 4: Item Change Amount, Ex: 256 5: Item Condition (Value), Ex: {0:000.0000#} = 034.05897 6: Item Condition Max (Value), Ex: {0.00} = 42.00 7: Item Condition (Percent), Ex: {0:#.###} = 81.09 8: Looter Display Name(s), comma-delimited (if more than one), Ex: LootFirst, QuestionLater 9: Looter Steam ID(s), comma-delimited (if more than one), Ex: 54123678965432178, 98745321456872586 10: Display name and Id, comma-delimited (if more than one), Ex: LootFirst[54123678965432178], QuestionLater[98745321456872586]