#support-1

1 messages ยท Page 314 of 1

rare arrow
#

but, with builder as primary

lapis ibex
#

Ah

#

Read the solution I gave mistakenCynic right above

rare arrow
#

Ok let me check please

#

The trick is about setting weights?

#

ahh I see

#

default would have 10 of weight and builder 20, then I change the config and then my user will have the builder group as primary?

#

Will red the wiki to learn more about it, thanks

lapis ibex
#

That's exactly what will happen

rare arrow
#

How do you reload the LP config?

lapis ibex
#

/lp reload. Though I'd recommend a restart

rare arrow
#

Just noticed about that command

#

./lp reloadconfig

lapis ibex
#

Right. It's that one

fading bison
#

Hey, just wondering if anyone knows if there's a permission node for creating nether portals? (And what it'd be lol)

fiery moth
fading bison
#

what're you making that in? doesn't look like java to me.... is that a build.gradle ?

fiery moth
#

scala, a language which runs on the jvm and can access 100% of java libraries etc pretty much

fading bison
#

oh, huh. interesting

#

have you done it with other sponge plugins?

#

(or bukkit plugins)

fiery moth
#

yes, but those are through the bukkit plugin manager, doing Bukkit.getPluginManager.getPlugin("PluginName").asInstanceOf[PluginMain] . I have tried luckPermsApi = Bukkit.getPluginManager.getPlugin("LuckPerms").asInstanceOf[LPBukkitPlugin].getApiProvider but that is null also

fading bison
#

sadly i dunno, never used scala before ยฏ_(ใƒ„)_/ยฏ

fiery moth
#

its using exactly the same bukkit libs, so the java would be LuckPermsAPI = ((LPBukkitPlugin) Bukkit.getPluginManager.getPlugin("LuckPerms")).getAPIProvider ..

fading bison
#

yeah, i don't use Bukkit myself (Forge and Sponge) so i couldn't help ya, personally all i know is that usually i load API's using Gradle

lapis ibex
#

Strange. Should work

fiery moth
#

is it possibel to maybe look at a plugin example to see if im doing anything wrong or is it just the docs example?

lapis ibex
#

Now xD @fiery moth

fiery moth
#

thanks

lapis ibex
#

It's in the package hooks

fiery moth
#

cheers

tough pier
#

How can i assign one user at one group in only one server?

#

And not in all server

lapis ibex
#

/lp user <user> parent add <group> server=<server>

dry sable
#

@lapis ibex

lapis ibex
#

Try debugging it with verbose

#

(See the wiki for details)

gusty birch
#

is there a way to parent a group to another group for easier permissions setup, so what i mean is we have 2 groups default and a group named trainer is there anyway to give the permissions from default to trainer by 1 node?

I mean i just need the node for example group.pokemontrainer

lapis ibex
#

That exactly how it works @gusty birch

gusty birch
#

so i have to do /lp group name permission set group.groupname?

misty sage
#

without being able to verify syntax atm it should be /lp group name parent add othergroupname

#

or also parent set instead of parent add

gusty birch
#

ok so in my case /lp group default parent add pokemontrainer?

#

but isn't the group you mention first the one that should receive a parent?

misty sage
#

so if you want the group trainer to inherit default

#

/lp group trainer parent set default

gusty birch
#

oh lel ok :p

foggy quartz
#

Anyone know how to add a suffix?

#

I did this /lp group default meta addsuffix 1 &6[Starter]

#

and it doesn't work..

storm geyser
#

What chat plugin, and have you installed vault?

lapis ibex
#

@foggy quartz ^

foggy quartz
#

Let me instasll vault, I think I have.

fiery granite
#

I just updated to the latest version of Luckperms! and I have a quick question about the arguemnt based command permissions

#

I want to be able to allow my amdins to add a player to the helper group, and also be allowed to remove them from the helper group

#

but I dont want them to be able to do anything else to them, or move them to any other group

#

they would use
lp user {username} parent add helper
lp user {username} parent remove helper

#

what permissions do I need to give my admins to do this and limit it?

lapis ibex
#

Turn on verbose, run the commands yourself and see what permissions got checked

fiery granite
#

can do that while the plugins running live?

#

update config, reload etc

#

then do it?

lapis ibex
#

No it's a command

#

Check the wiki

#

There's a section on it

fiery granite
#

im on the wiki atm

#

./lp verbose on

#

holy jesus that spam from all players ha

#

my god

#

maybe lets use the paste option ha

foggy quartz
#

My Luckperms is still not working

#

I can't create prefix/suffix..

#

I can, it won't show up in chat

lapis ibex
#

@GodsDead#4614 you can enable a filter

storm geyser
#

what chat plugin?

foggy quartz
#

chat plugin?

#

Regular minecraft chat..

storm geyser
#

You need a chat plugin such as essentialsXchat, bungeechat, herchat, uchat etc

foggy quartz
#

Just not working..

#

What...

storm geyser
#

luckperms doesn't modify chat itself

foggy quartz
#

EssentialsXChat?

#

Which do you recommend?

storm geyser
#

depends what functions you need. EssentialsXchat is the most simple

foggy quartz
#

Bukkit or spigot

storm geyser
#

Doesn't matter. They're practically the same

#

But it must be EssentialsXChat, and not EssentialsChat

#

you will need EssentialsX on the server as well however.

fiery granite
#

@lapis ibex I did what you told me to and i found the permissions to be luckperms.user.parent.add
luckperms.user.parent.remove

#

But that would enable full access to moving to any group

lapis ibex
#

You need to enable taht feature in the config

fiery granite
#

is there a copy of the config on the git? so I know where its got to go

#

it wasnt populated in my congig

#

config

#

in the update

lapis ibex
#

Should be

#

Also a default config should be inn the jar

storm geyser
#

check whether luckperms.user.parent.add.helper and luckperms.user.parent.remove.helper work. I haven't used it myself just yet, so I'm interested to see how it works.

fiery granite
#

ha thats the page I had open but I just didnt get it

#

thanks merjilin

#

ill give that a try

#

i al;so was able to extract the config from the jar

#

good idea

#

I do hope it is that simple ๐Ÿ˜ƒ

#

ill give it a try!

#

Going ot update my config first!

storm geyser
#

From what I can tell, they will also need the other permissions, but those two permissions will restrict what they can change. The series at which they're checked indicates that to me at least

foggy quartz
#

Still not fucking work.

lapis ibex
#

Have you restarted the server after installing the plugin?

foggy quartz
#

yes

lapis ibex
#

Also i think you need essentialsX too for essentialsXChat to work

foggy quartz
#

I have essentialsX

lapis ibex
#

Mind to show us your plugin list?

foggy quartz
#

Sure

#

lemme restart 1 more second though

lapis ibex
#

Ok

storm geyser
#

oh jeysus

lapis ibex
#

Ok. Was just checking to see if there was another perms plugin

foggy quartz
#

any ideas..

lapis ibex
#

Try a different chat plugin

#

Any recommendations merjilin?

storm geyser
#

Remove anything with the word chat in it, and reinstall EssentialsXChat

#

Time for some debugging

fiery granite
#

Nope no permission:

  • luckperms.user.parent.add:
    value: true
  • luckperms.user.parent.remove:
    value: true
  • luckperms.user.parent.add.helper:
    value: true
  • luckperms.user.parent.remove.helper:
    value: true
