Absolut submitted a new resource:
NoNudity - Gives pants and forces players to wear pants. For those that don't like lower body nudity
Read more about this resource...

NoNudity
Gives pants and forces players to wear pants. For those that don't like lower body nudity
Total Downloads: 592 - First Release: Mar 26, 2017 - Last Update: May 24, 2017
- 5/5, 7 likes
-
error code dose this mean anything important
Failed to call hook 'OnItemAction' on plugin 'NoNudity v1.0.0' (NullReferenceException: Object reference not set to an instance of an object) -
-
i will do some pokes see if i can find what cause it
-
Thanks again for this plugin Absolut. Great work! Only problem is my status as a poster here at oxide still has me as a "Naked Wanderer" haha... i'll have to work on that myself i guess. Cheers bud!
-
Currently spamming this RCON error as soon as a player logs in:
Failed to call hook 'CanMoveItem' on plugin 'NoNudity v1.0.0' (NullReferenceException: Object reference not set to an instance of an object) -
I just noticed I am getting the error too, Absolut. Plugin is still working however, when I move a pair of pants from a storage box to my inventory(not to the actual pants clothing slot, just into my inventory from any box) the server console spits that error. Hope that helps.
-
-
no worries. haven't had the urge to gouge my eyes out since you released it, haha. Still works.. just the console spews red hehe
I know you'll nail it down.
-
-
It's all good bud. I appreciate everything you've done to bring this plug to the community. The fact that it WORKS is reason enough to run it on my server and I will continue to do so. Cheers!
EDIT: I think I found the bug you were talking about, maybe? v1.0.1 is now not letting me put anything into my hotbar slot 1. (pickaxe, weapon, anything) except pants. I will use v1.0.0 for now until you can find the time to fix bud. with v1.0.1 only 5 of the 6 hotbar slots work unless we wanna throw pants as weapons hehe. Pant fight!Last edited by a moderator: Mar 29, 2017 -
found another bug... if you equip wooden armor pants, and de-equip... NUDITY
-
Hi Absolut. I took the liberty to scour through the code and simply edited the section to include ALL shortname IDs for clothing items that would be classified as "pants". There were a couple missing. However, this snippet of code is still from v1.0.0 since v1.0.1 broke the hotbar slot 1. I can live with the red text errors that the server is spewing for now. Anyways, here is what I added to v1.0.0 since it was missing a couple. As little of a contribution as this is, I hope it helps. I'm sure I am nowhere near as capable as you to fix the NRE errors or the hotbar slot 1 issue. So all i have done is amend the section below in v1.0.0 to get THAT part of it working properly, hopefully.(about to do a test run) Thx again for this plugin and i'm sure when you find the time and care to, that you will look into it deeper! Cheers!
private List<string> Pants = new List<string>
{
{"pants"},
{"pants.shorts"},
{"hazmat.pants"},
{"burlap.trousers"},
{"attire.hide.pants"},
{"attire.hide.skirt"},
{"roadsign.kilt"},
{"heavy.plate.pants"},
{"wood.armor.pants"},
{"hazmatsuit" },
}; -
v1.0.1 still broken
-
-
-
Been testing it all day. No problems. Working exactly as it should. Thank you!
Last edited by a moderator: Apr 21, 2017 -
Love this plugin! Would it be possible to add support to this for the Updater plugin?
-
-