He is ordered not to drink, not to have any contact with his girlfriend and not to possess dangerous weapons — including swords