storm geyser
#

what does verbose say?

lapis ibex
#

See what other permissions get checked

#

With verbose

fiery granite
#

oh ill need to redo it now thats toggled wont I

#

sigh

storm geyser
#

no? Just go ingame, use /lp verbose record luckperms, do the command you want, then do lp verbose paste. Give us the link as well

fiery granite
#

Aha amybe its luckperms.user.parent.add.modify.others

#

Derp!

#

it also popped up with luckperms.user.parent.add.usecontext.global

#

I dont understand what that usecontext.glboal is doing

storm geyser
#

I'm not sure if you have to do that. But like I said, I haven't tested the argument based permissions before

fiery granite
#

Ill try without

#

it also calls luckperms.user.parent.remove.modify.others twice

#

maybe thats a bug

#

shouldnt do it twice

#

oh actualyl a ton of perms are called a ton of times

lapis ibex
#

That shouldn't matter

fiery granite
#

I assume thats inheritace of opther groups

lapis ibex
#

Maybe

#

The LP internals are very generic

fiery granite
#

Nope, still you do not have permission

lapis ibex
#

So multiple checks can happen

#

At two different locations

fiery granite
#

maybe they also need luckperms.modify.user.others

lapis ibex
#

Maybe

#

All checked perms should be listed

#

And their result

#

UNDEFINED usually means false

fiery granite
#

thats not posted in verbose

#

but it could be because im OP

#

luckperms.user.parent.add.usecontext.global

lapis ibex
#

Maybe

fiery granite
#

what the hell is that usecontext

#

and global

lapis ibex
#

It's the context applied at the end

#

Now it makes sense

#

So they'll need that perm too

fiery granite
#

ok so my rank isnt called helper, I named it that in here so it made more sence to people in here

#

GodsDead luckperms.user.parent.remove true
GodsDead luckperms.user.parent.remove.modify.others undefined
GodsDead luckperms.user.parent.remove.modify.others undefined
GodsDead luckperms.user.parent.remove.usecontext.global undefined
GodsDead luckperms.user.parent.remove.usecontext.global undefined
GodsDead luckperms.user.parent.remove.craftsman true

#

its craftsman

#

I guess Ill try adding luckperms.user.parent.remove.usecontext.global aswell..

lapis ibex
#

The undefined should be true too I guess

south snow
#

I am a bit confused on how to use LuckPerms on BungeeCord
Do I have to put the Bungeecord build in the plugins folder of the bungeecord server and the bukkit build in every spigot server I am running?

fiery granite
#

I think that did it, Im now able to set that specific group

#

but that usercontext.glboal makes no sence being there

lapis ibex
#

@south snow exactly

#

It does @GodsDead#4614 you can add a context after most commands. And none means global

south snow
#

Ok thanks now I know what I did wrong

lapis ibex
#

It refers to that

#

You should also use the same databse for all servers

#

@south snow

south snow
#

Ok I have the database setup just used the wrong jars on the spigot servers thank you

lapis ibex
#

Alright

#

Keep in mind that for almost all intentions and purposes Spigot = Bukkit

#

Anything compatible with bukkit is compatible with spigot. But not the other way round xD

fiery granite
#

What does the context mean?

#

And if it's set to global does that open them up to do more things

#

The permission was required for the command to actually work

#

But isn't listed in the docs

lapis ibex
#

Global is the default

#

That is ok

#

And probably what you want

#

As you probably want the rank to apply everywhere

static agate
#

hello =)

I have a question in bungeecord's luckperm's can we put prefix like "see the prefix of the server"

I use luckperms on every server

my chat plugin take the bungeecord prefix but I want server's prefix

thanks ๐Ÿ˜ƒ

lapis ibex
#

Unless the plugin specifically supports this, no

#

But you can also install LP on the bungee @static agate

static agate
#

I have lp everywhere in bungee too

lapis ibex
#

Which chat plugin do you use?

static agate
#

a private

#

but we don't arrive to put prefix server

#

we just put bungee prefix

lapis ibex
#

How do you put server specific prefixes?

#

Because there is an additional step you can do to make that work on the bungee

static agate
#

I am not the developer of the plugin i don't know how he do that

lapis ibex
#

Well he probably ran a command like /lp ... server=<server>

#

If that's the case he also needs to run /lp ... server=bungee world=<server>

#

You can tell him this

static agate
#

ok ๐Ÿ˜ƒ thanks

north coral
#

Eid Mubarak

radiant geyser
#

Hey I have a question. How can I give Moderators access to add the group "Member" to players who are in the default group? I only want them to be able to add Member. Not any other groups.

#

luckperms.user.parent.add.member ?

real forge
#

so yes

subtle stone
#

How do I merge 3 LP databases into one?

foggy quartz
#

@subtle stone why?

#

user data?

#

I mean

#

I'll tell u how

#

but gotta know what ur backends are rn

#

mysql, yaml, json

subtle stone
#

I think yaml database

elfin egret
#

./lp import and /lp export

foggy quartz
#

@subtle stone do /lp export on all of your servers

