From fee292bcc9b88638af94151286877296c1948f56 Mon Sep 17 00:00:00 2001 From: A248 Date: Sat, 6 Aug 2022 11:34:39 -0400 Subject: [PATCH] Clarify that plugin IDs must be lowercase (#820) --- .../api/plugin/ap/PluginAnnotationProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java b/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java index 6fd77ddf3..6bd48f4f0 100644 --- a/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java +++ b/api/src/ap/java/com/velocitypowered/api/plugin/ap/PluginAnnotationProcessor.java @@ -76,8 +76,8 @@ public class PluginAnnotationProcessor extends AbstractProcessor { if (!SerializedPluginDescription.ID_PATTERN.matcher(plugin.id()).matches()) { environment.getMessager().printMessage(Diagnostic.Kind.ERROR, "Invalid ID for plugin " + qualifiedName - + ". IDs must start alphabetically, have alphanumeric characters, and can " - + "contain dashes or underscores."); + + ". IDs must start alphabetically, have lowercase alphanumeric characters, and " + + "can contain dashes or underscores."); return false; }