[無料あり] Simple Item Lock ワールド用アイテムロック/ホワイトリストシステム(パスワードサポートあり)
- サポーターパックダウンロード商品¥ 500
- Freeダウンロード商品¥ 0
![[無料あり] Simple Item Lock ワールド用アイテムロック/ホワイトリストシステム(パスワードサポートあり)](https://booth.pximg.net/07cac00b-0ea2-4dd6-97a7-6355b5ceb5c9/i/6375850/77a48ced-49e2-458a-979c-b9e45c0d32d4_base_resized.jpg)
Simple Item Lock はVRChatワールドで、アイテムを許可されたプレイヤーしか見えない、またはつかめないようにするギミックです。パスワードのサポートもあります。(V2.1) オブジェクト本体、またはコライダーに動作するため、ボタンやテレポーターなどにも動作します。 Simple Item Lock is a simple way to prevent your item being used or seen(disable) by using a white list. It also has password support. It works with game objects and colliders, so items like buttons and teleporters will also work.
特徴
2つ以上共存可能 / Support for multiple locks to be used at same time. コライダー、オブジェクトなどのモード / Collider / Object Mode パスワードのサポート / Support Passwords
説明
Mode 0 - 無効化モード/Disable Mode 許可されていないプレイヤーにはオブジェクトが無効化され、存在しないようになります。Object Syncの場合ではTransformが同期されますが、許可されていないプレイヤーからはアイテムが見えません。ただし、スクリプトも同期されなくなり当たり判定も消えます。 範囲: オブジェクト及び子オブジェクト(子オブジェクト自体は無効化されませんが、親オブジェクトが無効化された影響で無効になります。) 使用例: スタッフ限定で、一般プレイヤーに表示する必要のないアイテムをロックする。たとえば、スタッフ専用エリア行きのテレポーター。 Only for whitelisted players the object is enabled. For other players, the object can be seen as non-existent until it's unlocked. Target: target object and child objects. (Child objects won't be directed disabled. But it will appear to be disabled because the parent object is disabled.) Mode 1 - コライダーモード/Collider Mode 許可されていないプレイヤーにはオブジェクトのコライダーが無効化され、インタラクトできなくなります。それ以外のスクリプトは正常に同期されます。ただし、アイテムの当たり判定もなくなりますので、ドアなどに利用する場合では追加のコライダーが必要です。 範囲: オブジェクト自体(子オブジェクトを含まず)(オブジェクトにコライダーがある必要があります。子オブジェクトにある場合では、子オブジェクトを入れてください。) 使用例: スタッフ用のアイテムで、同期するパラメータがある場合や、アイテム自身を隠す必要がない場合でアイテムをロックする。たとえば、プレイヤーを掴めるためのギミックをロックする。 Only whitelisted users will be able to interact or grab the item. The Collision will also disappear. So if you're going to place this in a door, please add another collider to make sure other players can't go through it directly. Target: target object itself. Child objects won't be affected. The target object should have collider directly attached. Mode 2 - コライダー一括モード/Collider Inclusive Mode > コライダーコンポーネントのオンオフを制御するため、コライダーを利用するギミックに干渉する可能性があります。 許可されていないプレイヤーには、このオブジェクトおよび子オブジェクトのすべてのコライダーが無効になります。それ以外のスクリプトは正常に同期されます。 範囲: オブジェクトおよびすべての子オブジェクト 使用例: いくつかのオブジェクトのコライダーを一括管理する場合や、ギミックのコライダー構成が複雑な場合。 > This could potentially break other gimmicks that rely on colliders. Works the same as Mode 1 but all colliders on child objects will also be switched off. Mode 3 - コライダー一括&不可視モード/Collider & Invisible Inclusive Mode > コライダー/Rendererコンポーネントのオンオフを制御するため、それらを利用するギミックに干渉する可能性があります。 許可されていないプレイヤーには、このオブジェクトおよび子オブジェクトのすべてのコライダー、MeshとSkinned Mesh Rendererが無効になります。そのため、アイテムが見られないままスクリプトの実行ができます。それ以外のスクリプトは正常に同期されます。 子オブジェクトにあるもののMesh RendererとSkinned Mesh Rendererがすべて無効になります。(ただし、パーティクル、UI、Spriteなどは正常に動作します)もし子オブジェクトに表示させたいものがありましたら、別のオブジェクトに移動してください。 範囲: オブジェクトおよびすべての子オブジェクト 使用例: ギミックの本体を隠したままギミック機能を利用する場合。 > This could potentially break other gimmicks that rely on colliders, mesh and skinned mesh renderers. Mode 2 with disabling all mesh and skinned mesh renderers to make the target object invisible. インスタンスオーナー許可モード / Allow instance owner インスタンスを立てたプレイヤーを許可します。 使用例: 公開ワールドでの利用や、ユーザー名追加し忘れがある場合での救済措置など。 Allow the player who create this instance to use the item. 壁モード / Wall Mode 動作が逆になります。(Mode 0 の場合: 許可されていないプレイヤーにオブジェクトが表示されるが、許可されたプレイヤーに表示されない) 許可されたプレイヤーだけがぬける壁(コライダー)などを作れます。 Use wall mode to make whitelisted players to go through certain walls etc.
注意事項
いたずら防止のためのギミックです。すべての状況に対応するものではありません。 Advanced Prefab はUnpackしてからご利用ください。Prefabのままでは正常に動作しません。 これは、Prefabにあるユーザーに変更されていないフィールドに、スクリプトでデータを入力しても保存されないためです。 ターゲットオブジェクトをスイッチでオンにすると、ロックが解除されます。 同じオブジェクトを複数のItem Lockに登録した場合は干渉する可能性があります。 This gimmick is intended to stop pranks. This does not protect your world from all types of attacks. Please unpack the advanced prefab before using it. Generate Data function won't work if it's not unpacked. This is because, in Unity, adding something to a unchanged prefab with a script won't be saved. Enabling the targets object with switches will unlock the object. Using multiple Item Locks in the same object isn't something we tested, nor what we plan to support.
サポーターパック
* サポーターパックの専用スクリプトは、Supporter Packというフォルダの中にあります。 ユーザー名マネージャ 3種類のLockにユーザー名を一括導入することができ、役職が多いときなどに便利な機能です。 また、Lockからユーザー名を読み込むこともできます。 Username Managerをシーンに配置してご利用ください。 (入力が終わりましたらExport Usernamesを押してください) Password Creator パスワードをインスタンス内で作成する機能です。パスワードの流出対策などにご利用ください。 デフォルトのマスターパスワードの変更をおすすめします。(英数字や、記号なども利用可能)(Item Lock側も同じものに変更してください) Password Creatorというプレハブをシーンに配置するか、同名のスクリプトをItem Lockにアタッチしてご利用ください。 Password Creatorは専用の設置パネルが必要です。PWCから始まるPassword Panelをご利用ください。(is Password Creator Modeを無効にすると、普通のロック用のパネルに変更できます。)このパネルは、ユーザー以外の方に自動的に隠されます。 Password Creator は独自のユーザーリストとインスタンスオーナー許可設定があります。 Username Manager It can export usernames to all 3 types of item locks at the same time. So it's convenient when there are multiple role in your world. Please drop the Username Manager Prefab to your scene before use. Press Export Usernames to save the data to Locks. Password Creator Create password in instance to prevent password leaks. Changing the master password is recommended for this function. (characters and signs are available) (Please change the master password on item locks to the same password) You can use the Password Creator Prefab or attach the script to lock objects. Password Creator requires a different password panel. Use the password panel prefab that start as PWC instead. (Uncheck is Password Creator Mode to use this panel as normal password panel) This panel will hide itself for non-users. Password Creator has its own user list and allow instance owner settings.
問題と回避策
1. インタラプトでテレポートするドアなどに対応するモードがない / No modes applicatable to doors that rely on interaction to teleport. A: ドア(またはコライダーが入っている部分)をMode 1に設定して、その後ろに別のオブジェクトでコライダーを設定してください。 Set the door (or the part with the teleporter's collider) to mode 1 and add another collider to the back of the door with another game object.
導入方法
導入 2種類の導入方法があります。 / There are 2 ways to import this gimmick. 準備 / Preparation 1. パッケージをダウンロードします。/ Download the package 2. Unityのワールドプロジェクトに導入します。 / Import to a World project. Prefabを利用する / Use the prefab 2種類のPrefabがあります。 Advancedでは、アイテム一つ一つでインスタンスオーナーの許可を編集したり、モードを選択したりすることができますが、毎回Generate Dataを押す必要があります。Advanced でないItem Lockでは、すべてのオブジェクトが同じ設定になります。設定の手順はほぼ同じですが、Advanced PrefabはUnpackする必要があります。 There are two types of prefabs. Advanced prefab allow editing modes and the options for allowing instance owner for each object, with a drawback of requiring clicking the Generate Data button every time the object is edited. The prefab without Advanced will let all target objects have the same settings. However, advanced prefab should be unpacked if you want to use it. 右下の+マークを押しユーザー名を入力します。Usernamesにあるすべてのユーザーがオブジェクトを操作できます。 Using the + mark at bottom right corner and input usernames for whitelisted users. アイテムリストを作ります。Target Object は対象アイテムです。Modeなどの説明は上にあります。 Create the item list. Information about modes and other settings are above. パスワードを利用するには、別途Password Panelのオブジェクトを設置し、パネルのインスペクターにロックを設定する必要があります。 To use Password, you need place the password panel object, and add the lock to the password panel on the inspector. Advanced PrefabではGenerate Dataを押す必要があります。この作業は毎回編集する時に必要になります。 Click the Generate Data Button for Advanced Prefab. This should be done for every time the list is edited. Advancedバージョンでは、ユーザー名コピー機能があります。他のPrefab(非Advanced含む)またはItemLockBasicがついているオブジェクトを下のTarget LockにいれてCopy Usernamesを押すとユーザー名が入れたオブジェクトにコピーされます。 In the Advanced prefab, you can put any other objects with ItemLockBasic or Item Lock Prefabs (Including non-advanced ones) and click Copy Usernames to copy the stored usernames to the target object. 一つオブジェクトのみ利用する / Use single object script ItemLockBasicは今後、更新されなくなります。 ItemLockCenterが同じ機能を対応したため、Centerをご利用ください。 ItemLockBasic is now deprecated. Use ItemLockCenter instead, as it now supports the same function. 対象オブジェクトにItemLockCenterというスクリプトをアタッチします。 Attach ItemLockCenter script to target object. 右下の+マークを押してユーザー名を入力してください。Usernamesにあるすべてのユーザーがこのオブジェクトを操作できます。 Using the + mark at bottom right corner and input usernames for whitelisted users. アイテムリストを作ります。Target Object は対象アイテムです。Modeなどの説明は上にあります。 Create the item list. Information about modes and other settings are above. パスワードを利用するには、別途Password Panelのオブジェクトを設置し、パネルのインスペクターにロックを設定する必要があります。 To use Password, you need place the password panel object, and add the lock to the password panel on the inspector.
利用規約
Free: MIT License https://github.com/TamakiRuri/SimpleItemLock Supporter Pack: 本商品を購入した時点で本利用規約に同意したものとします。 利用規約の内容が変更された場合、ダウンロードデータに同封する旧バージョンの規約も適用されるとします。 他の説明がない限り、本データの作成者が著作権を有します。 規約を違反した場合、利用中止および損害賠償を求める場合がございます。 本データを利用することで発生したいかなる損失の賠償責任について、作成者および配布元は一切負いません。 法人利用要相談 本データを利用するにあたって下記の行為を禁止します。 違法行為 宗教、政治、及びそれに関係するコンテンツへの利用 作成者を偽る行為 データを譲渡する行為 その他、本データの販売および本ショップの運営なに不利益をもたらし、不適切だと判断された行為 We do not provide English Terms of Use. If Translated Terms of Use has any conflict with the Japanese version, the Japanese version is applied. DO NOT RE-POST.
更新履歴
2025/04/20 リリース V2.1 パスワード機能を追加しました。 サポーターパックにインスタンス内でパスワードを作成する機能を追加しました。 一部説明を変更しました。 Item Lock Basicはサポート対象外になりました。(今後も引き続きご利用できますが、更新されなくなります。パスワードも非対応です) Free: V2.1b14f Supporter: V2.1b14s 2024/12/13 リリース V1.1 商品ページの一部の説明を変更しました。 具体的な使用例や注意点を追加しました。 コライダー一括モードとコライダー一括&不可視モードを追加しました。 プレハブにある説明を変更しました。 Free: V1.1b11 Supporter: V1.1b2 2024/12/12 商品ページの一部の説明を変更しました。 2024/12/11 リリース V1.0 Free: V1.0b9 Supporter: V1.0b1