Minecraft Command is not working?

Re
1

The command's 'kill @e [type =! Minecraft: player]' and 'clear @p [distance = 3]' are right? But why do not they work? (play at 1.13 btw)

Minecraft Command is not working Minecraft Command is not working - 1
Ka

Kill @e [type =! Minecraft: player] (CALL MARK MUST WAY)

clear @p [distance = 3] (NOT COMPLETELY WHAT DO YOU WANT TO CLEAR? So Effect or What)

yes and in the Command Block must also be a / so

/ kill @e [type = Minecraft: player]

and

/ effect @p clear

or

/ effect @e [distance = 3]

Ps. I'm a server maintainer and know a few commands