Decay

Approved Decay 1.1

No permission to download

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
salva submitted a new resource:

Decay - Decay proposes an automatic and totally customizable cleaning system for your server.

Decay proposes an automatic and totally customizable cleaning system for your server.

Details:
Fully automatic, every time a player places an object ... Decay will inform of the CouldDown that will have that

object, after this time the object will be destroyed.

Configurable for:
-Wood Barricades
-CampFires
-Shelters

Admin Commands:
/decay - List of commands
/decay reload - Reload and apply the Settings...
Read more about this resource...
 
  • Like
Reactions: Revezunds

Revezunds

Moderator
Moderator
Dec 1, 2017
155
63
28
Waoo That is cool. Thnx for new Update. could be good if there is an option that if door added on shelter then it does not breaks or decay as newbies tend to live in a shelter for some hours unless they collect required items to make a home.
Also is there a way to add normal decay on the server for building and other items , from Cfg i know to unquote deployable decay and building decay but is it just that or also i need to do another setting. I mean if a player is inactive for 2 days and he do not open door to refresh his base it will start decaying slowly like in Oxide
 
  • Like
Reactions: salva

salva

Friendly self-taught developer
Administrator
Jan 31, 2016
577
612
63
Waoo That is cool. Thnx for new Update. could be good if there is an option that if door added on shelter then it does not breaks or decay as newbies tend to live in a shelter for some hours unless they collect required items to make a home.
Also is there a way to add normal decay on the server for building and other items , from Cfg i know to unquote deployable decay and building decay but is it just that or also i need to do another setting. I mean if a player is inactive for 2 days and he do not open door to refresh his base it will start decaying slowly like in Oxide
It is an initial version, the idea is to expand according to the needs, obviously you can choose the duration time of the shelters

Regarding what you mention about the days of decay .... you can browse the dretax Wiper resource, it has the function to erase houses when a player is more than X days without connecting, more info http://fougerite.com/resources /wiper.99/update?update=955
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
salva submitted a new resource:

Decay - Decay proposes an automatic and totally customizable cleaning system for your server.



Read more about this resource...
Nice one, you should implement Wiper's features in this so on C# It could be faster.

Also, becareful, the player is not always online after the timer ends:

https://github.com/salvadj1/Decay/blob/master/DecayClass.cs#L160

if (player.IsOnline) { }

Be sure to due that or you may cause RPC failures. You should also check if the Entity is also "alive" just incase.
 
  • Useful
Reactions: salva

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Nice one, you should implement Wiper's features in this so on C# It could be faster.

Also, becareful, the player is not always online after the timer ends:

https://github.com/salvadj1/Decay/blob/master/DecayClass.cs#L160

if (player.IsOnline) { }

Be sure to due that or you may cause RPC failures. You should also check if the Entity is also "alive" just incase.
Even though this is checked in fougerite's methods too but just to be sure.