requireRestartForUpdates

public static void requireRestartForUpdates(JavaPlugin plugin, String reason)

Keeps this plugin's updates waiting for a restart, for example because part of it runs outside Bukkit and cannot reload. Call before update checks start. The plugin still reloads with its current jar when a plugin it depends on is swapped.