Author Topic: Disable cubes for non admin.  (Read 2283 times)

Making a super long string is not a good idea. You'll get exactly that.

Instead you could make an array like $Pref::Server::BlockedBrick[uiname] = true;.

Works great if I want to disable a few bricks like teledoor and checkpoint. I disabled the entire cube list and the server stuff itself lol.

Righto. I'll update it to use an array later today.

Now uses arrays instead.
Removed /restrictedBricks.
Removed /unrestrictAllBricks

Removed /unrestrictAllBricks

Did you forget about deleteVariables?

Did you forget about deleteVariables?
Nah. I just didn't think about using it for that situation for some reason.

Added /unrestrictAllBricks back in.
Fixed another thing caused by a typo.

Righto. I'll update it to use an array later today.

Did you fix it yet?

Now uses arrays instead.
Removed /restrictedBricks.
Removed /unrestrictAllBricks
i assume he updated the original download link on the first page

i assume he updated the original download link on the first page
I did. Probably should have said that.