check

public CheckResult check(JavaPlugin plugin)

Check if there is a new update.

Return

The new version or, if no new version is available, null

Parameters

plugin

The plugin