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

I need some kind of script for a freebuild to disable all forms of cubes and modter for non admins. Or any brick I decide to disable if possible.

I don't want people using cubes to exploit crap.


How do cubes allow exploits? What?

They can be used to see through walls.

You can hide inside them and be able to kill others without being harmed.

Water cubes can be used to get up to high places with ease.

Etc.



Big cube spam is also annoying.

They can be used to see through walls.

You can hide inside them and be able to kill others without being harmed.
You can do that with any brick, not just cubes.

You can do that with any brick, not just cubes.

With the way I have my server set up cubes are not useful in the hands of non admins to begin with and I prefer they didn't have access to them.

Will probably make for you today. How do you want to disable them? A list of ui names in a text file? A server command? I could probably do a server command that opens the brick selector and then you can select a brick to enable/restrict.

Will probably make for you today. How do you want to disable them? A list of ui names in a text file? A server command? I could probably do a server command that opens the brick selector and then you can select a brick to enable/restrict.

Probably like a brick selector.

Why stop at cubes, you could probably make it so you could disable any brick.

http://www.mediafire.com/download/xw6133wkbf61458/Script_RestrictBricks.zip

/restrictBricks to toggle restrict bricks mode.
/unrestrictBricks to toggle unrestrict bricks mode.
/restrictedBricks for a list of bricks that are restricted in the server.

When in one of the modes either right click a brick in the brick selector or add the desired bricks to your cart and all bricks in your cart(when you close the selector) will become restricted.

Not sure if it will act any differently if you have TMBI.


What is TMBI?
Too Many Bricks Inventory. Almost everyone has it.

You might want to download the mod again. I just updated it to account for if someone is an admin in one of the modes and then gets demoted. I also added /unrestrictAllBricks(super admin only).

Almost everyone has it.

Actually, only few people have it. If you ask random people on a server they'll have no idea what it is.

Actually, only few people have it. If you ask random people on a server they'll have no idea what it is.
this. but those who use it can't imagine life without

this. but those who use it can't imagine life without
Can second this.

My server cannot run now. Constant C++ runtime errors.
« Last Edit: February 04, 2016, 04:10:07 AM by Lord Tony® »

I can't play blockland anymore. Instant error every time now.



I had to delete the mod and remove the prefs.
« Last Edit: February 04, 2016, 04:31:38 AM by Lord Tony® »