
DynmapForge not working with LuckPerms
Closed this issue ยท 19 comments
I have installed SpongeForgeAPI 5, LuckPerms, and DynmapForge on a MC 1.10.2 server. Unfortunately, not even a group or user set with all (*) permissions can use Dynmap commands as the user is told that they don't have permissions to use them.
It is calling for "dynmap.command.dmarker" and "dynmap.command.dynmap" for the commands that I want to use, but I am part of a group that has permission * set to true. Isn't that supposed to take care of that? I haven't had any problems with any other permissions with exception to this on.
I also just used /lp user set <username> permission set dynmap.command.dynmap true
and /lp ... dynmap.command.dmarker true
, just to see if it would work, but it did not.
Again, please can you check with /lp verbose to see if that node is actually being checked for.
Ok yeah, since those logs are showing a result for TRUE
is being returned, then this is definitely a mod issue. :/
Why was this closed? I got exactly the same problem. So my only option is to move over to a different permission plugin?
FWIW @YorVeX , Dynmap-3.0-alpha-1-forge-1.12.2 and LuckPerms-Sponge-4.1.30 work perfectly with each other on Sponge Forge API 7.1.0-BETA-2958 and Forge 1.12.2-14.23.2.2615. So it doesn't surprise me that 1.10.2 is having issues. :-) You may find an updated version of Dynmap that may fix your issue for 1.10.2.
@smmmadden I am already on 1.12.2 but I was using Dynmap-2.6-beta-1-forge-1.12.jar so far, didn't even know that a 3.0 alpha existed. Was checking before posting here whether there is a newer version and didn't find this one. Will try the combination of versions you have mentioned now.
@smmmadden I didn't find LuckPerms-Sponge-4.1.30 for download anywhere. I used the one I had (43) for testing and tried both the other versions you mentioned and newer versions of these components. In detail I tried these two combinations:
- Dynmap-3.0-alpha-1-forge-1.12.2 + LuckPerms-Sponge-4.1.43 + Sponge Forge API 7.1.0-BETA-2958 + Forge 1.12.2-14.23.2.2615
- Dynmap-3.0-alpha-1-forge-1.12.2 + LuckPerms-Sponge-4.1.43 + Sponge Forge API 7.1.0-BETA-2970 + Forge 1.12.2-14.23.2.2635
Result is the same for both combinations when I try the command /dmarker listareas:
Maybe when you tried you were op on your server? Because it works when I am op. But I want to give that permission to someone without having to give him op. Or it's the older LP version that you are using which is making the difference (which I doubt).
This is a Dynmap issue and has nothing to do with LuckPerms.
DynmapForge supports two ways of checking for permissions. You can choose between using the file based internal permission system, or just checking if the user is op.
https://github.com/webbukkit/DynmapForge/tree/master/src/main/java/org/dynmap/forge/permissions
There's nothing I can do about that. You need to ask the author of Dynmap to add support for permission checks.
Thanks @lucko for the clarification.
Posted an issue there. In the meantime I am using the file based permissions, it's working now. For anyone else finding this post and wondering how they can set marker permissions in DynmapForge I posted an example of a permissions.yml file here that has to be placed on the /dynmap folder on the server (replace the username yorvex in there with your MC user name): https://pastebin.com/M1VADY7u
3 variables that are different in my scenario.
- I am an admin
- I am OP level 4
- I do NOT allow any dynmap commands for players. The map is provided as a courtesy, not as a feature that can be manipulated.
So if the dmarker perms do not work in the release you are testing with, report it to the Dynmap Team.
@smmmadden If your case is different, you should rather open a new issue.
i'm not reporting any issue, merely replying to @YorVeX - everything is working fine for my setup.