CommandComparator (short: CC) is a lightweight Minecraft plugin that allows you to execute different commands depending on whether the player is using Java Edition or Bedrock Edition. Ideal for cross-play servers using Geyser or Floodgate.
Example usage:
/cc say Hello Java || tellraw @a {"text":"Hello Bedrock"}
- Java players will execute:
say Hello Java - Bedrock players will execute:
tellraw @a {"text":"Hello Bedrock"}
- Download the latest plugin JAR from the Modrinth tab (or build it yourself).
- Place
CommandComparator.jarin your server'splugins/directory. - Restart your server.
- Done! The plugin will auto-detect Geyser or Floodgate.