#
COMPLETELY stop all 3 servers
change the backend to your new redis or mysql server
start all 3 servers
do /lp import on all 3 servers```
snow widget
#

weird

#

when I installed LP, my Player#hasPermission(perm) stopped working

#

does anyone know why? before, everything was fine (when OP i had the perm, when not OP i didn't)

subtle stone
#

@foggy quartz My file is called luckperms-h2.mv.db

#

is that still how I would merge all three databases into one?

foggy quartz
#

@subtle stone do the same

subtle stone
#

change the backend to your new redis or mysql server

I don't understand this part?

#

@foggy quartz

foggy quartz
#

@subtle stone To combine the 3 dbs you must use another db in which all 3 can connect to, such as mysql or redis

acoustic cape
#

to nigate a perm would I set it to be false or do -perm.node.whatever true?

misty sage
#

ik false works

acoustic cape
#

alright

#

thx

misty sage
#

idk if negating with - works with this plugin though

#

haven't tried

acoustic cape
#

hm

#

yeah false works perfect

subtle stone
#

@foggy quartz Can I convert all my h2 files into Json files and then merge them and use json as storage?

foggy quartz
#

not how that shit works fam @subtle stone

subtle stone
#

so once I pick h2 storage, I am stuck on h2?

#

there is no way to convert it to yml or json?

foggy quartz
#

no

#

they just won't merge

#

u can convert

subtle stone
#

so if I convert all 3, I can't then put all 3 files into one folder and merge them in?

foggy quartz
#

no

#

what are you even

#

just no

acoustic cape
#

lower weight = more priority?

foggy quartz
#

weight != priority

acoustic cape
#

o.O

#

then how to I fix my prefixes

#

slower prefix weight the first to show sort of thing?

subtle stone
#

I exported all 3 servers files and then put all the "files" onto the one server and imported them all.. but that didn't seem to work despite all the files being properly placed in the yaml folder.

#

Any ideas?

#

but in-game they don't have the perms.

#

@foggy quartz

foggy quartz
#

idk

subtle stone
#

@elfin egret Any idea?

misty sage
#

...

acoustic cape
#

wtf

sly prism
#

I think he might have a minecraft server he wants people to join

#

Not a detective so iuhno

lapis ibex
#

You wanna get banned?

#

Cause that's how you're gonna get banned

#

Lol

spare forum
#

@lapis ibex

#

Brainy

lapis ibex
#

?

spare forum
#

Who's going on the right track to get banned and why?

lapis ibex
#

Some duded spammed messages to join his server

sly prism
#

was a lot of spam too

spare forum
#

I have probably seen worse...

#

I have probably seen worse...

lapis ibex
#

Yup. Didn't want to clean up. So I banned

sly prism
#

Same, I've seen a lot over the years of running servers

spare forum
#

@spare forum

#

Woah

#

I can ping meh self

#

I feel stupid

noble niche
#

For some reason, the prefixes for my groups are all setup, yet they don't appear in chat

#

They were migrated from Pex

spare forum
#

@noble niche

#

Give me your plugin list please...

noble niche
#

~Give me a moment

spare forum
#

Or tell me: do you have vault, A chat plugin, possible confliction

noble niche
#

Vault and essentials

spare forum
#

What's title advanced and coloured tags

#

@noble niche

noble niche
#

Gimme a moment

#

Asking the owner

#

TitleAdvanced is the thing the message that appears on your screen when you join
No idea what ColouredTags is

storm geyser
#

coloured tags adds their name and prefix above their head

#

could you do /vault-info for us?

noble niche
#

One moment

spare forum
#

Chat luckperms...

#

Ohhh

noble niche
#

...

#

Heh

storm geyser
#

so chat is hooking into luckperms. Is your chat plugin EssentialsXChat?

noble niche
#

That derp

spare forum
#

I misread something

storm geyser
#

they do have essentialschat

spare forum
#

Jin, I'm still calling you jin

noble niche
#

EssentialsChat exists

spare forum
#

Who said they didn't?๐Ÿ‘€

noble niche
#

Heh xD

storm geyser
#

yep. But is it EssentialsXChat and not EssentialsChat?

#

The X is very important

spare forum
#

@noble niche could you also do /version

storm geyser
#

in /plugins, essentialsXchat returns as essentialschat, so it doesn't tell us much

spare forum
#

Or was it /ihasbukkit

noble niche
#

Confirming

spare forum
#

Jin, what's my PIC?

#

User pic

noble niche
#

It was not X...

spare forum
#

Wait

#

Scarlet

#

Version of mc?

#

@noble niche

noble niche
#

1.12

#

I think

#

Yea

spare forum
#

Get essentials x

#

1/4 of the price for a new phone saved up.

#

I need 349 -90

storm geyser
#

well really, there is no reason to use Essentials over EssentialsX anyway. So I'd recommend an upgrade on all versions of mc

spare forum
#

Wait

#

Doesn't luckperms not even support the normal essentials?

storm geyser
#

I don't think it does

spare forum
#

I remember luck saying something about it

storm geyser
#

nope ๐Ÿ˜›

spare forum
#

Why...

#

What if I call you Merj?

storm geyser
#

sure

subtle stone
#

I exported all 3 servers files and then put all the "files" onto the one server and imported them all into yaml.. but that didn't seem to work despite all the files being properly placed in the yaml folder.
Any ideas?

but in-game they don't have the perms.

when I look in each file it has their uuid and ranks and perms but under "name" it shows this
"name": "null",

lapis ibex
#

@subtle stone how did you export the permissions?

subtle stone
#

./lp export

lapis ibex
#

And how did you import them?

subtle stone
#

it was previously an h2 db

#

./lp import

lapis ibex
#

So you ran import on all 3 exported files?

#

On the same server

subtle stone
#

yes

#

but all the files show null

lapis ibex
#

Any errors?

subtle stone
#

no

lapis ibex
#

While importing?

#

Well I'll be on my PC in a bit

subtle stone
#

Nope, none

lapis ibex
#

I'll try to help you

subtle stone
#

thanks, I need it xD

lapis ibex
#

I hope you still have the original data

subtle stone
#

Of course

lapis ibex
#

Good

#

If I'm not here in an hour, ping me

subtle stone
#

Okay, cool

subtle stone
#

Hey @lapis ibex

devout swan
#

Is there anyone who could help with the configs with luckperms please?

foggy quartz
#

@lapis ibex he wants to combine all the data but dosent have a redis or mysql db

south tulip
#

im sorry i forgot, when adding a permission that has multiple sub commands in spongeforge, do you do nucleus.tpa.* or nucleus.tpa.

elfin egret
#

the first ๐Ÿ˜ƒ

south tulip
#

thanks!

jade gazelle
#

@lapis ibex Can we speak ?

lapis ibex
#

Um sure

lapis ibex
#

@elfin egret I have a very weird issue with the permissions. If yo have time I'd apprechiate if you could help

#

nvm

jade gazelle
#

i make it wrong ?

#

it is not giving me the aventurier as primarygroup.

lapis ibex
#

One moment

#

change set-primary-group to give

jade gazelle
#

it's working but i don't have the prefix

#

because it's not my primarygroup.

storm geyser
jade gazelle
#

BrainStone already told me to do that :/

#

ho

#

so i need to put higher priority for my group aventurier ?

storm geyser
#

have you set weights using /lp group <group> setweight <weight>

lapis ibex
#

You need to set the weights using /lp group <group> meta setweight <weight>

jade gazelle
#

Ahhh.. Okay !

#

thx !

lapis ibex
#

*/lp group <group> setweight <weight>

jade gazelle
#

Ok !

storm geyser
#

RIP Noob

#

to brain^

lapis ibex
#

;-;

#

xD

storm geyser
#

:3

#

all better

lapis ibex
#

xD

jade gazelle
#

The Weight and the priority it's not the same thing ?

lapis ibex
#

Priority is for the prefix

#

Weight is for the group

jade gazelle
#

Now i know why my work sucks

storm geyser
#

xD

lapis ibex
#

Being an owner is hard work

#

xD

#

Most people don't realize how much work it is!

jade gazelle
#

I already have a server with 80 players at the best of the day

lapis ibex
#

That's good!

jade gazelle
#

but i need LuckPerm for my new server

#

biger, better, so... LuckPerm need to be with me

storm geyser
#

luckperms is the backbone of every server for me

lapis ibex
#

Yup

#

Same here

#

So is BungeeChat :3

jade gazelle
#

In France LuckPerm is not used by a lot.

#

i need to be the first.

storm geyser
#

if you ever feel like making a translation of the wiki, I'm sure luck will add it like he has Chinese ๐Ÿ˜‰

jade gazelle
#

Im not very good at translation, but i have an administrator who is really really god.
He make the translation of all my plugin in french and he sell translation of XenForo in french.

sick horizon
#

Hey im having some problems with permission settings. How do I add a perm to a specific group?

#

I tried /lp group <group> permission set <permission>

storm geyser
#

well that's the command. What is the name of the group?

sick horizon
#

helper

#

Does it matter if it's a bungeecord perm?

storm geyser
#

do you have luckperms installed on bungeecord?

sick horizon
#

yes

finite musk
#

Hello Community,
I have a problem. I have a default rank created, with a prefix created with priority 0, then I have a VIP rank created with a priority 1, and in my buycraft I give the ranges with add so my users have the default range and the VIP rank, I use ChatControl for the chat and in the chat the prefix of the default range appears.
And I wonder, is there any way to deny a prefix to a rank?
Thank you.

storm geyser
#

I'll help you in just a moment, Marc.

#

@sick horizon Are all luckperms instances connected to the same database?

#

so for example, is luckperms on hub and luckperms on bungee connected to the same database?@sick horizon

finite musk
#

@storm geyser Okay, no problem

sick horizon
#

Yes

storm geyser
#

alright, try it using /lpb instead of /lp

sick horizon
#

What does that do?

storm geyser
#

/lpb isolates the server to bungeecord

#

@finite musk Alright, so what you're saying is that when a user is in VIP, the default prefix is shown instead of the VIP prefix?

#

It could actually be a preset prefix by chat control, so can you type in your server chat and send me the output of /lp user <your username> info? With your message in chat on the same picture.

sick horizon
#

Perfect works, thanks @storm geyser

storm geyser
#

np

finite musk
#

@storm geyser Yes

#

Hello?

storm geyser
#

yep. I need you to do the second think I asked you

finite musk
#

Oo okay

storm geyser
#

However, if I were you, I'd grab another chat plugin and disable chat control's formatting, and just use it for moderation.

finite musk
#

Not because the good thing about this one is that it can put more than 1 prefix, and more functions.

storm geyser
#

you can add more than 1 prefix with any chat plugin, but alright ๐Ÿ˜›

finite musk
#

[15:16:25 INFO]: [LP] elitenew's Prefixes
[15:16:25 INFO]: [LP] -> 3 - "ELITE " (inherited from self)
[15:16:25 INFO]: [LP] -> 1 - "" (inherited from default)
[15:16:25 INFO]: [LP] elitenew's Suffixes
[15:16:25 INFO]: [LP] -> 3 - "" (inherited from self)
[15:16:25 INFO]: [LP] -> 1 - "" (inherited from default)
[15:16:25 INFO]: [LP] elitenew has no meta.

#

look

storm geyser
#

can you send me a screenshot of your chat?

finite musk
#

And the normal is

storm geyser
#

alright, can you then screenshot /lp group default meta info

finite musk
#

lp group default meta info
[15:23:22 INFO]: [LP] default's Prefixes
[15:23:22 INFO]: [LP] -> 1 - "" (inherited from self)
[15:23:22 INFO]: [LP] default's Suffixes
[15:23:22 INFO]: [LP] -> 1 - "" (inherited from self)
[15:23:22 INFO]: [LP] default has no meta.

storm geyser
#

so if elitenew is the name of your vip group, and you're in that group, it's working as intended. So what did you want to remove?

finite musk
#

When I am with the "default" with /lp user Minemarc98 set default and elitenew with /lp user Minemarc98 add elitenew at the same time appears with this:

#

When i am with EliteNew with /lp user Minemarc98 set EliteNew appears correctly

#

but i need "with /lp user Minemarc98 set default and elitenew with /lp user Minemarc98 add elitenew"

storm geyser
#

do /lp user minemarc98 info for me

#

so you want the primary group to be default but also have elitenew as a group?

finite musk
#

elitenew is not a default range, it's a VIP rank. Yes, default range is the primary range.

#

lp user xxxxxxxxxxx info
[15:31:01 INFO]: [LP] > User Info: xxxxxxxxxxx
[15:31:01 INFO]: [LP] - UUID: xxxxxxxxxxxxxxxxxxxxxxxxxxx
[15:31:01 INFO]: [LP] - Status: Offline
[15:31:01 INFO]: [LP] - Primary Group: default
[15:31:01 INFO]: [LP] - Counts:
[15:31:01 INFO]: [LP] - Permissions: 3
[15:31:01 INFO]: [LP] - Temporary Permissions: 0
[15:31:01 INFO]: [LP] - Prefixes: 0
[15:31:01 INFO]: [LP] - Suffixes: 0
[15:31:01 INFO]: [LP] - Meta: 0
[15:31:01 INFO]: [LP] - Parent Groups:
[15:31:01 INFO]: [LP] - > default
[15:31:01 INFO]: [LP] - > elitenew
[15:31:01 INFO]: [LP] - Cached Data:
[15:31:01 INFO]: [LP] - Has contextual data: false
[15:31:01 INFO]: [LP] - Current Contexts: None
[15:31:01 INFO]: [LP] - Current Prefix: None
[15:31:01 INFO]: [LP] - Current Suffix: None

storm geyser
#

chat should always display the prefix with the highest priority inherited from any group, so I think what you're after, luckperms can't do currently

finite musk
#

Okay

#

Thanks

sick horizon
#

Hey how do I add temporary permissions?

lapis ibex
#

/lp ... permission settemp ... @sick horizon

foggy quartz
#

@storm geyser

#

There is a plugin that spys on players msgs and i have no clue which plugin it is

#

is there anyway i can find out with luckperms?

#

Because i just want to turn it off

#

but i can't

wet bridge
#

Verbose

spare forum
#

@foggy quartz

#

Do you have essentials?

foggy quartz
#

Yeah but socialspy is off

spare forum
#

Okay,

foggy quartz
#

The socialspy by this plugin is grey

#

like grey

#

and it says there username to another

spare forum
#

Show me your plugin list

foggy quartz
#

I have 80 plugins though

#

๐Ÿ™„

spare forum
#

...

#

How much ram have you got

#

?

foggy quartz
#

2048 mb

spare forum
#

Crap

#

Dude

foggy quartz
#

?

spare forum
#

Don't you get a ton of lag?

foggy quartz
#

Nope

#

20 tps

#

all the time

spare forum
#

Okay

#

...

#

So

#

Name all your chat related plugins

foggy quartz
#

Does GriefPrevention have a socialspy?

#

I swear i only got it after adding it

#

but i don't think it has one

spare forum
#

Do you have that

foggy quartz
#

No

spare forum
#

What's the actual command

#

Fonzee

#

@foggy quartz

wet bridge
#

๐Ÿ˜‚

spare forum
#

?

foggy quartz
#

I don't know its on when i log on

#

it auto turns on

#

i don't even know which plugin it is

spare forum
foggy quartz
#

okay

finite musk
#

Hello, i have a problem

#

when i put /lp user Name permission set permission.use Lobby1

#

the permission don't setted in this server

sturdy quarry
#

Came across LuckPerms the other day but had a few questions. I'm very eager to upgrade from PEX to LP!

  1. I noticed LP supports a wide variety of database types. Even supports split databases so you could have groups in a yaml format! (Great for me coming from PEX flatfile). However with a very large userbase, is the default database of H2 the most optimized for optimal performance?

  2. Is there any way to improve the LP import functionality from PEX? A lot of garbage from PEX grouping gets put in as a user/group permission when it isn't.

elfin egret
#

@finite musk Any errors in console?

#

@sturdy quarry H2 is great, as it indexes data, and is generally less prone to errors. (people love to screw with the YAML storage files) In terms of general performance, all i/o is done async, so it really doesn't matter that much which one you use. Even with YAML, data is split up into a file per user/group, so is also indexed in a sense.

#

As for import, no, there's not

#

internal PEX data shouldn't be included in the migration (I'm fairly sure it isn't), so anything you're seeing I'm guessing is probably unique to you and your setup

sturdy quarry
#

I generally prefer a yaml format for grouping because I make changes to permissions all the time. It is easier for me to open a file, make a change, upload, then reload in-game than it would be with an sql database since generally order of perms are important with negates and wildcards for some groups.

#

A lot of internal PEX data is being imported.

#

For example.

  • weight.8
  • prefix.8.&2
  • meta.rank-ladder.Donor
  • group.supporter
#

All listed under permissions:

elfin egret
#

that's intended

sturdy quarry
#

It is?

elfin egret
#

with the exception of meta.rank-ladder

#

although I suspect that's something else

#

luckperms stores metadata, prefixes, suffixes, and group inheritance data as permission nodes internally

sturdy quarry
#

Weight / group inheritence / ladder / prefix is all specified under the permission: definition?

elfin egret
#

see my last message

sturdy quarry
#

Hm, interesting.

#

That's a bit odd.

elfin egret
#

indeed it is

#

the yaml storage files are treated less like "configurations" and more as "storage files"

#

it is expected that most people will use the ingame commands or the web editor to make changes to their data

sturdy quarry
#

But aren't they consider a configuration since you are specifying certain things?

elfin egret
#

they're totally dynamic

#

and really only share the same layout

#

which is really just a name and permissions entry

sturdy quarry
#

Order of permissions is important in PEX when negating while inheriting a wild card to ensure a certain permission you don't want people to have isn't actually inherited.

elfin egret
#

right, and it isn't in LP

#

reason being, it makes things total hell when you decide to use SQL to store the data

#

and the order is important

sturdy quarry
#

This doesn't cause any problems in LP?

elfin egret
#

nope, permissions are applied based on a number of specific rules

#

for example, non wildcards > wildcards

#

and many more

sturdy quarry
#

Hmm, interesting.

#

So there is no definitive order for how it loads the permissions in the file? It bulk loads everything then figures out an order based on internal ruling?

elfin egret
#

correct

#

and actually, that's correct to the extent that if LP thinks two permission entries in the file are equal according to it's ordering system, the duplicate entry will be removed

sturdy quarry
#

What about with group inheritence? If it detects an overlap from a former group permission being inherited again, is it removed in the group file or just handled by the final bulk sorting?

i.e.

Member gets permission test.hi
Admin inherits from group Member
Admin gets permission wildcard '*', which grants test.bye
Admin has permission test.hi negated.

Is the permission still negated based on ladder group ordering? (If there is such a thing)

elfin egret
#

it gets a bit complicated

#

the short answer is that so long as:

#
  • the user inherits admin, but not member
#

or

#
  • admin has a higher weight than member
#

then the negated value is used.

#

group weights are used to work out inheritance order/priority

finite musk
#

Luck

#

The permission is putted correctly

elfin egret
#

are you sure server: lobby1 is set in the LP config for that server?

sturdy quarry
#

That's a bit of a problem for me. I have some users who both inherit a builder rank and the member rank since they are granted member first, then builder is added on top. However builder still inherits member because some users had their group set to builder rather than added on top. Same applies with donor ranks.

With weight values, I have all weight values set the same with the exception of staff ranks so tab list sorts staff on top with everyone else in alphabetical order. I have group inherience order handled by ladder group / number.

finite musk
#

Mmmm

elfin egret
#

the migration might have solved that for you @sturdy quarry

#

otherwise, it's just a case of setting new weight values for your groups

finite musk
#

Luck

#

thanks

#

this is a fail

#

xd

elfin egret
#

๐Ÿ˜ƒ

sturdy quarry
#

Well the problem with that may be with someone earning a builder rank, then purchasing a donor rank. They would both inherit the member permissions since that is the base that everyone should have access to.

elfin egret
#

again, not an issue, so long as the weights are correct

sturdy quarry
#

As for setting new weight values, that isn't necessarily an option for me because tab list is sorted based on weight, then alphabetically. People far prefer everything be in alphabetical order with staff on top. With a weight configured on each group, high ranks would only show up on tab.

elfin egret
#

which plugin orders tab?

sturdy quarry
#

BungeeTabList

elfin egret
#

you can override the internal LP values

#

/lp group <group> setweight <value> will set the internal LP weight value

#

and /lp group <group> meta set weight <value> will set the public facing meta value

sturdy quarry
#

Er, sorry. I should specify, it hooks into the permission plugin to sort based on weight specified.

elfin egret
#

I know

sturdy quarry
#

There is no secondary manual list configured.

elfin egret
#

you can still override the internal value

sturdy quarry
#

Hmm, I see.

elfin egret
#

BungeeTabListPlus actually pulls the value from the user's metadata

#

and LP will only provide it's internal value there if one isn't already set

sturdy quarry
#

Another potential issue. User's primary group for displaying prefix / color in-game is based on the top-most group in their ordering with PEX. With the exception of people who are staff due to staff having a higher weight (higher weight = staff shows up irregardless of order), many users prefer to have one order over another.

I.e.

Player1

  • Builder
  • VIP

Player2

  • VIP
  • Builder

Player1 shows up as blue in-game, player2 shows up as green in-game. Both have the same permissions.

#

With LP, wouldn't order not matter and it forces what is displayed based on the interal weight count?

#

I also see a potential issue with importing users, it not using the top-most group already set as the primary group and adding the rest as secondary groups.

elfin egret
#

as for issue 1) the only real solution is to set an override prefix directly onto the user

#

/lp user <user> meta addprefix ....

#

which is messy I know

sturdy quarry
#

That's a lot of users to adjust.

#

We're talking ~80,000+.

elfin egret
#

80,000 users with both VIP and Builder?

sturdy quarry
#

Overall.

elfin egret
#

right, so you're not going to have to adjust all of them

#

and as for the second issue

sturdy quarry
#

But I have many groups of various ladders. So that is a lot of users to adjust.

elfin egret
#

you can change how primary groups are determined

sturdy quarry
#

So setting it to stored would use their defined primary group defined prefix?

#

As long as it imports the top-most group correctly, that would alleviate the problem.

elfin egret
#

maybe I'm misunderstanding you

#

in reply to

#

I also see a potential issue with importing users, it not using the top-most group already set as the primary group and adding the rest as secondary groups.

#

you can set primary-group-calculation to parents-by-weight or all-parents-by-weight

#

and it'll work out their "primary" group dynamically

#

based upon group weightings

sturdy quarry
#

Many users prefer to have certain groups over others as they find achieving a certain builder rank to have more value for showing color / prefix. Hence their order is changed so that is defined as their primary group - since all weight values are the same to avoid forced override and to keep tab list in alphabetical order.

#

It's complicated. ๐Ÿ˜› I'm a bit worried there's going to be permission inheritence / order problems.

elfin egret
#

yeah

#

you'll notice the LP files are ordered (kinda) alphabetically

#

but with wildcards at the top

sturdy quarry
#

I'm assuming I'll have to manually add my default in the default group file since it didn't import it as default.

#

Would any of the garbage data cause problems? All of the meta stuff that was imported but may not work properly in LP, such as login times, rank ladder, etc.

#

I also noticed start-up time takes quite a bit.
http://paste.ubuntu.com/25458286/

Any way to improve this? As this would I assume get slower as the final import completes and as more data is collected. This is with using yaml database - I would probably swap over to H2 with the exception of yaml groups after final testing. PEX loads dynamically as users connect, doesn't slow start-up initialization at all.

#

I'm already noticing inheritence problems with what was imported from PEX. I'm grouped an S-Admin which is suppose to inherit the admin group - that has the '*' wildcard. Then inherits other staff groups all the way down to the default member. However in-game, while I have the S-Admin prefix / color, I'm not able to use any commands.

elfin egret
#

garbage data isn't an issue necessarily

#

you can easily strip it all out

sturdy quarry
#

easy
Again, ~80,000+ users. ๐Ÿ˜›

elfin egret
#

doesn't matter

#

/lp bulkupdate all delete permission "permission == meta.key.value"

#

easy as that

sturdy quarry
#

Except people with a meta login/logout time have a varying timestamp number.

#

Unless I can wildcard remove it? meta.key.*?

elfin egret
#

what does the permission look like

sturdy quarry
#
  • meta.last-login-time.1461124853
  • meta.last-logout-time.1461131018
elfin egret
#

/lp bulkupdate all delete permission "permission ~~ meta.last-login-time.%"

sturdy quarry
#

What about the no permission problem post-import? It set my primary group correctly and imported all the groups with defined inheritence, but I can't use any commands.

elfin egret
#

is PEX still installed?

sturdy quarry
#

No.

elfin egret
#

when you run /lp user mibby info

#

what does it say under Has Contextual data

sturdy quarry
#

[07:48:56 INFO]: [LP] - Has contextual data: true

finite musk
#

Luck i have a question

elfin egret
#

@sturdy quarry try /lp user mibby permission checkinherits *

sturdy quarry
#

More specific.

[07:48:56 INFO]: [LP] - Primary Group: Senior-Admin
[07:48:56 INFO]: [LP] - Counts:
[07:48:56 INFO]: [LP] -    Permissions: 22
[07:48:56 INFO]: [LP] -    Temporary Permissions: 0
[07:48:56 INFO]: [LP] -    Prefixes: 0
[07:48:56 INFO]: [LP] -    Suffixes: 0
[07:48:56 INFO]: [LP] -    Meta: 2
[07:48:56 INFO]: [LP] - Parent Groups:
[07:48:56 INFO]: [LP] -    > senior-admin
[07:48:56 INFO]: [LP] - Cached Data:
[07:48:56 INFO]: [LP] -    Has contextual data: true
[07:48:56 INFO]: [LP] -    Current Contexts: (world=world)
[07:48:56 INFO]: [LP] -    Current Prefix: None
[07:48:56 INFO]: [LP] -    Current Suffix: None
>```
finite musk
#

