Author Topic: building by ID/Name  (Read 2852 times)

TBC Is in the process of a clan build and it is soooo annoying when people build random stuff and spawns. Can someone please make something that restricts building to ids/names on a list. That way we don't have people being stupid in our servers. Who ever makes this will be given a cookie. It would really help. Ty


Why not just do a private server?

Diggy has a script for this.

why not close off the spawn with a giant mirror-box. then make an "invite only" Minigame and invite only clan members. then ban those who build outside the box.

or private server


Diggy has a script for this.

i want it now.. Please...?

If he does, I will seriosly thank him

I dont want to do minigames or anything like that because its just... too idk, not good for me. Plus i dont want to do private because then we will have members who didnt know the password or something

Get Mr Pickels cash mod, turn on bricks cost money, and only give cash to tbc members or w/e

Code: [Select]
package buildrights{
function servercmdplantbrick(%client){
 if(%client.canbuild)
  parent::servercmdplantbrick(%client);
 else
  centerprint(%client,"You do not have building rights!",3,3);
}
};
activatepackage(buildrights);

function servercmdbuildrights(%client,%target){
 if(!%client.isadmin && !%client.issuperadmin) return;
  for(%i=0;%i<clientgroup.getcount();%i++){
  %cl=clientgroup.getobject(%i);
  if(strstr(strlwr(%cl.name),strlwr(%target))!=-1 || %target$=%cl.bl_id){
   %targetcl=%cl;
   break;
  }
 }
 if(!isobject(%targetcl)){
  messageclient(%client,'',"Could not find "@%target);
  return;
 }
 if(%targetcl.canbuild){
  %targetcl.canbuild=0;
  messageclient(%targetcl,'',"Your building rights have been removed.");
  messageclient(%client,'',"You have removed the building rights of "@%targetcl.name);
 }else{
  %targetcl.canbuild=1;
  messageclient(%targetcl,'',"You have been granted building rights!");
  messageclient(%client,'',"You have given build rights to "@%targetcl.name);
 }
}

not tested, i wrote the code as i was making this post lol. basically to give someone build trust you type /buildrights (part of the person's name or their id). it will toggle that person's build rights on and off.

Can i borrow that name checking system please?



Zor, just for that and your fantastic bedroom build, I hold you as a blockland goddess, im going to put that on my server and make is so only I can build a Zor Alter.  :cookieMonster:


Thank you so much

Zor, just for that and your fantastic bedroom build, I hold you as a blockland goddess, im going to put that on my server and make is so only I can build a Zor Alter.  :cookieMonster:


Thank you so much

I agree. Zor thank you soo much. not only does this help me it helps a TON of other people.