In my CRP mod I have this problem. Whenever a player places a brick in the air or on somebody else's brick that they don't have trust with, it still charges them for the brick making their funds decrease but the brick does not place. I have the code check if the brick is planted but %brick.isPlanted isn't enough. How would I check the ghost brick if it was floating or if the ghost brick is on somebody's brick you don't trust?
Also, on a second note: $Server::PlayerCount doesn't update when a player disconnects.