It looks like this plugin as well as other will not issue their command for permissions, grant user 76561198119772764 neverwear.weapons' not found.
NeverWear
Moved
Total Downloads: 3,724 - First Release: Apr 4, 2016 - Last Update: Nov 18, 2016
- 5/5, 12 likes
-
have you tried oxide.grant user?
-
-
Only I have stopped the plugin to work?
-
-
Wulf Community Admin
-
This plugin is working for me no problems. Tools an Weapons do NOT decay
-
No need to handle weapon mods separately when getting the owner player.
Code:// this line works for mods and non-mods, no need to check item.GetOwnerPlayer() player = item?.GetRootContainer()?.GetOwnerPlayer();
-
-
The code that finds the player.
Code:if (item.GetOwnerPlayer() == null) { if (item?.info == null) return; if (!item.info.shortname.Contains("mod")) return; player = item?.GetRootContainer()?.GetOwnerPlayer(); if (player == null) return; } else player = item.GetOwnerPlayer();
Code:player = item?.GetRootContainer()?.GetOwnerPlayer();
I run a plugin on my server to give me admin powers. This seems to work just fine:
Code:// my stuff never degrades void OnLoseCondition(Item item, ref float amount) { if (item?.GetRootContainer()?.GetOwnerPlayer()?.userID == zugzwang) item.RepairCondition(amount); }
-
When players got attacked by other players, their attire is damaging, but permissions are fine. Weapons and tools are fine too.
UPD: Problem has started after latest update. I added a following code:
Code:if (item.hasCondition) { item.RepairCondition(amount); Puts(player.displayName + " repaired " + item.info.shortname + " for " + amount); }
Last edited by a moderator: Jun 17, 2018 -
Hello,
Code:{ "useAttire": false, // Stops wear on every item in the category 'Attire' "useTools": true, // Stops wear on every item in the category 'Tools' "useWeapons": true, // Stops wear on every item in the category 'Weapons' "useWhiteList": false, // Use the whitelisted items instead of the whole category "WhitelistedItems": [ "hatchet", "pickaxe", "rifle.bolt", "rifle.ak" ] }
Code:[NeverWear] GetOwn repaired candycaneclub for 0.334
with NoDurability plugin, its really good, it is completeLast edited by a moderator: Jul 6, 2018