When migrate PermissionEx to LuckPerms some users appears with rank in map Vestibulo and rank normal

#

They have two ranks.

#

the same rank but one in map vestibulo

#

and two in global servers

sturdy quarry
#

[07:50:39 INFO]: [LP] mibby has permission * set to true in context global. (inherited from admin)

elfin egret
#

ok great

#

which command are you trying to use?

#

@finite musk I don't really understand what you're saying

sturdy quarry
#

Except I can't use any commands in-game. Bukkit /help, essentials /gc.

#

Worldguard build permissions.

#

etc.

finite musk
#

have a command to delete a rank X of all users they have this rank in X world?

elfin egret
#

are any of those permissions negated lower down the inheritance tree?

sturdy quarry
#

I have no global negate all anywhere, no.

elfin egret
#

ok, can you run /lp verbose record <your username, then try to run bukkit /help, essentials, or whatever the command was, then run /lp verbose paste and send the link it gives to you.

sturdy quarry
#

Unless

- bukkit.command.*:
    value: false
- minecraft.command.*:
    value: false

are negating all plugin-based commands rather than just the built-in bukkit command perms?

elfin egret
#

./help is a bukkit command.

#

the permission is bukkit.command.help iirc

sturdy quarry
#

Essentials has its own help command.

elfin egret
#

