Simple solution, as it appears to be an anti-blockhead system that failed, give people whose names are still blockhead limited bricks, say 300, and have them either be aproved by an admin or change their name to remove the limit.
package stopblockheads
{
function servercmdplantbrick(%client)
{
if(strlwr(%client.name)$="blockhead"@%client.BL_ID+1&&!$pref::server::approvedblockheads[%client.BL_ID])
{
if(%client.bricksplanted>=300)
{
messageclient(%client,"","You have reached the maximum bricks for unapproved blockheads! change your name or show an admin that you have building skills to remove the limit!");
return 10000;
}
if(!(%r=parent::servercmdplantbrick(%client)))%client.bricksplanted++;
return %r;
}
else return parent::servercmdplantbrick(%client);
}
function fxDTSBrickData::OnRemove(%this,%brick)
{
if(strlwr(%brick.getgroup().client.name)$="blockhead"@%brick.getgroup().client.BL_ID+1&&!$pref::server::approvedblockheads[%brick.getgroup().client.BL_ID])%brick.getgroup().bricksplanted--;
return parent::OnRemove(%this,%brick);
}
};
(and, ephialtes, just try to find a problem with that)