With the raw materials that Minehut gives you, no, there is no way to make your server only for Bedrock users, Minehut uses Geyser which is built in and can't really be modified. So basically, no. You can use things like the code above which will just ban the players who aren't using a Bedrock account which idk seems kinda brute but whatever works. Also be careful cause player's display name will be the nickname so if they are using a nick that starts with * they will get banned, you should just use player's name to avoid that. EDIT: I'm just gonna say if you want a bedrock only server just use the Microsoft friend thing like just make a world, and invite your friends to play using the already included with Bedrock network connections. Just makes it a little simpler and would make it easier for you and your friends to play.