Recent Discussions
Java Server - set perms for mobile(bedrock?) users to adjust server props(difficulty, game type,etc)
Open in DiscordUnanswered
Temminck's Stint posted this in #questions
69 messages
0 views
Temminck's StintOP
I'm really new to minecraft and am hoping someone might be able to help or point me in the right direction. I'm trying to run a server for my kids and I can't seem to get the perms set correctly that would allow them to adjust the game mode and difficulty during game play.
I'm hosting a java server(1.24.1 w/ jdk 23.0.2+7), paper(1.21.4-224-main@0cf7315) and the following plugins.
BlueMap (5.7), Essentials (2.21.0), EssentialsChat (2.21.0), EssentialsSpawn (2.21.0), Geyser-Spigot (2.7.0-SNAPSHOT), LuckPerms (5.4.158), Multiverse-Core (4.3.16), Multiverse-Inventories (4.2.6), Multiverse-NetherPortals (4.2.3), Multiverse-Portals (4.2.3), ViaVersion (5.3.1), floodgate (2.2.4-SNAPSHOT (b116-0e3163c))
My kids are pretty much only going to use mobile devices, but I really want to run the java version for all the extra features. That said, I'm really not sure if this would work out the gate with a bedrock version.
Could anyone point me in the direction of what I should be setting to allow users to modify those properties in game? When joining my server all the server settings are grayed out.
Or maybe I'm just fundamentally misunderstanding some things. Shouldn't users be able to change the difficulty and game type during game play?
Logs: https://mclo.gs/Xc8M1m9
I'm hosting a java server(1.24.1 w/ jdk 23.0.2+7), paper(1.21.4-224-main@0cf7315) and the following plugins.
BlueMap (5.7), Essentials (2.21.0), EssentialsChat (2.21.0), EssentialsSpawn (2.21.0), Geyser-Spigot (2.7.0-SNAPSHOT), LuckPerms (5.4.158), Multiverse-Core (4.3.16), Multiverse-Inventories (4.2.6), Multiverse-NetherPortals (4.2.3), Multiverse-Portals (4.2.3), ViaVersion (5.3.1), floodgate (2.2.4-SNAPSHOT (b116-0e3163c))
My kids are pretty much only going to use mobile devices, but I really want to run the java version for all the extra features. That said, I'm really not sure if this would work out the gate with a bedrock version.
Could anyone point me in the direction of what I should be setting to allow users to modify those properties in game? When joining my server all the server settings are grayed out.
Or maybe I'm just fundamentally misunderstanding some things. Shouldn't users be able to change the difficulty and game type during game play?
Logs: https://mclo.gs/Xc8M1m9
EC74F1EC-908A-47B7-8082-9998E32DB094_1_201_a.jpeg
Temminck's StintOP
Here are my Logs https://mclo.gs/Xc8M1m9
Common Murre
Hi, so the permissions with geyser are not directly linked to the permissions with bedrock because they are acting as java perms. This means you would have to treat them as Java Players and set your kids up with a group in luck perms that contains minecraft.command.difficulty set to true. This shoulf allow them to edit there dificulity make sure they are in the sam group.
North Pacific hake
I believe your kids would have to run the commands to change their gamemode as opposed to the in game menu
The commands they would run for gamemode would depend on if you assigned them the permission to modify their gamemode through essentialsx or the vanilla permission
Also be careful, on paper the difficulty is set PER-WORLD
So if your kid set the difficulty to peaceful while in the overworld, there may still be hostile mobs in other dimensions
Temminck's StintOP
Thank you both so much. That's exactly what I needed to get over the LuckPerms hump.
I haven't gotten deep into the multi-world, or multi-server thing yet, so that's a battle for another day.
Temminck's StintOP
Quick update, I haven’t sorted out the exact perms yet to give access to that menu on a mobile device.
I started by adding the geyser server and gamerules perms(https://geysermc.org/wiki/geyser/commands) to the default group and then adding my user to that group. Still couldn’t change those.
Then tried creating an admin group with * perms, put my user into that group and nothing changed.
My last attempt was to simply add my account to the ops.json file and that allowed me to modify everything but the “default gameplay” option; which is something I can already set in the server properties.
I started by adding the geyser server and gamerules perms(https://geysermc.org/wiki/geyser/commands) to the default group and then adding my user to that group. Still couldn’t change those.
Then tried creating an admin group with * perms, put my user into that group and nothing changed.
My last attempt was to simply add my account to the ops.json file and that allowed me to modify everything but the “default gameplay” option; which is something I can already set in the server properties.
I’m going to keep poking around and I’ll post an update if I can get the lucky perms configured correctly.
Asian black bear
Sorry, I'm a little late to the thread. What were you trying to give access to? /difficulty and /gamemode commands?
@Temminck's Stint I’m going to keep poking around and I’ll post an update if I can get the lucky perms configured correctly.
North Pacific hake
I don't think its possible without op
since it depends on op on the bedrock edition client side
the limitation of requiring op is imposed by the bedrock edition client not the server
If you don't want to give your children op, you will have to just have them run commands
@North Pacific hake the limitation of requiring op is imposed by the bedrock edition client not the server
Temminck's StintOP
That’s good to know and seems to match up with what I tried. Thanks for confirming.
@Temminck's Stint That’s good to know and seems to match up with what I tried. Thanks for confirming.
Common Murre
If its just with bedrock you might be better of using something like pocketmine
Connecticut Warbler
Private server with pocketmine is basically the worst of both worlds
Pocketmine etc is so gameplay outdated its insane
@North Pacific hake I don't think its possible without op
I wonder if that could be spoofed?
@Cubicake (Reply ping on) I wonder if that could be spoofed?
Asian black bear
My thoughts too, like if you opped anyone who needed, but used LuckPerms to essentially disable ops and explicitly define permissions (but the Bedrock client would still know you’re an op I hope?)
Well that sounds like a path to exploits, I was thinking of something which just sent whatever packet tells the client it is op
and then you could use that as a config menu, especially if you could rename options with a resource pack
@Kromfohrländer you know a little more about bedrock than most people here, thoughts?
Kromfohrländer
Whats up
Loading...
Loading...