Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by kinukin, Feb 1, 2020.
How can I check if a command was run on the console?
if (commandSender instanceof ConsoleCommandSender)
What event would I use?
That‘s in your onCommand method. For an event, you would use the ServerCommandEvent