VRChat Join & Leave Logger
- Digital800 JPY

🔍 What's this? This system is a real-time visual logger that shows when players enter or leave a VRChat room. Designed with UdonSharp, this component automatically syncs and updates an interface with clear, elegant, and customizable information. 🎯 Key Features: ✅ Compatible with UdonSharp and VRC SDK3 ✅ Synchronized log across all players ✅ Optional emojis for a modern visual style (💻🥽🟢🔴) ✅ Timestamps with configurable timezone ✅ Automatic distinction between VR and Desktop players ✅ Customizable line limit (default 200) ✅ Option to copy the log without RichText for external use 🧩 What's included? Ready-to-use prefab (ParrotsConch/Prefabs/LogSystem.prefab) Fields exposed in the UI inspector (TMP Text, Rect, InputField) Full support for colors and emojis Option to integrate it into ScrollRect for elegant interfaces 🧠 What's it for? This logger is ideal for: - Social worlds with high player turnover - Event or tournament moderation 🛠️ Requirements Unity 2022.3.22f1 or higher UdonSharp installed TextMeshPro active in the world SDK3 (VRChat Worlds) ✅ Technical code review - Excellent structure: The entire system is encapsulated with good separation of responsibilities. - The log is synchronized with [UdonSynced] and is updated only by the Master, avoiding conflicts. - ScrollRect support: Automatically detects the ScrollRect to maintain scrolling at the end of the log. - Extended functionality: Includes _CopyLog() to duplicate log content in plain text, ideal for administrators or exporting. - Clean and organized RichText: Ideal for quick reading and with a clear aesthetic. - Ownership security: Ensures the Master is the owner before modifying the log, preventing errors. - Support for other time zones (not just hardcoded UTC-5). ------------------------------------------------------------------- 🔍 これは何ですか? このシステムは、プレイヤーがVRChatルームに入退室したタイミングをリアルタイムで表示するビジュアルロガーです。UdonSharpと共同で設計されたこのコンポーネントは、明確で洗練された、カスタマイズ可能な情報でインターフェースを自動的に同期・更新します。 🎯 主な機能: ✅ UdonSharpおよびVRC SDK3と互換性があります ✅ 全プレイヤー間でログを同期 ✅ モダンなビジュアルスタイルのための絵文字オプション(💻🥽🟢🔴) ✅ タイムゾーンを設定可能なタイムスタンプ ✅ VRプレイヤーとデスクトッププレイヤーの自動判別 ✅ 行数制限をカスタマイズ可能(デフォルト200) ✅ 外部使用のためにリッチテキストなしでログをコピーするオプション 🧩 含まれるもの: すぐに使えるプレハブ (ParrotsConch/Prefabs/LogSystem.prefab) UIインスペクターに表示されるフィールド (TMP Text、Rect、InputField) 色と絵文字を完全サポート エレガントなインターフェースのためにScrollRectに統合するオプション 🧠 用途 このロガーは以下の用途に最適です: - プレイヤーの入れ替わりが激しいソーシャルワールド - イベントやトーナメントのモデレーション 🛠️ 要件 Unity 2022.3.22f1 以上 UdonSharp がインストール済み ワールドで TextMeshPro がアクティブ SDK3 (VRChat ワールド) ✅ 技術的なコードレビュー - 優れた構造: システム全体が適切にカプセル化されており、責任分担が適切に行われています。 - ログは[UdonSynced]と同期され、マスターによってのみ更新されるため、競合を回避できます。 - ScrollRectサポート: ログの末尾でスクロールを維持するためにScrollRectを自動検出します。 - 拡張機能:ログ内容をプレーンテキストで複製する_CopyLog() が追加されました。管理者やエクスポートに最適です。 - すっきりと整理されたリッチテキスト:見やすく、見やすいデザインで、素早い読み取りに最適です。 - 所有権のセキュリティ:ログを変更する前にマスターが所有者であることを確認し、エラーを防止します。 - 他のタイムゾーン(ハードコードされた UTC-5 だけでなく)もサポートしています。