/** * Warn a player. You must handle the notification to the warned player yourself. * * @param name - Name of player to warn * @param bannedBy - Who the warning is by, can be anything * @param reason - Why they are warned */ public static void warn(String name, String warnedBy, String reason) { plugin.addPlayerWarning(name, warnedBy, reason); }