diff --git a/src/main/java/io/graversen/rust/rcon/event/oxide/OxidePluginEventParser.java b/src/main/java/io/graversen/rust/rcon/event/oxide/OxidePluginEventParser.java index 7e80c8e..23afc5a 100644 --- a/src/main/java/io/graversen/rust/rcon/event/oxide/OxidePluginEventParser.java +++ b/src/main/java/io/graversen/rust/rcon/event/oxide/OxidePluginEventParser.java @@ -13,6 +13,9 @@ public class OxidePluginEventParser extends BaseRustEventParser> eventParser() { @@ -38,6 +41,10 @@ public boolean supports(@NonNull RustRconResponse payload) { return false; } + if (message.endsWith(GENERIC_SUFFIX) || message.endsWith(DESTROYING_SUFFIX) || message.endsWith(NETWORK_GROUP_NULL_SUFFIX)) { + return false; + } + if (message.matches(EVENT_PATTERN)) { final var prefix = message.substring(message.indexOf('['), message.indexOf(']') + 1); return !prefix.equals(NATIVE_EVENT_PREFIX)