Compatibility
Minecraft: Java Edition
1.21.10
Platforms
Supported environments
Creators
Details
Licensed LGPL-3.0-only
Published 2 months ago
Updated 2 months ago
A server-side mod for the Fabric mod loader that detects whether people are on Bedrock or not by using the Floodgate API. Based on their platform, the mod will attribute command tags to the player and execute custom commands as a player.
Configuration
After having installed the mod, launch the server and a config in the config folder by the name of bedrockdetector.json should appear.
Here's an example of the config file:
{
"java": {
"tags": [
"java"
],
"commands": [
"combatedit profile set combatedit:vanilla"
]
},
"bedrock": {
"tags": [
"bedrock"
],
"commands": [
"combatedit profile set combatedit:1_8_combat"
]
}
}
Note: this was used in conjuction with the CombatEdit mod as an example to show off how you can change the combat method by swapping editions of the game.



