This will allow you to automatically upgrade building blocks upon placement. Allowing players to upgrade their building blocks with ease, preventing the needed use of the Hammer later on.
Usage:
/bgrade - Auto update building blocks when placed
/bgrade 0 -- Disable BGrade
/bgrade 1 -- Enable automatic Wood upgrades
/bgrade 2 -- Enable automatic Stone upgrades
/bgrade 3 -- Enable automatic Metal upgrades
/bgrade 4 -- Enable automatic Armoured upgrades