Toggle Creative to Survival Mode:
"/gamemode 0" without the quotation marks. "/gamemode 1" will bring you back to creative mode. oscRock.setHarvestLevel("shovel", 0); //Wood:0 Stone:1 Iron:2 Diamond: 3 Gold:0