Poll

am i gay

yes
2 (100%)
yes
0 (0%)

Total Members Voted: 2

Author Topic: Where do I disable certain default bricks?  (Read 730 times)

I've looked in my addons folder and I cant find default bricks, where can I disable the pinetree?

Make an add-on that does
brickPineTreeData.category = "";
if you just don't want players to be able to place them, but still load normally
brickPineTreeData.uiName = "";
to completely disable them.

Can it be any type of addon? Or should it be a brick_nopinetree for example?

I made it just like a normal addon, and put the 2nd command in server.cs, I can send you a link to it if you can try fixing it? Because it didn't work at all.



It's nested. The game is going to read it as Add-ons/Brick_nopinetree/Brick_nopinetree/server.cs which it really, really doesn't like.
Make sure you just zip the contents of the folder, not the folder itself.

Noedit:
Your files also aren't named properly.
You have description.txt.txt and server.cs.cs
Your namecheck is also namecheck.txt.txt, doesn't match the name of the folder, and isn't really needed anyway.