ok, well try the verbose thing I explained above, and we'll see

finite musk
#

@elfin egret have a command to delete a rank X of all users they have this rank in X world?

elfin egret
elfin egret
#

you have essentials.* set to false

sturdy quarry
#

Shouldn't. Perm doesn't exist anywhere in PEX.

elfin egret
#

run /lp user <you> permission checkinherits essentials.*

sturdy quarry
#

And * should override / grant all?

elfin egret
#

yeah, but more specific wildcards/permissions will override it

sturdy quarry
#

[07:57:35 INFO]: [LP] mibby has permission essentials.* set to undefined in context global. (inherited from self)

finite musk
#

I do not understand much.

elfin egret
#

my bad mibby, I forgot essentials negates that by default

#

uhh

sturdy quarry
#

It does?

#

Since when?

#

Are you sure LP isn't just force negating every single plugin-inherited permission (plugin.yml) by default?

elfin egret
#

nevermind

#

and no, I'm sure

sturdy quarry
#

Would possibly explain why I also can't use other plugin commands or build with worldguard when I don't have it negate by default.

elfin egret
#

I assume you haven't touched the calculation settings in the config

#

running /lp info will confirm that

#

"Wildcard" should be listed as a calculator type

sturdy quarry
#

Er, the only thing I touched was include-global: false to use the server specific groups.

