OP 14 February, 2022 - 04:04 AM
(This post was last modified: 14 February, 2022 - 04:29 AM by LeakGod2020. Edited 5 times in total.)
Virus Scan = Virus Total
Optional Dependencies.:
https://umod.org/plugins/friends
https://umod.org/plugins/image-library
Still some features could be added here with some additinal checks
Variants player can get the recycler:
1) ability to craft a recycler with permission and cooldown|or wipe limit count, crafting resources are defined in config
2) allows getting recycler by every player you wish by permission cooldown|or wipe limit count by command
3) admin can set a kit with recycler item
4) allows giving a recycler by server console command - giverecycler <name or steamid>
5) find recycler in loot containers
- ability to repeair/damage recycler
- default recyclers in Monuments are untouched (default rates in config are for home recyclers only) - can be set/unset in config
- it's just a box, when placed turns into real recycler (or any item u set)
- works as original rust recycler, the rates of recycler and other parameters rely on who turned on the recycler
- different configurable ratio and speed of recycler with individual permissions (default ratio 0.5 means 50% resources return, default speed 5 means 5 seconds between recycling portions of items), can change percentOfMaxStackToTake per each recycling tick, RatioScrap - ratio of scrap out (1.0 means 100% of predifined for item, you should know that scrap return count not equal to needed for crafting such item)
- easy pickup of recycler by hammer hit, need building previlidge (may be disabled or allowed only for friends)
- UI for pickup, repair (u can see health), craft
- will be destroyed when building block underneath is destroyed, can't be destroyed itself
- everytime checking for full inventory when giving/picking up
- no hanging in the air after raid )
- can restrict use by cupboard
- can restrict placing on ground (only on construction)
- can change commands in config
- can find in loot containers (just turn ON in config, reload the plugin and edit probability chance for each container in config)
- messages are stored in lang files, by default for EN and RU
- datafile autowipes on map wipe
Commands:
- player chat: /rec - users can get a recycler into inventory or as an admin you could get this item and add it to any kit you wish
- admin/server console: giverecycler <name or steamid>
- player chat: /craftrecycler- crafts a recycler for player, alerts if any resources missing
Permissions:
homerecycler.canget - can get a recycler
homerecycler.ignorecooldown - as it says
homerecycler.cancraft - as it says
homerecycler.ignorecraftcooldown - as it says
CUSTOM permissions:
you could add group to "PermissionsRates" in config, eg.:
"viptest" - this means players with permission homerecycler.viptest will be having values from "viptest" section, if player has multiple such permissions, he will get by max priority