FTB Utilities and luckperms

hy i need some help with FTB Utilities and luckperms i want to change the chunks, i have tried a few things.

I have already tried a few things
e.g.
/lp user meta set ftbutilities.chunkloader.max.chunks 150

but i can’t get it to work any ideas thanks

As in your getting permissions issues? What mc is this?

Minecraft Forge 1.12.2-2860

Tested under:
SpongeForge1.12.2-2838-7.4.8-RC4142
and various hybrid servers.

But I have the problem everywhere that it just won’t work with luckperms
if I set it on a pure forge server under the ranks file it work.

I have already asked the luckperms discord but have not received an answer.

Permissions issues I don’t get any all other things like teams and spawn work normally after setting the permissions for the group under luckperms but I want to change the chunkloader count and since ranks is disabled when I use spongeforge I try to realize it via luckperms but it just won’t work

Try the command lp verbose on the server console. That will then tell you what permission is being used at any given time. So once its enabled, try running the command and it should give you the permission its looking for.

Do note that if its 1.16.5, there is a issue in forge itself with permissions so luckperms cant connect to forge permissions

I have tested it but get nothing out of it.

command:
ranks set_permission player ftbutilities.chunkloader.max_chunks 168

output:
This feature is disabled on server!

lp verbose output:
ftbutilities.command.ranks

problem is probably rather that it is not a command but a variable attached to a permissin

without spongeforge it works but i need spongeforge for plugins e.g luckperms and to use a proxy server e.g. Velocity

To get that error message, ranks needs to be disabled

Looking at how it checks if ranks is enabled or not. Its likely that sponge and/or luckperms changes the permission handler to disable it (it wants its own - something not fault of sponge or luckperms).

So what can you do?

Create a issue on ftb utilities github and hope that they comeback after 2 years of no updates to fix your issue

Or

As the dev for permission to modify code in a fork (while they share the code, no license is stated therefore you need to assume all rights reserved which doesnt let you modify code) and then either yourself or hire someone to make the changes

Or

Use a alternative, such as luckperms groups

1 Like

I am really very grateful that someone cares so much about the problem.

I want to explain why ftb utilities is important for my project.

I just don’t know any other solution how a user can implement teams chunk claiming and chunkloding so easily without having to deal with commands.

It works so far. even with luckyperms.

The only problem is that you cannot adjust the maximum number of chunks without the rank config.

I took some time yesterday and looked at the source code on github.

I also looked at the config of ftb utilities.

Found something insteresanntes there.

ranks {
B:crash_client_side_permissions=false

# Enables ranks and adds command.x permissions and allows ranks to control them.
B:enabled=true
B:load_from_config_folder=false

# Adds chat colors/rank-specific syntax.
B:override_chat=true

# Allow to configure commands with ranks. Disable this if you want to use other permission mod for that.
B:override_commands=true
B:print_command_errors=true

}

You can deactivate ranks and apparently use other permissions mods according to the config.

I then checked the ftb discord to see if there are any known solutions but got no answer.

I then checked the activated permissions on the server with the aurora mod:
https://www.curseforge.com/minecraft/mc-mods/aurora

The required permmisions are also available.
ftbutilities.claims.max_chunks 100
ftbutilities.chunkloader.max_chunks 50

So I just have to find a way to overwrite these permissions.

If I deactivate ranks in the config and add the permissions in luckperms, this also works with all ftbutlilitis permissions that have a true or false value.

But since the permission ftbutilities.claims.max_chunks 100 has a numeric value, I cannot find a solution to overwrite it with luckperms.

Personally i have never used FTBUtilities (im a sponge vanilla guy) so my knowledge of the mod is limited but i was looking at the code for where the permissions you mentioned are defined and how it uses it.

From what i read it just grabs the value from the config and doesnt check the permission structure for it so even if luckperms supported permissions activation with numbers, i dont think it could use that “permission”

In terms of solutions, it opens another solution i didnt mention before. To hire someone to create a simple hook into the mod to allow for permissions like ftbutilities.claims.max_claims.100 so luckperms can hook into it

I cant think of another solution

I looked through the repo yesterday and found a fork where all the dependencies are fixed because the old domin is offline I will now ask the maker for permission to adjust the code and then let’s see.

I also found a way to bypass the claim limit without chunkloading:

ftbutilities.claims.bypass_limits works with luckyperms.

If I find a reasonable solution I will share it here.

Thanks for the help. :wink:

1 Like