#Decay Plugin

1 messages · Page 1 of 1 (latest)

regal grail
#

RocketMod does have Decay built in. Not fully too sure how it works though. I dont think there is any free decay plugins though

subtle lodge
#

Wait what do you mean by decay. Unturned has built in decay if that’ll serve your purposes?

regal grail
#

Im not able to find any other decay plugins that are not free.

#

It probably doesnt exists

subtle lodge
#

It doesn’t exist.

#

Or if it does it’ll be an outdated one from years ago without support.

regal grail
#

That still wouldnt change the fact that there isnt any free ones.

#

ok

#

What do you mean by item whitelist

#

That still doesnt explain what you are looking for.

#

Like preventing certain items going into a locker?

#

So you want only certain barricades to get delt damage?

#

If you have to ask about that, I wish you good luck in making the plugin. You would just check the Barricade IDs to see if it matches the ones you want removed or not

#

Have a List of Ids, then when you get all the barricades in a radious, check the Barricade ID and see if it matches of the ones that need to decay.

#

Have you made any plugins before?

#

I wouldnt recommend making this plugin for your first plugin. Its best to get used to RocketMod. As there is abrley to nothing for documentation for it.

subtle lodge
regal grail
#

You would be using BarricadeManager probably from the Generators Transform. Probably be the region.

#

Wouldnt it just be bset for you to figure it out?

#

I dont see why I would be needed in the making of this plugin

#

Just google Storages or shit for Unturned Ids

regal grail
#

You have all the Barricade IDs, storages etc on there

#

Find the Ids you want to use and put them into a List

#

You would type the Barricade Name you want the ID for.... In the Search

#

What do you mean by Building Materials??? Type Floor or roof

#

pillars

#

etc

#

Just go through the IDs on the website and find the ones you want. I'm not going to do it for you.

#

You could always make a Config option to allow the user to input the ones they want in so you dont have t odo it all

#

Weird. Maybe try a different browser.

#

Or look at a differnet website

shut mortar
#

ong 🔥

median wedge
#

@regal grail BTDecay when! 🗣️

regal grail
#

Shhhh

regal grail
#

You would need the ID if you want to prevent certain barricades or structures to not be delt damage.

regal grail
#

Cool.

#

Ok

#

That would work.

smoky sequoia
#

Yes instance id is unique

#

no barricade will have the same

#

it be like 1,2,3,4,5,6

#

Any type of barricade i believe

regal grail
#

I have no idea what you are asking

subtle lodge
#

My brother, that’s been known for since the map came out 😩

median wedge
#

Look through BarricadeManager

median wedge
#

barricademanager.repair and .damage

smoky sequoia
#

The only documentation is Dnspy

#

Just type dnSpy on github

#

You need to decompile the CSharp assembly (forgot the exact path)

#

And go find stuff on SDG.Unturned

regal grail
#

There is no documentation for rocketmod. You have to decompile unturned dlls to find the code you want

regal grail
#

Documentation makes everhthing better yeah. I don't think barricademanager complicated? You have everything related to barricades in there.

regal grail
#

🤷

#

Just put it to something then upload it to github. Im interested in what the code looks like

#

let me know when you upload it to github]

regal grail
#

I don't give stars unless they really deserve it