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 Releases tab (or build it yourself).
- Place
CommandComparator.jar
in your server'splugins/
directory. - Restart your server.
- Done! The plugin will auto-detect Geyser or Floodgate.