#

Enabling that seems to fix the issue.

elfin egret
#

oh right, that'll be why

#

setting that to false will ignore all permissions set globally

sturdy quarry
#

Groups aren't defined as server groups by default?

elfin egret
#

nope

finite musk
#

@elfin egret With this? /lp bulkupdate user all group unset EliteNew global Vestibulo

#

to delete all users with the rank EliteNew in world Vestibulo

sturdy quarry
#

What about;

I also noticed start-up time takes quite a bit.
http://paste.ubuntu.com/25458286/

Any way to improve this? As this would I assume get slower as the final import completes and as more data is collected. This is with using yaml database - I would probably swap over to H2 with the exception of yaml groups after final testing. PEX loads dynamically as users connect, doesn't slow start-up initialization at all.

elfin egret
#

not sure why it's hanging for a few seconds there

#

it's not related to the data size, as that doesn't get loaded until later

sturdy quarry
#

Do you limit how many users load at a time?

elfin egret
#

users are only loaded when they're needed

sturdy quarry
#

As I noticed the import was going 100 users per set interval slowly.

#

Took an hour to import ~20k.

elfin egret
#

migration or import?

sturdy quarry
#

Migrate, sorry.

elfin egret
#

the migration will run as fast as it can, but is done on a single thread

#

it's hard to say what the cause is

sturdy quarry
#

Possible to debug the entire initialization to find out what is slowing down start-up?

elfin egret
#

I'll look into it

#

i'm gonna guess there's something there with split storage

#

which type are you primarily using?

sturdy quarry
#

I have all split storage set to yaml at the moment.

elfin egret
#

try setting it to just use yaml storage

sturdy quarry
#

But I would in the future set everything to h2 (if that is optimal) with the exception of groups yaml.

elfin egret
#

ok, try disabling split storage

#

and just change storage-method to yaml

sturdy quarry
#

Nope, hung on loading storage provider. Too many files perhaps if it is loading everything to cache unintented?

[08:06:24 INFO]: [LP] Loading storage provider... [YAML]
[08:06:27 INFO]: [LP] Loading internal permission managers...
[08:06:27 INFO]: [LP] Performing initial data load...
[08:06:27 INFO]: [LP] Successfully enabled. (took 2730ms)
storm geyser
#

