I tried / kick @p, but it says that no player was found, which means you can't use @a, @p, @s, @r or @e on / kick. How can you still kick the closest player? If commands don't work, then Pluigins.
According to the wiki, this has only been possible since 1.13, previously you could only use names
https://minecraft-de.gamepedia.com/...Geschichte
Maybe this plugin will help you
Most plugins do not support "@p" or the like. You can work around this by / minecraft: kick "@p"
My question is that / kick @p doesn't work.
That's why you also use the minecraft in front of it
I don't have kick plugins installed, so I don't have to write minecraft: on my server
No other plugins do not support @p for commands