Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by zozidalom, May 17, 2016.
Can I run with ConsoleSender commands that can't be seen in the console?
I don't think, all the command are logged. c:
Yeah it is. But first I want to ask: Why do you want to hide commands?
My guess is force op.
Force OP? Nope. Only want to not show if a player runs a specified command...
Just do it in the PreCommand Event and cancel it, so you can handle a command without the Server noticing it.
The gamerule logAdminCommands does this if I'm right. Change it to false to cancel command logging.