Bedrock Detector
作者:rebot | 分类:模组
Minecraft 版本: 1.21.10
平台: fabric
标签: technology utility
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.
请登录后举报
暂无评论,抢个沙发吧~