spigot execute command as player code example Example: spigot execute command as player player.performCommand("your command");