Smoosher submitted a new resource:
Decay Everything - Disables standard decay and creates a Custom Decay with custom rates and timers
Read more about this resource...
Decay Everything [Unmaintained]
Discussion in 'Plugin Support' started by Smoosher, Nov 19, 2015.
-
Good job, it remains to understandand set things up xD
-
Looks like a very useful mod, I will probably end up switching over once im finished setting up my other mods
.
-
Xm.....and the plugin isdefinitely working?
changed 3600 for 10 sec - 0 result - not Decay
[DOUBLEPOST=1447975621][/DOUBLEPOST].........................Attached Files:
-
-
i'am not getting decay on anything. Timers are set to 60 seconds
Last edited by a moderator: Nov 19, 2015 -
It is more efficient to go to the config folder and locate the config folder (should end with .json), edit the settings in there and then type
oxide.reload (modfilename) -
I and server restarter and delete cfg - 0 result
-
Code:
{ "DecayAllEntities": false, "DecayBuildings": true, "DecayBuildingsArmored": false, "DecayBuildingsEvery": "60", "DecayBuildingsMetal": false, "DecayBuildingsNoCupboard": true, "DecayBuildingsNoCupboardArmored": false, "DecayBuildingsNoCupboardMetal": false, "DecayBuildingsNoCupboardPercentageArmored": "1", "DecayBuildingsNoCupboardPercentageMetal": "1", "DecayBuildingsNoCupboardPercentageStone": "1", "DecayBuildingsNoCupboardPercentageTwig": "1", "DecayBuildingsNoCupboardPercentageWood": "1", "DecayBuildingsNoCupboardStone": true, "DecayBuildingsNoCupboardTwig": true, "DecayBuildingsNoCupboardWood": false, "DecayBuildingsPercentageArmored": "1", "DecayBuildingsPercentageMetal": "1", "DecayBuildingsPercentageStone": "1", "DecayBuildingsPercentageTwig": "1", "DecayBuildingsPercentageWood": "1", "DecayBuildingsStone": false, "DecayBuildingsTwig": true, "DecayBuildingsWood": false, "DecayEntitiesEvery": "5", "DecayEntitiesNoCupboardPercentage": "5", "DecayEntitiesNotInCupboardRange": true, "DecayEntitiesPercentage": "5", "DecayGatesWalls": true, "DecayGatesWallsEvery": "5", "DecayGatesWallsNoCupboard": true, "DecayGatesWallsNoCupboardPercentage": "1", "DecayGatesWallsPercentageStone": "20", "DecayGatesWallsPercentageWood": "1", "DisableStandardDecay": true, "EntityList": { "Angry Jack-o-lantern": "jackolantern.angry.prefab", "Autoturret": "autoturret_deployed.prefab", "Barbed Wood Barricade": "barricade.woodwire.prefab", "bed": "bed_deployed.prefab", "campfire": "campfire.prefab", "Concrete Barricade": "barricade.concrete.prefab", "double sign post": "sign.post.double.prefab", "Furnace": "furnace.prefab", "Hanging Banner": "sign.hanging.banner.large.prefab", "Hanging Sign": "sign.hanging.prefab", "Happy Jack-o-lantern": "jackolantern.happy.prefab", "Huge Wood Sign": "sign.huge.wood.prefab", "Ladder": "ladder.wooden.wall.prefab", "Landscape Pictureframe": "sign.pictureframe.landscape.prefab", "Lantern": "lantern.deployed.prefab", "Large Furnace": "furnace.large.prefab", "Large Water Catcher": "water_catcher_large.prefab", "Large Wood Sign": "sign.large.wood.prefab", "Large Wooden Box": "box.wooden.large.prefab", "Medium Sign": "sign.medium.wood.prefab", "Metal Barricade": "barricade.metal.prefab", "Ornate Hanging Sign": "sign.hanging.ornate.prefab", "Portrait Pictureframe": "sign.pictureframe.portrait.prefab", "Repair Bench": "repairbench_deployed.prefab", "Research Table": "researchtable_deployed.prefab", "Sandbags": "barricade.sandbags.prefab", "Shelves": "shelves.prefab", "Sign Pictureframe XL": "sign.pictureframe.xl.prefab", "Sign Pictureframe XXL": "sign.pictureframe.xxl.prefab", "Sign Pole Banner": "sign.pole.banner.large.prefab", "Sign Post Town Roof": "sign.post.town.roof.prefab", "Signpost Single": "sign.post.single.prefab", "Small Refinery": "refinery_small_deployed.prefab", "Small Stash": "small_stash_deployed.prefab", "Small Storage Container": "woodbox_deployed.prefab", "Small Water Catcher": "water_catcher_small.prefab", "Small Wood Sign": "sign.small.wood.prefab", "Stone Barricade": "barricade.stone.prefab", "Tall Pictureframe": "sign.pictureframe.tall.prefab", "Town Sign Post": "sign.post.town.prefab", "Wood Barricade": "barricade.wood.prefab" } }
-
Copy all the code and then click the icon located in the forum chat left of the save button (code).
Then paste it all in there. -
Speaking of meaty, can you make it so meat spoils. Something that is lacking
-
Just woke up, i did some cleaning up before i released it (There was tons of debug code) i quite possibly removed something i shoudlnt have, will have a peak this morning once i update my test server and double check the above stuff
[DOUBLEPOST=1448010675][/DOUBLEPOST]Found the issue, i did remove too much, so much that infact the timers dont get called on plugin start (Derp) just checking thats all i missed then will release an updated version -
Anychance I could get an alteration to this that simply will destroy selected items (eg signs and picture frames).
Reason being is that I used Sign artist and it created a bugged texture, anyone that is in loading distance will get kicked from the server, So I want to make a mod that will force a almost instant decay on those items and only those items to try and remove the bug.
If you could help I would be so happy thank you. -
@Alphawar
Yea doable, essentially once ive fixed the issues ive caused for myself you could set this plugin to decay all entities remove the types where they are not signs and run it with 100%, im having afew issues that im trying to fix currently, hopefully have those sorted after my lunch break (Working from the back end only is a pain!) -
Smoosher updated Decay Everything with a new update entry:
1.1.0
[DOUBLEPOST=1448023729][/DOUBLEPOST]I havent fully tested this im at work and its a nightmare to try and test stuff, but if anyone gets any issues just shout -
-
@Uncle Rak crashed 0_0 as in full on unity crash or server froze to death?
If you can get the Oxide log and send it over to me would be useful, cant see anything in the code that would force the server to crash -
About log... well, after [Oxide] 4:00 PM [Info] [Decay Everything] Decayed Entites No Cupboard: 175 nothing in logs -
@Uncle Rak Cheers im on lunch now so should be able to test that on my server, there was no other garbage before that? random numbers or anything
-
Is it possible to save the 24h less decay like the game do?
Can be really good if, by exemple we have a non-decay of 24h for entities in radius of cupboard. -
Smoosher updated Decay Everything with a new update entry:
1.1.1
[DOUBLEPOST=1448030098][/DOUBLEPOST]@Uncle Rak If you still freeze after this update, can you throw me your config, im currently decaying 249 items on my server and its running without an hitch
@SeBL4RD 2 Not 100% sure i understand what you mean by saving the decay by 24hours? do you mean new items placed dont decay for 24hours? or something different, not something im aware of.