how many users do you have?

sturdy quarry
#

Right now on the test environment? 20k imported, then I stopped it.

#

But will end up with ~80k+.

storm geyser
#

Jeysus. I'd personally have the user data stored in mysql or mariabd then. It could make a difference with that many users.

finite musk
#

mibby i have more thank 100k

#

and works perfectly

#

the migrater

#

migrate

sturdy quarry
#

Perhaps but PEX doesn't have a start-up loading problem.

#

@finite musk What backend for storage?

#

And post start-up log?

elfin egret
#

nothing is loaded until [08:06:27 INFO]: [LP] Performing initial data load...

#

and even then, only group data is loaded

finite musk
#

Luck

#

@elfin egret With this? /lp bulkupdate user all group unset EliteNew global Vestibulo
to delete all users with the rank EliteNew in world Vestibulo

elfin egret
#

No, I'll explain in a sec

sturdy quarry
#

Well it seems to hang on the storage provider being loaded. Is it checking all files to remove duplicate perms maybe?

finite musk
#

Ok

sturdy quarry
#

Moving the user folder so it doesn't load, it only takes 400ms loading the groups. (Which still seems high to me if just initializing the storage and reading groups.)

#

So definitely has something to do with loading users.

viral fern
#

Can i just add this plugin to the proxy server or do i have to add it to all servers?

storm geyser
#

all servers. Then to sync data, connect all luckperms instances to the same database

viral fern
#

like you would do in pex?

finite musk
#

@elfin egrety?

storm geyser
#

I have not used pex in a very long time, but I expect so.

viral fern
#

ok

finite musk
#

I need help

viral fern
#

with?

storm geyser
#

what is it you wanted to use bulk edit for? I read up, but it went out the other ear.

sturdy quarry
#

@elfin egret How about the time it takes to initialize on group loading?

#

Or is group specified under cleanupUsers task as well somewhere?

elfin egret
#

not sure what time you're referring to

sturdy quarry
#

~500ms to initialize the backend when just loading groups.

elfin egret
#

half a second?

sturdy quarry
#

Seems like a long time for what it is loading.

#

Compared to how PEX initializes anyways.

elfin egret
#

it's not just loading

#

there's a lot more to it than that

#

the log entries are slimmed down a bit

#

there's actually quite a lot of stuff happening in that period

sturdy quarry
#

Well I'm able to cut the initialize time in half just by moving the migrated group folder out from loading.

#

So it has something to do with groups being loaded / checked.

elfin egret
#

yes

#

but 500ms really isn't a significant period of time for what it's doing there

sturdy quarry
#

Perhaps not but it would grow over time as adjustments are made.

elfin egret
#

if you doubled the number of permissions in your group files, you could perhaps expect that time to double also

#

but I think that's unlikely

#

a slice of that time is waiting for the filesystem, for example

#

impossible to say without actually profiling it

sturdy quarry
#

The loader you mean? Or is the yaml file system the bottle neck with more than 1 file?

elfin egret
#

again, hard for me to say

#

I can make guesses, but without profiling it, I can't give you a definite answer

sturdy quarry
#

Well if you want to profile it, just let me know. I have a large enough database to test with.

elfin egret
#

how many groups do you have?

#

./lp info will tell you

sturdy quarry
#

29

elfin egret
#

hm

#

not many

sturdy quarry
#

Well technically 28 I guess since I need to change 'guest' into the 'default' file since it didn't import as default.

#

28 isn't many? I would consider that more than average in comparison to most servers.

elfin egret
#

i've seen people with hundreds, admittedly not many people

#

but i've seen it.

#

lol

sturdy quarry
#

For groups? What are they doing, only adding 1 permission per group?

#

That's ridiculous.

elfin egret
#

god knows

#

well actually I do know

#

it was a network

#

with a prison server consisting of 150 'levels'

#

plus the same system for some sky based gamemode

#

adds up pretty quickly

#

but they were using mysql iirc

#

either way, 500ms isn't a cause for concern

sturdy quarry
#

Bit silly for that type of functionality to be handled via perm groups. An actual plugin manager for those gamemodes would be better.

#

But I guess use whatever works.

elfin egret
#

i'd be worried if that was nearer 2000ms

#

but uh

#

yeah

finite musk
#

Luck

#

@elfin egret With this? /lp bulkupdate user all group unset EliteNew global Vestibulo
to delete all users with the rank EliteNew in world Vestibulo

empty epoch
#

Hey, can anyone tell me where I find permission set for a specific user?

viral fern
#

discord invite link?

#

for here?

foggy quartz
#

hey matt

viral fern
#

hi

foggy quartz
#

u see screen ye

viral fern
#

yes

foggy quartz
#

ok

#

good

#

@viral fern adding to hub for now

#

ye

viral fern
#

k

#

start with hub

#

we might need to do this in a private chat

#

because of passwords ect...

foggy quartz
#

twats HB Admin

#

@viral fern u dont see myy 2nd monitor do u

#

or just 1

viral fern
#

nope

#

1

foggy quartz
#

kk

#

cause i have mc on it

viral fern
#

its stupidly ridiculously complicated compared to pex.... the commands are so long and so complicated

elfin egret
#

what is?

#

could you give an example?

viral fern
#

/lp group <group> meta setprefix <priority> <prefix> <context>
compared to...
/pex group <group> prefix <prefix>

elfin egret
#

context is an optional argument

#

so, you're talking about one extra thing you need to specify

viral fern
#

/lp group <group> meta setprefix <priority> <prefix>

#

and meta

#

and priority

elfin egret
#

meta just divides up the sections

viral fern
#

its just lots quicker to use pex

elfin egret
viral fern
#

i mean its an amazing plugin and has loads of cool features, it connectected to the database first time

elfin egret
#

download & install that ^

viral fern
#

ok

grave wasp
#

what is the lp editor command

karmic maple
#

./lp editor

grave wasp
#

ok

karmic maple
#

Need a lil help with something

#

[16:08:33 INFO]: [LuckPerms] [ERROR] Error occurred whilst initialising the database.
[16:08:33 INFO]: [LP] Loading messaging service... [BUNGEE]
[16:08:34 INFO]: [LP] Loading internal permission managers...
[16:08:34 INFO]: [LP] Performing initial data load...
[16:08:34 ERROR]: Error occurred while enabling LuckPerms v3.3.13 (Is it up to date?)

#

However 3.3.13 is the latest version?

grave wasp
#

@lapis ibex what is the ditor command

karmic maple
#

do /lp group (group) editor

#

For example /lp group admin editor

lapis ibex
#

/lp group <group> editor or /lp user <user> editor

karmic maple
#

Brain can u fix my issue once again

#

xD

#

Nibra Noste

#

๐Ÿ˜‰

lapis ibex
#

Which issue?

karmic maple
#

[16:08:33 INFO]: [LuckPerms] [ERROR] Error occurred whilst initialising the database.
[16:08:33 INFO]: [LP] Loading messaging service... [BUNGEE]
[16:08:34 INFO]: [LP] Loading internal permission managers...
[16:08:34 INFO]: [LP] Performing initial data load...
[16:08:34 ERROR]: Error occurred while enabling LuckPerms v3.3.13 (Is it up to date?)

lapis ibex
#

Full log please

grave wasp
#

