Validate API input, addresses BUKKIT-3687.

CraftServer methods that implement the Server interface will throw an
IllegalArgumentException if a method cannot operate on a null input.