1. I'm looking to force users within a specific group to keep a few items equipped that represent team colors.
    IE: T-Shirt/Hoodie colors.

    I suppose this could be achieved a few different ways. I'm not sure there is a way to prevent a user from removing a piece of attire, so it would probably have to be a periodic check of their wear container and then forcible replacement of worn items if they do not have the required item(s)/skin(s) equipped.

    Thoughts?
     
  2. Doesn't have to be a periodic check, just use the hooks OnItemAddedToContainer and OnItemRemovedFromContainer and check if the container is = to containerWear, I think it's container.playerOwner to get the player of the container, then from there you can check containerWear
     
  3. Wulf

    Wulf Community Admin

    CanWearItem would work for checking if they can wear it, but there isn't a good hook for checking if they can remove it, so I guess OnItemRemovedFromContaienr would be best and then somehow move it back quickly.