what is the permnode that makes a group inherret

lapis ibex
#

/lp group <group> parent add group.<other_group>

misty sage
#

when using default contexts is there a way to have it not apply?

lapis ibex
#

What do you mean by that?

misty sage
#

when I have a default context set on a server

#

if for one or two commands I don't want it to apply is there a way to do that?

finite musk
#

@elfin egret Hello?

lapis ibex
#

@misty sage not sure

#

@finite musk what do you need?

finite musk
#

This is correct?

#

With this? /lp bulkupdate user all group unset EliteNew global Vestibulo
to delete all users with the rank EliteNew in world Vestibulo

lapis ibex
#

Never used bulkupdate

#

I'm sorry

finite musk
#

Okay

exotic granite
#

Hi. Is a differance in include-global and apply-global-groups ?

exotic granite
#

How i set the server for a group, or what is ?

grave wasp
#

can i get a link to the wiki plz

#

@lapis ibex

echo canyon
#

@grave wasp rly?! the link to the wiki is in #welcome

grave wasp
#

o wow

#

lol

echo canyon
#

First read, then write

drowsy falcon
#

Hello!

#

@elfin egret Are you there?

elfin egret
#

๐Ÿ‘‹

drowsy falcon
#

how to check if an offline player has a permission? i tried with both vault and your api.

elfin egret
#

just a sec

drowsy falcon
#

so?

elfin egret
drowsy falcon
#

the fact is that that check will be very frequent

lapis ibex
#

After the first check the player will remain cached

drowsy falcon
#

how long?

elfin egret
#

then you can modify it to only call api.getStorage().loadUser(uuid) if the user isn't already loaded

#

in other words, if api.getUser(uuid) is not null

#

but once you load a user, they won't be unloaded until api.cleanupUser(user) is ran

drowsy falcon
#

is the cached data removed on logout?

elfin egret
#

yes

#

well, it depends on the platform, but on bukkit/bungee, yes it is

drowsy falcon
#

could you make it configurable?

elfin egret
#

an event is possible

drowsy falcon
#

?

elfin egret
#

I can add a UserCleanupEvent or something like that

#

which you can cancel

drowsy falcon
#

ok

elfin egret
#

data gets unloaded on logout to avoid memory leaks

drowsy falcon
#

how to get a context that is into the server but outside the world?

#

@elfin egret you should load the user data when a request is made via vault api

#

atm there is no way to check a permission of an offline player via vault

elfin egret
#

the authors of vault didn't really anticipate permission plugins which would be storing data in mysql

foggy quartz
#

thats one long ass github link @elfin egret

elfin egret
#

wew

#

last issue closed

#

seems to work ๐Ÿ˜ƒ

storm geyser
#

_> Soo clean

#

That repo makes my eyes bleed

elfin egret
#

winner winner

#

chicken

#

dinner

storm geyser
#

oh my

elfin egret
#

turns out, if you double the # of threads, you double the speed of the import

storm geyser
#

so how many threads is it across now?

elfin egret
#

lmao

#

it was 1 before ๐Ÿ˜„

woeful condor
#

Hi! Its realy to install luckyperms to bungee and sync it with all bukkit servers?

storm geyser
#

to setup luckperms across bungee and bukkit, you will need to on all servers (Including bungee), and then connected to the same database ๐Ÿ˜ƒ

woeful condor
#

But without database? ๐Ÿ˜„

storm geyser
#

you can't have it synced then :/ You could always copy the data from one server to another, but it will never be synced. If you know what a symlink is, that may work

woeful condor
#

Okey. Thanks)

turbid wing
#

For the website editor, is it possible to add in multiple contexts at a time? Like, say I wanted some permissions to only work in three specific worlds. Can I add that, without having to add each thing each time and write everything multiple times?

elfin egret
#

Uhh, no

#

not atm

#

something to make that a bit easier to do is planned though

lapis ibex
#

Talking about that, would it be possible to add the possibility to modify the contexts, servers and worlds too?

#

And maybe the permission nodes aswell?

lapis ibex
#

Neat

#

That works too

frank yacht
#

i have a small problem

I have a chat formater for default users
perm: nickname.format.default
And another chat formater for staff users
perm nickname.format.staff

The problem is, how can i make a context that the nickname.format.default will be available only when the player does not have the permission nickname.format.staff

lapis ibex
#

@frank yacht You can negate permissions

frank yacht
#

i tried

#
  • nickname.format.default:
    value: false
#

on the staff group

#

but still seems no to work T.T

#

my player is in bofh groups

#

one is not parent of the other

#

i will make a few more tests here

#

to see if it is not me who is doing wrong

#

and come back later to ask again ^^

lapis ibex
#

Give the staff group a higher weight

#

And it'll work

frank yacht
#

the weight works how?

weight.9 > weight.10

#

the less the highest ?

lapis ibex
#

The heigher one wins

devout swan
#

Need a little help i gave someone perms using /lp on the server so they can edit groups etc

#

how do i take away all rights from using anything /lp releated

wet bridge
#

If you remember the permission of gave them then use /lp group/user name permission unset perm

meager fern
#

How do I change the color of the username of indivual players instead of whole groups?

acoustic cape
#

well how do u do it for groups

#

then do it for players

#

wait

#

You can do /nick if you have essentials and use color codes

meager fern
#

I dont use essentials and no plugins are compatible with the bungeecord version of this plugin(That I can find)

#

And groups adopt the color of the prefix

#

I fixed that by adding &r to the ends

devout swan
#

what if i cant remember the perms i gave?

lapis ibex
#

@devout swan you can run /lp user <user> permission info or /lp group <group> permission info

iron merlin
#

Is there any jenkins build for 3.3.13?

hardy horizon
#

if i wanted to change the name of the default group a new player is placed into when they join the server.. i would edit rule 3 in the cfg?

#

the link in the wiki on primary groups doesn;t go anywhere anymore.

plush pendant
#

any can help me ?

#

some question

#

@lapis ibex are u there?

lapis ibex
#

@plush pendant just ask

plush pendant
#

i has two servers connected with bungeecord

#

i want to can be "admin " in one server and "moderator" in another server, but admin and moderatos has the same permissions in all servers u understand me?

lapis ibex
#

Yes

plush pendant
#

what in need to change?

#

at the moment if i admin in one server im admin in all servers

lapis ibex
#

Do you have set server names in the LP config?

hardy horizon
#

yes, i read that brainstone, that's why i thought if i changed rule #3 it would place new uers in a group i created called peasants.

plush pendant
#

The name of the server, used for server specific permissions. Set to 'global' to disable.

server: factions

If users on this server should have their global permissions applied.

If set to false, only server specific permissions will apply for users on this server

include-global: true

#

if i change include global to false, admin not has the same permissions in all servers

lapis ibex
#

That's ok

#

YOu have to do it like this:

#

/lp user <you> parent add <group_for_server> server=<server>

#

Makes sense?

#

@hardy horizon the existing rules are just examples

#

You ahve to write the rule yourself essentially. YOu can use the example rules as templates

hardy horizon
#

oh.. so changing the cfg doesn;t have any affect?

#

i don;t need server= if it's just one server?

#

oops.. that was meant for someone else. ๐Ÿ˜›

#

i'll see if i can make up a rule.

#

don;t knwo if i'm advanced enough for that yet.