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?
Rust Attire / skin enforcement
Discussion in 'Plugin Requests' started by Nihiladrem, Jun 5, 2016.
-
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
-
Wulf Community Admin