#support-2
1 messages · Page 51 of 1
the person you name
Hey Pelectic59! Please don't tag helpful/staff members directly.
hey guys, do ExtraContexts work correctly? I am using wg-region for one port command and its says I dont have the permissions
make sure you enable it in the EC config
!extracontexts has a readme that explains i think
Add contexts not supported by stock LuckPerms.
ahh, nice thanks.. this option was there before?
which option?
enabling WG
yes it's always been required afaik
some people don't need them all so you need to enable the ones you want
hmm, maybe I didnt copy config when I was transfering server to new host
anyway, thank you, I will do my testing 😄
np!
I should see wg-region in contexts when I use command /lp user <user> info, right?
indeed
I restarted server
I restarted server one more time to me sure, still without wg-region contexts
any errors on startup?
.... [20:48:58 INFO]: [ExtraContexts] Enabling ExtraContexts v2.0-SNAPSHOT
LP without errors too
What's the config look like
Please use https://bytebin.lucko.me to send files in the future. I have automatically uploaded config.yml for you: https://bytebin.lucko.me/pHuqapOMlf
so change 'worldguard:true' to 'wg-region: true' ?
I changed only false to true
I had in default config 'worldguard: false' so I only switched it
yeah, i understand, see if changing it to wg-region works? if not, change it back
and still nothing even with wg-region
ok yeah change it back
are you sure you actually have worldguard installed
pretty sure
oh, that looks like a different worldguard than I've seen
is it standard WG from here?
it should be latest
like my permission setup with this wg-region was working in 1.15, I dont know what could change
wg and permissions are unchanged
that's... strange
yep
perhaps make an issue on the EC github, including steps to reproduce so luck can fix it
unlucky 😦
So I'm looking to disable certain commands for all users. Is that just the default group?
The way we have the server, there won't really be any groups.
usually people don't have commands by default, like almost never. Good plugins will force you to define them as true through a perms plugin for them to be accepted
buttttt
if one or two is, yes just set the permission to false in default group
Okay thanks
I'm having trouble finding it on the command usage page, but is there a command to add a user to a group?
nevermind, I missed the "Adding user to a group" section
So I accidentally set luckperms instead of luckperms.* and this is the list for default on luckperms. I tried unset, but now it's just set to undefined but still listed.
It is shown as green, does this mean that default now has access to LP? Is there a way to remove this?
It is shown as green, does this mean that default now has access to LP? Is there a way to remove this?
as it's not a valid perm, it wont do anything, and you can remove it usinglp group default permission unset luckperms server=undefined
btw that server=undefined is a context
it is not what that is set to
So everytime I want to unset a permission, I need to also do server=undefined?
So when I just do the normal unset without server=undefined, it's just changing the permission for the local world?
darkswordsman when you use server=undefined, you're telling LP that players will get that permission in a backend server named 'undefined'
Oh I see
I think it's because I did lp group default permission set luckperms undefined ?
I did that because another command I checked said that a permission that I never set was undefined, but I guess that's not really correct, lol
well it is true that permissions you never set are treated as undefined
Yeah, I was trying to "unset" it by setting it to undefined, so I'm guessing that's what caused it to say (server=undefined) in the list
yeah, and you should be able to get rid of it by running the exact same command (including server=undefined) but with unset instead of set
right
So now another issue. I set inheritance, but looking at the permissions, it says "moderator" doesn't have any permissions, though it's parent is "default".
Is this normal?
I take it the inherited permissions just aren't reiterated in this list?
you set those two perms in default?
yes
that gives anyone who joins full access to LP and CP
oh yeah
Lol
you could also just not set them 😛
Since I assume that if I set * to false, I can explicitly give child permissions to specific groups.
So while admin might inherit coreprotect.* = false, I can set coreprotect.inspect = true for admin?
yes
Okay cool
!advanced describes several reasons that will work, one because wildcard and two because inheritance and hopefully 3 cause weight
Discover some of the more advanced concepts of LuckPerms, such as permission calculation, shorthand permissions and more.
But yeah, so back to the list. Are inherited permissions just not repeated in the info?
correct
Okay cool
Thanks for all the help. My brain must've been super melted yesterday if I was having trouble with this stuff.
does anybody know if there's any difference between exporting the LP database using commands, and using something like mysqldump on the database itself?
how do I give a specific player the permission node "place.water"
When I try /lp user (username) permission place.water it says it works but it doesn't give them the permission node
because they are still unable to place water
I forgot to say set in discord but thats what I did
It still doesn't work for some reaosn
Wait
Nvm
I was wrong
Thank you so much
I know it's probably not intended, but would moving the whole, configured LuckPerms folder onto a new server that didn't have the plugin (including the config and H2 database) cause any issues?
If so, would it be best to just move over the plugin jar, then once the server restarts, add the exported zip and import?
i would run the export/import commands as this is what they are best used for
copying the entire folder may cause some issues
I have a question
again
huh
am i able to add a suffix to a player?
to an individual player
?
of course
same as adding to a group but replace "group" with "user"
/lp user <user> meta addsuffix <priority> <suffix>
thx
Is 2.18.0 EssentialsX works with LuckPerms? Because after install both of these, i as an /op can do anything with /lp commands, but it is not affected at all. For example - i create a group "admin", and set the prefix with color. And also add a player to that group. But nothing changes. What can i provide, for some good answer?
!faq might be a good starting point
Check out some of our frequently asked questions.
make sure you have vault, of course
for some reason prefixes arent working?
tiskua do you have a plugin that displays prefixes in the chat installed
luckperms won't do that for you, it just gives it to the plugin that does
tiskua you can also read the FAQ, it has a lot of troubleshooting info for prefixes
make sure you have vault, of course
I think i fixed that, thank you)
i need heklp
!ask
Please ask the question you have. Don't ask to ask, or ask to DM someone. There are people here to help you, but we need to know what to help you with, so please just ask the question you want to in as much detail as possible!
!ask help me
Please ask the question you have. Don't ask to ask, or ask to DM someone. There are people here to help you, but we need to know what to help you with, so please just ask the question you want to in as much detail as possible!
!ask my lp perms arnt working with essentials x
Please ask the question you have. Don't ask to ask, or ask to DM someone. There are people here to help you, but we need to know what to help you with, so please just ask the question you want to in as much detail as possible!
Dude did you read the embed that keeps popping up even once
Lololol
Anyone know the way around Luckperms stopping a forced command going through - Need the player not to be able to run the command, but it to still force run when told to?
im not sure what you mean a forced command
if a command has a permission assigned to it, the player running it needs that permission
or you set the command to run in console (if whatever plugin you are using aallows for thaat)
I would, but I can't get the console to know which player the command needs to be run for? if that makes sense?
idk you havent reaally tell us how exactly are you forcing players to run commands
what do you mean forced command though?
usually is setting to the pplugin to run commnd through console or they can something temp op them for a sec just to run that command
what forces the player? the plugin?
Yeah.
HuskyCrates should have some documentation on what that does
Documentation is lacking unfortunately, still writing it.
I'll send a help ticket to them, thanks for the help 🙂
np!
worldguard+lp going wonky
An exception was thrown by me.lucko.extracontexts.calculators.WorldGuardFlagCalculator whilst calculating the context
is this WG for 1.16?
hi, i just installed luckperms and tried to make other players have a command, but now they dont have access to do anything
!usage
Here's a guide to help users understand and use LuckPerms for the first time.
depend on the actions you want your players to be able to do, set the relevant perm nodes
okey, but they cant even open doors
best is to look into the plugin documentation for their perm nodes
do you happen to have essentials antibuild?
yes i do
that'll do it
it does what the name says
stops about anything from happening
just delete it tbh, you probably don't need that
that's... not now plugins work
they do their thing and you can modify how players interact with that thing using perms
EssXAntiBuild's thing is stopping pretty much everything, and you can add permissions to bypass it
but if you don't need the functions of that module, best to delete it
okey, so just delete it completly form plugin folder
yep, as well as EssXGeoIP and EssXXMPP probably
plugins with features you don't need that are included in the zip
Hey United! Please don't tag helpful/staff members directly.
so... is it the wg version that support 1.16?
Was looking at the documentation for syncing data between multiple servers. Even though I read & looked at the documentation, I still tend to have issues.
You first need to have a sql database
The database is setup. What's next?
It's all imported & ready to go. I have all of the Lobby servers initialized, with that same data.
imported?
However, it's failing to actually pull it from MySQL, even though it's listed.
It's not an import. Just how I phrased it.
That's what I did.
It's not working properly.
how so
I set my group in the primary lobby, and go to the next lobby, it doesn't update within a 60 second period.
does it update anywhere anytime
It doesn't. For the main Lobby, it registers as MySQL. For the other two, it says H2, even though the configurations have the same MySQL data as the first one.
you need to set storage-method to MySQL in the other two's configs
I did.
and messaging-service to sql
I did all of those.
Well, wait:
Give me a moment.
I may of not done the last one.
Received this warning.
>.... [12:22:07 WARN]: [LuckPerms] Messaging service 'sql' not recognised.
!paste the entire startup log
Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
I'll let it automatically do pastebin, here.
Please use https://bytebin.lucko.me to send files in the future. I have automatically uploaded message.txt for you: https://bytebin.lucko.me/0rkNKWH0rh
It's under MySQL.
!paste the entire startup log
Also
[LuckPerms] Loading storage provider... [H2]
you're either omitting something important from the startup log or have not set storage-method to MySQL
Ben, WG replied to me with this "LP has a bit of a loop in their context resolver by the look of it"
!help
!advanced
!api
!argumentbased
!ask
!bulkupdate
!bungee
!cauldron
!chat
!colours
!commandequivalents
!commands
!config
!context
!default
!downloads
!editor
!errors
!essentials
!extensions
!extracontexts
!faq
!helpchat
!inheritance
!install
!locale
!meta
!migration
!notworking
!nowildcard
!pasteit
!permissions
!placeholders
!selfhosting
!stacking
!storage
!suggestions
!switchstorage
!sync
!tracks
!upgrade
!usage
!userinfo
!verbose
!weight
!whyluckperms
!wiki
!inheritance
Learn about inheritance.
!ask
Please ask the question you have. Don't ask to ask, or ask to DM someone. There are people here to help you, but we need to know what to help you with, so please just ask the question you want to in as much detail as possible!
!notworking
We really would absolutely love to help you out! However, telling us that it isn't working wastes everyone's time. Please, just describe the issue you're having clearly and with as much detail as possible, and send any relevant screenshots of whatever problems you're having.
Do you get the helpful role by just being helpful?
Right now my server doesn't have a permission manager at all, and 90% of all permissions work as expected. Players without op can only access basic commands like LWC and /help.
If I install LuckPerms, I will need to individually add every single permission node to the default group. Is there a way to use the current defaults as the permissions for the default group?
if you're fine with your plugins' default permission settings then you shouldn't need to add those permissions to luckperms
LP will respect the default behaviour of permissions
but this is also able to be changed in the config
I'm fine with 90% of the defaults, but there are a few that need changing.
How do I set that up Turbo? When I added LuckPerms without modifying anything normal players couldn't use /msg.
Hey TheDeviantCrafter! Please don't tag helpful/staff members directly.
What did you use before installing luckperms?
We also had EssentialsX installed which appears to add its own permissions manager.
Is LuckPerms intended to follow plugins' default permission behavior when completely unmodified?
Most of Essentials' commands will require the permissions to be set
idk how it works without a perm plugin
but it's pretty standard to need to add permissions for everything you wish for players to use
LuckPerms works with GroupManager and PEX too as I know but if you haven't installed a permission meneger plugin before, it won't work. You must set all the perms in LuckPerms too set up everything correctly.
There's no way to use the default permissions of plugins by default?
Alternatively, is there a way to list the permission nodes that players get before a permission node is installed?
This is new to me, so setting up LuckPerms would probably be a 1-2 hour project for me. I only want to change the permission level for two commands.
The default perms will work until you set up LuckPerms I think. If you set up the default group's perms using LuckPerms, the perms you set before won't work. I don't know it correctly, but you can easily test it. Give a permission to the default group using the /lp group default permission set essentials.tpa for example, and if just the tpa command works you must set each perms in LuckPerms too.
You can use /lp group default permission unset essentials.tps to unset it.
the essentials defaults aren't really proper bukkit defaults from what i know.
the default thing refers to bukkit default permissions
yeah, this all they define for permissions, everything just defaults to op
welcome to permission plugins! it's not exactly a walk in the park but once you get past the initial setup stage, you'll be fine.
The web editor function can help you to not lose that much time.
??
They mean the webeditor lets you do stuff faster, not wasting as much time.
praise web editor
how to change language? 🤔
!locale
Learn how to change all the message from LuckPerms.
how do i setup perms like how do i give a group/rank world edit or msg abliities or fly and /nickname
!usage
Here's a guide to help users understand and use LuckPerms for the first time.
I'll look
or in the prefix
yeah that too ^
I checked the prefix, not that
Hello! Is LuckPerms available for 1.16.1?
il y a des francais pour m'aider svp
Hey, I was on a local h2 storage method and I want to pass to a mysql method. How I can do to transfer data, groups .. h2 to mysql ?
!switch
If you wish to change your storage type (e.g. to YAML or MySQL) you may need to follow these instructions to ensure your groups and permissions are migrated to the new storage type.
Tanks !
Is it possible to assign a permission to a certain player once they run a specific command (for example,, if i made a command alias for something)? They obviously don't have permission to add permissions etc. but is this possible with LuckPerms?
I effectively just want them to run a command once they've read the rules to make them become Member rather than Guest - the command would be on the last page.
if you are running the lp command through another plugin, then set it such that it run the command from console
Ok, I'll make one, thanks.
Would it be quicker just to do (player).addPermission(...)?
Or would it not work?
!API there are some good docs here on adding perms to players, basically yeah add and then save the user
Learn how to use the LuckPerms API in your project.
Yeah but is luckperms necessary to import when all i need to do is add a permission?
You could use Vault for it
I'd recommend not reinventing the wheel or adding them yourself, since it requires you to track potentially large amounts of objects and isn't the best implementation. I tried writing my own permissions plugin a while back, never again.
What would you say now about adding a confirmation command then?
it's to confirm that they've accepted the rules. I only want to switch their group
Would this work correctly, to be sure:
LuckPerms api = LuckPermsProvider.get();
api.getUserManager().getUser(args[0]).setPrimaryGroup("member");`
i dont think its setPrimaryGroup hmm
#luckperms-api For API related questions.
My context servers arent working? I give someone a perm then server=hub and they don't receive the permission?
Do you have luckperms on the hub server and have you set the server names in the LP configs
An do all servers share the same database
Found the issue, thank you
you can install a separate plugin which disables chat for anybody without a certain permission, then use LuckPerms to assign that permission to only the ranks you do want to be able to speak
and before you ask, I unfortunately don't know of any which do that so you'll have to look around
Is it possible to disable chat for a certain rank?
@atomic drum You can use essentials
or if on a bungee network, bungeechat works
Hello !
I am currently doing group permissions through the online editor, and this had never happened to me before after months of using LuckPerms, but it turns out I have an in-game error and the changes made do not save. In the console I have the following alert.
Do you have any idea of the source of this problem?
Thank you so much !
I tried multiple sessions, it happens every time
can you please send your applyedits command for a session that throws this error
Yup: /lp applyedits sm1Bg8Q84q
Looks like an SQL error to me happening while using the messaging service, is your database structure outdated?
With "database structure" I mean the one when LP inited it
I've never had this error before, and I last used the online editor two days ago. I am using a database provided by a web host, and I have no problem connecting to it, it seems to work fine at first glance ... 🤔
Can you delete the "messenger" table?
make a backup!
of the DB and LP
lp export <anyname>
you'll likely need to use it
if you go and delete tables
I try it, thanks
Uh, the backup doesn't work
https://bytebin.lucko.me/NlNbzAIlnX
But... The editor seems work 😂
what versions of MC are on, and did you unzip the backup?
My server is in version 1.16.1, and I have tried both, unzip or not
huh, that's strange
if you export using lp export <anyname> and then go onto a test server or somewhere safe and run lp import <samename>.json.gzwith the export zip in the test folder what is the full things that appears
I created another server under the same version and another database to try, and it gives me the exact same message, and nothing is added on the database ...
I will try on a database from another of my services to see
Same x/
Got any idea how to import this file directly from the database, from phpMyAdmin? Because suddenly it doesn't work since it's a .json, and it represents a bunch of grades and permissions 😭 😂
it can't be unzipped, if you unzip it it won't import
Yes yes, but I mean since it doesn't work in-game via the /lp import, maybe it is possible to use it in another way ... If for example I unzip and I activate the storage in json, or something else 🤔
It should deffo work for importing, if it's not something is vv wrong
I suspect, I would like to be able to go back in time, for lack of having the editor that works I would at least have the groups and permissions already in place x)
do you still have the original .json.gzip backup or is it unzipped
It's the original, it's not unzip.
I reset the database and imported an old backup from phpMyAdmin, which is one month old. I imported all tables except users and user_permissions. I lost some changes in the meantime but nothing serious, in the meantime the editor is working again and I was able to apply the changes I made earlier 🤔
looks like a potential database corruption of some sort
a brand new db might be able to take the import
No, importing the .json.gz on a new database doesn't work, I tried on two other databases from two different hosts.
Is the messenger table important ? Can resetting it when importing directly from phpMyAdmin, as I just did, cause a problem ? Two weeks ago, I imported this file without the messenger table, and today this problem occurs. Whereas there, I just imported the same file but with the messenger table, and it works again... 🤔
Yeah tables don't regenerate automatically if you kill them
In fact when I do this I generate the tables during a normal start of the plugin, then I delete those I want to import, so the others are still there, including the messenger table.
Except that last time when I migrated my database I did that, but I didn't delete the messenger table so the freshly generated one stayed, whereas now I just deleted it, so it's the old one that took its place, and it works again...
very strange problem you've got happening there lol
np!
what
nvm
@prisma hinge it depends on how to rankup works
usually you can set it to run an lp command when /rankup is executed
When i put a suffix, in chat it comes [Owner] DougYT[Builder] and I want the space between the username and prefix. How do i fix it?
You can use a space then &r after the prefix and before the suffix
>lp info
> [16:50:43 INFO]: [LP] Running LuckPerms v5.0.88 by Luck.
> [16:50:43 INFO]: [LP] - Platform: Bukkit
> [16:50:43 INFO]: [LP] - Server Brand: CraftBukkit
> [16:50:43 INFO]: [LP] - Server Version:
> [16:50:43 INFO]: [LP] - git-TacoSpigot-"95870a93" (MC: 1.8.8) - 1.8.8-R0.2-SNAPSHOT
> [16:50:43 INFO]: [LP] - Storage:
> [16:50:43 INFO]: [LP] - Type: H2
> [16:50:43 INFO]: [LP] - File Size: 0.04MB
> [16:50:43 INFO]: [LP] - Messaging: None
> [16:50:43 INFO]: [LP] - Instance:
> [16:50:43 INFO]: [LP] - Static contexts: None
> [16:50:43 INFO]: [LP] - Online Players: 0 (15 unique)
> [16:50:43 INFO]: [LP] - Uptime: 15m 14s
> [16:50:43 INFO]: [LP] - Local Data: 2 users, 1 groups, 0 tracks``` in hub
lp info=> [16:51:01 INFO]: [LP] Running LuckPerms v5.1.26 by Luck.
[16:51:01 INFO]: [LP] - Platform: Bukkit
[16:51:01 INFO]: [LP] - Server Brand: Paper
[16:51:01 INFO]: [LP] - Server Version:
[16:51:01 INFO]: [LP] git-Paper-1618 (MC: 1.12.2) - 1.12.2-R0.1-SNAPSHOT
[16:51:01 INFO]: [LP] - Storage:
[16:51:01 INFO]: [LP] Type: H2
[16:51:01 INFO]: [LP] File Size: 0.66MB
[16:51:01 INFO]: [LP] - Messaging: None
[16:51:01 INFO]: [LP] - Instance:
[16:51:01 INFO]: [LP] Static contexts: None
[16:51:01 INFO]: [LP] Online Players: 0 (1 unique)
[16:51:01 INFO]: [LP] Uptime: 9m 38s
[16:51:01 INFO]: [LP] Local Data: 0 users, 47 groups, 0 tracks``` in main server
ok so you see how the
[16:51:01 INFO]: [LP] - Storage:
[16:51:01 INFO]: [LP] Type: H2
that measn you arent connected to a db
you should read your servers' startup logs - im guessing it didn't connect and threw a nice big error
ok I see two problems
- You need to keep formatting and have the
' 'around your password
like 'aeawfoaenfas'
OH
you have left your storage method as h2
it needs to be MySQL or whatever type of db you have
> [16:56:40 INFO]: __
> [16:56:40 INFO]: | |__) LuckPerms v5.0.88
> [16:56:40 INFO]: |___ | Running on Bukkit - CraftBukkit
> [16:56:40 INFO]:
> [16:56:40 INFO]: [LuckPerms] Loading configuration...
> [16:56:42 INFO]: [LuckPerms] Loading storage provider... [MYSQL]
> [16:56:42 WARN]: [Server thread] INFO me.lucko.luckperms.lib.hikari.HikariDataSource - luckperms-hikari - Starting...
> [16:56:42 WARN]: [Server thread] INFO me.lucko.luckperms.lib.hikari.HikariDataSource - luckperms-hikari - Start completed.
> [16:56:42 INFO]: [LuckPerms] Loading messaging service... [SQL]
> [16:56:42 INFO]: [LuckPerms] Loading internal permission managers...
> [16:56:42 INFO]: [LuckPerms] Performing initial data load...
> [16:56:42 INFO]: [LuckPerms] Successfully enabled. (took 2176ms)```
😮
therre ya goo
That's for another server, yeah?
Main server is getting its connection refused by the db or something in between
Check firewalls, etc
basically you probably missed something on main that you did on hub 1
well
that's simple enouigh to explain
you need to go back to a server with your ranks on it (switch storage-method back to h2)
oof
@harsh thicket I mean a server that had your ranks
if you're on windows
yes!
Which server had your ranks
my main server
oke
storage-method: h2
?
oke its starting
oh thank gowd
lp info=> [17:03:52 INFO]: [LP] Running LuckPerms v5.1.26 by Luck.
[17:03:52 INFO]: [LP] - Platform: Bukkit
[17:03:52 INFO]: [LP] - Server Brand: Paper
[17:03:52 INFO]: [LP] - Server Version:
[17:03:52 INFO]: [LP] git-Paper-1618 (MC: 1.12.2) - 1.12.2-R0.1-SNAPSHOT
[17:03:52 INFO]: [LP] - Storage:
[17:03:52 INFO]: [LP] Type: H2
[17:03:52 INFO]: [LP] File Size: 0.66MB
[17:03:52 INFO]: [LP] - Messaging: None
[17:03:52 INFO]: [LP] - Instance:
[17:03:52 INFO]: [LP] Static contexts: None
[17:03:52 INFO]: [LP] Online Players: 0 (0 unique)
[17:03:52 INFO]: [LP] Uptime: 16s
[17:03:52 INFO]: [LP] Local Data: 0 users, 47 groups, 0 tracks
my wanks are back
how do I put them globally?
!switch
If you wish to change your storage type (e.g. to YAML or MySQL) you may need to follow these instructions to ensure your groups and permissions are migrated to the new storage type.
follow this guide
Hey, it's me again !
I'm putting this down here, I guess it's related to my problem I had earlier about the editor and the import not working anymore... (the editor still works)
https://bytebin.lucko.me/HBwvzWDUxl
Have a nice evening 🙂
wtf do i do then
I understand everything now
/luckperms import bananas=> [17:11:31 INFO]: [LP] (Import) -> Starting import process.
[17:11:31 INFO]: [LP] (Import) -> Reading data....
[17:11:31 INFO]: [LP] (Import) -> Waiting for initial update task to complete....
[17:11:31 INFO]: [LP] (Import) -> Setting up data processor....
[17:11:31 INFO]: [LP] (Import) -> All data entries have been processed and scheduled for import - now waiting for the execution to complete..
[17:11:32 INFO]: [LP] (Import) COMPLETED - took 0.297 seconds - No errors.
FUCK YEAH
did you swap to the other database type first
alright good
then did that
[17:11:45 INFO]: [LP] Running LuckPerms v5.0.88 by Luck.
[17:11:45 INFO]: [LP] - Platform: Bukkit
[17:11:45 INFO]: [LP] - Server Brand: CraftBukkit
[17:11:45 INFO]: [LP] - Server Version:
[17:11:45 INFO]: [LP] - git-TacoSpigot-"95870a93" (MC: 1.8.8) - 1.8.8-R0.2-SNAPSHOT
[17:11:45 INFO]: [LP] - Storage:
[17:11:45 INFO]: [LP] - Type: MySQL
[17:11:45 INFO]: [LP] - Ping: 0ms
[17:11:45 INFO]: [LP] - Connected: true
[17:11:45 INFO]: [LP] - Messaging: Sql
[17:11:45 INFO]: [LP] - Instance:
[17:11:45 INFO]: [LP] - Static contexts: None
[17:11:45 INFO]: [LP] - Online Players: 0 (5 unique)
[17:11:45 INFO]: [LP] - Uptime: 15m 5s
[17:11:45 INFO]: [LP] - Local Data: 0 users, 1 groups, 0 tracks
scam
that's my hub
lp info=> [17:12:19 INFO]: [LP] Running LuckPerms v5.1.26 by Luck.
[17:12:19 INFO]: [LP] - Platform: Bukkit
[17:12:19 INFO]: [LP] - Server Brand: Paper
[17:12:19 INFO]: [LP] - Server Version:
[17:12:19 INFO]: [LP] git-Paper-1618 (MC: 1.12.2) - 1.12.2-R0.1-SNAPSHOT
[17:12:19 INFO]: [LP] - Storage:
[17:12:19 INFO]: [LP] Type: MySQL
[17:12:19 INFO]: [LP] Ping: 0ms
[17:12:19 INFO]: [LP] Connected: true
[17:12:19 INFO]: [LP] - Messaging: Sql
[17:12:19 INFO]: [LP] - Instance:
[17:12:19 INFO]: [LP] Static contexts: None
[17:12:19 INFO]: [LP] Online Players: 0 (0 unique)
[17:12:19 INFO]: [LP] Uptime: 1m 2s
[17:12:19 INFO]: [LP] Local Data: 0 users, 47 groups, 0 tracks
that's my main server
ok make sure they're connected to the same db for sure and run /lp networksync
I need some help. This is my newbie group https://i.imgur.com/xunMYHA.png
This is my VIP group https://i.imgur.com/t3OiFSY.png
and this is the placeholder I'm using on my scoreboard https://i.imgur.com/SuSaCKm.png
The expected result is that when someone has the VIP group that the placeholder would be VIP but it's Newbie instead
Am I doing something wrong?
it might be to do with how your "mecraft" plugin deals with multiple ranks
actually wait
hmm
send lp user <name> info and papi parse <name> <placeholder> for that user
yeah that's weird, what are your primary group calculation settings in the LP config
ok, what is group {4}
If you would like to request a feature for LuckPerms, or report a bug, feel free to open an issue on GitHub!
can you please include those screenshots on an issue on github?
sure
also describe what's going on ofc
I have no idea where this problem could be originating so Luck will take a look asap
for now, maybe make a track and use %luckperms_prefix_highest_on_track_name% placeholder?
%luckperms_primary_group_name% seems to work as I want it to so I'll just use that
writing it atm
hi guys 🙂 im new here, and ran into an issue.. hope someone here can help me. When i give a player the temp permission for essentials.fly it will remove the permission after set time, like it should. but i cant find a way to disable the persons fly. Does anyone know if luckperms fires an event when a temp permission expires?
oh 😦 thats too bad
It does what it's supposed to do, you could maybe request this on bukkit plugin requests
was hoping i could use it to create a temporary fly plugin, but looks like ill have to find something else then
you can definitely make one, you just don't need to / want to use permissions
if the api gave something like a callback i would be able to use that 🙂 but i understand it doesnt. so ill have to find something else than luckperms temp permissions
Nooo i misread
I think it does
It's just we have a channel for that called #luckperms-api so i was confused and brain addled
if it gives a callback i could just run a command to disable that players flight
oh sorry didnt know that
im new to the discord
Learn how to use the LuckPerms API in your project.
thanks alot, ill look into it. I should be able to make that work 🙂
@high raven thank you for the information 🙂 got it all working now
Hey Mafkees92! Please don't tag helpful/staff members directly.
Awesome!
is it possible to make the chat colors of a specific permissions group a color other than white?
For example, I want people in the patron group to type in aqua instead of white
?
Yes, use a plugin capable of per-group chat formatting
does essxchat do that?
Yes
What gives? Why is it doing this??? I feel like every once in a while the lp plugin just give up
What command did you run to get that output
/lp user 55Navyboy permission check essentials.balance server towny
Does the user have the permission directly or from a group
group
Ok so 2 things
Check only checks directly
Checkinherits checks group
And
server towny as a context means you're looking for a context of server=server and world=towny as the command outputs
hm
If you want Skyblock and towny you use server=skyblock server=towny at the end of the command
Because it's set in both contexts on that node you need to specify both in the command as I said
/lp user 55Navyboy permission check essentials.balance server=towny server=skyblock
once again:
Check only checks directly
Checkinherits checks group
if they get the perm from a group, checkinherits will show it
Oh oh oh I get it
Well I did that too
/lp user 55Navyboy permission checkinherits essentials.balance server=towny server=skyblock
but then he still can't do /bal
!update first and then we'll find out what the problem is
You can download LuckPerms for Bukkit/Spigot, BungeeCord, Sponge, Nukkit and Velocity.
np!
getting this error when importing
https://hastebin.com/ofojupazof.bash
Try redownloading the plugin from https://luckperms.net
Also, no need to use several channels :) everyone here is on all of them
Is there any more stacktrace than just the one?
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Looks like a scheduler error? Can you please try with only LP on the server
hey anyone got any clue how tab manager works? trying to set the header and footer but there is nothing for it in the configs and im jsut so confused ;--;
no clue, the only tab plugin that has good docs that i know of is TAB
hmm may update to that then sorry to ask here jsut cant find anywhere else to ask lol
thank you ❤️
Same thing @high raven even when I remove everything
Hey Mike! Please don't tag helpful/staff members directly.
tbh I've never seen that before, it's probably a bug
!bugreport can you please make an issue and include that pastebin, as well as a description of what you're doing, what sponge version etc on here:
If you would like to request a feature for LuckPerms, or report a bug, feel free to open an issue on GitHub!
oooh maybe
can you try exporting everything
and then see if it imports
that'll tell us for sure
it's not recommended, things can go wrong and have done so before
sometimes it works, sometimes not
it would help to see if the import of everything works though
Okay that worked
so now I can delete every user?
so the only thing that will be there are groups?
yep
yw!
how do i download this to a pixelmon server? when i launch my server it just gives me an error saying that it cant be read and it ignores it
You can download LuckPerms for Bukkit/Spigot, BungeeCord, Sponge, Nukkit and Velocity.
I have spongeforge, and i downloaded the latest version of Luckperms. But when i drag it into my mods folder to install it and restart my server it says it couldnt be read
bruh its not mods folder its plugins folder
even if its through spongeforge? because im pretty sure if its sponge its all technically mods
just put it in the plugins folder and https://tryitands.ee
!paste ful startup log
Seeing a paste of the problem makes everything so much easier! Use https://bytebin.lucko.me/ for easy pasting!
Pastebin any relevant segments of the console log. If it's a startup error, this includes the entire startup log!
Pastebin the entire LuckPerms config file (passwords removed) as well as any other relevant files!
24.07 05:38:45 [Server] main/ERROR [FML]: Unable to read the jar file LuckPerms-Sponge-5.1.81.jar - ignoring
maybe you full startup log can show a better picture of whats the error
can you send that?
Please use https://bytebin.lucko.me to send files in the future. I have automatically uploaded message.txt for you: https://bytebin.lucko.me/t2L4In1LjR
does seem like a corrupted .jar, are you uploading it to a server hosting site?
yes
hmm using FTP?
yup
Is there any way to restrict luckperms.user.promote to a specific track?
i.e. mods can promote any players along the player track, but can not promote users along the staff track?
I tried luckperms.user.promote.player true, but it denied access on the basis of staff not having the promote command.
I tried the below as well, but it didn't work and unfortunately gave staff the ability to promote users on all tracks for some reason:
luckperms.user.promote true
luckperms.user.promote.* false
luckperms.user.promote.player true
!argumentbased
Fine tune exactly what users with permission to use LuckPerms can do.
I figured args was always a possibility, but I was hoping it wouldn't be needed... restricting promotions to tracks kind of seems like one of the primary reasons for the track feature to exist in the first place, so I assumed it would be naively supported
It is very much supported by luckperms
You just need to config the appropriate perm nodes using the argumentbased feature by luckperms linked to you above ^^
24.07 05:38:45 [Server] main/ERROR [FML]: Unable to read the jar file LuckPerms-Sponge-5.1.81.jar - ignoring
@craggy sentinel put it in the damn plugins folder
Plugins go in the mods folder on a sponge setup
Thats dumb
I've updated my worldguard
but i still get the same error
Can anyone tell me what's going on here?
https://pastebin.com/jhrCW11v
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
I can't open my server with this crash :/
every 2-1 hour
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Is everything up to date?
Check for every plugin you see in the errors
WorldEdit WorldGuard Vault LuckPerms etc
Yea WorldEdit is important because WorldGuard depends on it
And ehh always handy to update Vault
Tell me how it goes :)
@unkempt elk try deleting your libs folder in the LP folder and restart
Please use https://bytebin.lucko.me to send files in the future. I have automatically uploaded dsa.txt for you: https://bytebin.lucko.me/zniB5uQxgD
I've this error after install extra contex
!extracontexts Please, on this repository, make an issue and include the log you just sent me. Looks like something between WG/LP broke after an update and Luck will need to take a look
Add contexts not supported by stock LuckPerms.
Aight, I've submitted. hope it'll not take too long :/ , Btw is there any others way to make it work?
not that I know of, unless you downgrade several things (maybe even the server version? im not sure)
it would be hard, but if you're patient it will be fixed
I'm on 1.15.2
Hi, I have luckperms installed and running on my server but I'm having problems with granting permissions to groups. Im just testing in my admin group to make sure things are working but none of the commands I give myself permission to work. I'm not sure if its because the command I'm trying to give permission to is from a different spongeforge mod or if I'm just confused with how to do it.
Nevermind.....I think I solved the issue myself
So, can I get an explanation on LuckPerms OP or AutoOP? I assume the safest way to manage OP perms is to not have OPs, but I'm kind of confused on how to make LP OP safer.
Autoop makes op status a perm node basically
Question, I have my tebex and when a player buys something it doesn't update their rank. It does all the other commands tho
Is [mcname] actually a valid tebex placeholder
yeah. I can change it tho. Just to make sure
What shows in console when it runs
[00:38:34 INFO] [BuycraftX]: Dispatching command 'lp user {mcname} parent set elite' for player '55Navyboy'.
And then
nothing
LP says nothing
Then it either crashed in startup or isn't receiving the command
here is another question
55Navyboy is online in another server
says offline??
hm...
are your servers all connected to the same LP database
yup
You know the uuid and the name connect right
They're just different ways of stating the same user
Having a Players UUID is harmless. It's not hard to get them either.
idk
ik
anyway
so.. any idea why its not being set?
and yes I just double checked that they are all correct with my database
if LP says nothing at all, it's not getting the command
hm...
fixed it
The command was being sent to the Waterfall server.
I was doing lp user... instead of doing lpb user...
Heh well that'd do it
Larry wdym that autoop makes op a perm node?
So i shouldnt have any ops in mc?
and assign autoop in lp?
If you turn autoop on in the config, it disables vanilla op and will grant basically the equivalent to anyone with luckperms.autoop node
so it allows me to sync ops via bungee i assume?
Yes if you sync everything else
and is it safer than op in a regular server? or worse?
Equivalent but I'd say better because you control it better
Is there a way to reset permission and group data for all users but not the group perms?
Server launch got f||uck||'ed in a way I never thought it could
!bulk
Quickly update a large amount of user and group permissions by using the bulkupdate command.
/lp bulkupdate users delete "permission !~ %.%"
Would that work?
Okay I seem to have fixed my group woes, wew
Hey y'all, I'm trying to help out my buddy @latent quartz here. They are trying to use verbose to sort out a permissions issue. They run /lp verbose record playervaults, and then do a command that definitely queries a couple permission nodes starting with playervaults such as playervaults.commands.use (and they do the command at least once), and then they run /lp verbose upload and end up with something that looks like the below image. Looking for some advice on how to proceed here.
make sure y'all on latest LP and run lp verbose command <name> <command>
that'll help
!update If they aren't on the latest.
You can download LuckPerms for Bukkit/Spigot, BungeeCord, Sponge, Nukkit and Velocity.
@high raven name being player name??
Hey Cager! Please don't tag helpful/staff members directly.
Heyo larry and omega! That feature appears to run only in chat, according to the documentation. Is there a way to have it not do that? Only asking because I know the command is going to trigger more than 100 perm checks ^_^
@latent quartz Yes
you can do in console afaik
Yeah, /lp verbose command YOURUSERNAMEHERELOL pv 4 should do it. Run that from console as larry said.
just, I wrote those docs and am notorious for writing bad docs
Mind pointing out what gave that impression
I'll fix
If it gives a pile of output, you can send it to me in the private conversation we have to avoid spamming 😛
What impression, larry?
by run in chat I mean output to chat.
That feature appears to run only in chat, according to the documentation
compared to the uploady option.
The player needs to be online but it should work from console
i ran it in my console is it supposed to say something in chat or?
no in console
Should give output in console, assuming you're in the game.
what is the output in entirety? It may point to the issue
Sorry! I do not understand the command !upsate
Type !help for a list of commands.
Sorry! I do not understand the command !upsate
Type !help for a list of commands.
!update
You can download LuckPerms for Bukkit/Spigot, BungeeCord, Sponge, Nukkit and Velocity.
keeps all config and perms correct?
Yeah
what? XD
COSMICVAULTS WHAT THE FUCK IS THIS
wait
it says player vaults everywhere else
you have the plugin
Remove cosmicvaults lol
🍿
oh wow this other stupid dev i fired today put in player vaults and cosmic vaults
Looking at your plugin list you PM'd me, I DON'T EVEN SEE PLAYERVAULTS THERE. ._.
ive got it its in there its just not even popping up anymore just the file minus the .jar
can someone tell me a good scoreboard plugin?
im putting it back in ._.
f yeah
if you do not have the .jar, the plugin won't work. The folder is just storage for the jar @latent quartz
Is there command which tell you duration of the rank? I mean that I wanna have how much time player will have this rank
Display data such as user prefixes and groups from LuckPerms in other plugins.
what is the perm to give a rank full access to luckyperm
luckperms.*
and is there away to give people a diffrent rank when they join with out an admin needing to
so from newbie to member
do you want every player to get the member rank as soon as they join?
yh but i dont want it to be default because their username doesnt stay in the editor
... well assigning the rank by default is the only way supported by luckperms which gives them the rank as soon as they join
i just want their name saved in the editor so i can change if needed when they are offline
would you settle for being able to change their permissions with in-game commands
because you can do that to any player, even if they are not in the editor
if you really wanted you could even set a temporary useless permission just so they show up in the editor
dont i just set up a track from default then i promote
you can totally do that, but you'd still have to do so manually
but it would able to do it if they are offline
just use the player's UUID
Don't post your problem in both chats.... Lmao
sorry :<
there is probably no way that i can instantly move players who joined for the first time to <explorer> right? (explorer = our default rank)
you can make the default rank inherit the explorer rank
no problem 😉
PLEASE SOMEONE ACTUALLY HELP. I have bungeecord and I am using per server permissions. When builders join the server, they can not use the commands that I have assigned to the builder group. Only vanilla commands work. Help
did you install the plugins
yes
yes
I only have permissions set up on one server
you need to setup permissions on all the servers
if you dont want to
you need to make a database
just do /export data
and then grab the file
I want per server permissions
follow these steps:
wait
do /export data
and then grab the file that lp yeets out
and then put it in the other servers' luckperms folder
and then login
and do /lp import data
on all servers
Okay
and then restart your servers
I will tell you when that is done
I just messed up on the permission nodes. Everything works
👏
I'd love to see the faces of those iditots once they realize they'll never get a cape
Same with the nitro ones ngl xD
ik
hey how would i set up permission cooldowns via the lp web editor?
I don’t think cooldowns are a feature, please tell me if I’m wrong though
!cooldown
Sorry! I do not understand the command !cooldown
Type !help for a list of commands.
!help
!advanced
!api
!argumentbased
!ask
!bulkupdate
!bungee
!cauldron
!chat
!colours
!commandequivalents
!commands
!config
!context
!default
!downloads
!editor
!errors
!essentials
!extensions
!extracontexts
!faq
!helpchat
!inheritance
!install
!locale
!meta
!migration
!notworking
!nowildcard
!pasteit
!permissions
!placeholders
!selfhosting
!stacking
!storage
!suggestions
!switchstorage
!sync
!tracks
!upgrade
!usage
!userinfo
!verbose
!weight
!whyluckperms
!wiki
@remote scaffold cooldowns? Like you can't run the same command again for 1 minute? Or do you mean only being able to run a command for the next 1 hour
Yea nah cool downs are sadly not a thing yet
And never will be
Ehh would be cool
Not possible with a permissions plugin
Not possible with a permissions plugin
Totally possible
Because just alone typing the command out checks for the permissions of the command alreay
like hteres a node for it so thought i could do it with lp as well
ill go to nucleus discord for help sorry :p
ty tho 😄
You can't reliably tell if a permission check was to check if you can run the command or was to actually run the command @maiden raptor
Grant permission, use the command, remove permission, wait cooldownTime, grant permission again
@remote scaffold Nucleus has cooldowns. If you need help with that reach out to their support
@maiden raptor again, LP can't know if the command has been run just alone from permission checks
willl do 😄
@maiden raptor again, LP can't know if the command has been run just alone from permission checks
That’s sad :(
So it’s not possible within LuckPerms but I guess you could easily make a plugin or addon that would do that
For example @maiden raptor say you type /help which checks all your permissions and then you can't do any cooldowns ones until the cooldowns. Or you type out /warp but don't actually warp? Too bad, gotta wait for the cooldown anyways
That’s fair
So indeed cooldowns on permissions are useless
To be honest it’s a miracle a plugin like this is free :)
can i sync data between local servers without hosting a database server
no
!wiki
Learn how to use LuckPerms and all of its features by reading the wiki on GitHub.
i got this error
Please use https://bytebin.lucko.me to send files in the future. I have automatically uploaded message.txt for you: https://bytebin.lucko.me/jE79Wf7IMj
!errors
Here's a page with some common storage system errors.
!help
!advanced
!api
!argumentbased
!ask
!bulkupdate
!bungee
!cauldron
!chat
!colours
!commandequivalents
!commands
!config
!context
!default
!downloads
!editor
!errors
!essentials
!extensions
!extracontexts
!faq
!helpchat
!inheritance
!install
!locale
!meta
!migration
!notworking
!nowildcard
!pasteit
!permissions
!placeholders
!selfhosting
!stacking
!storage
!suggestions
!switchstorage
!sync
!tracks
!upgrade
!usage
!userinfo
!verbose
!weight
!whyluckperms
!wiki
!extracontexts
Add contexts not supported by stock LuckPerms.
How do I give a specific player a specific permission node? please dm me if you know thank u
I mean ping me not dm me
.
!usage @prisma hinge
Here's a guide to help users understand and use LuckPerms for the first time.
lp user <userName> permission set <permissionNode> true|false
!essentials
Make sure you are using EssentialsX and Vault for prefixes. For any other issues with Essentials, you should seek support in either #general or the official EssentialsX support Discord.
!extracontexts
Add contexts not supported by stock LuckPerms.
Thanks
Do you need to install the bukkit versions on each server if it's within a bungee network or do you use the bungee jar?
Kinda new to the whole bungee thing and I wanna mess around with it. 🙂
Install LP Bukkit on each server and LP Bungee on the bungee
Recommend reading this https://luckperms.net/wiki/Network-Installation and https://www.spigotmc.org/wiki/bungeecord-installation/
Ah okay I thought as much
I'm currently reading them, just wanted to make sure since it doesn't say on the Spigot post that there's separate versions being bungee and bukkit
I found out via finding the website
So the spigot post/github post is a little vague
how to change the no permission message
If you can't do it in the lang file you probably can't do it but you can check the config too
Your chat formatting plugin
That connects LP to the chat format plugin
Vault is not a chat format plugin in itself
i am using thease
EssXChat
Look in your essentials config
Find the chat section
And config it to not have the {GROUP} placeholder in the chat format line
Hi, I'm trying to use an auction house plugin that requires the user has the permission auctionhouse.use. Players have this by default, but I want them to start on a Bartering track in order to access the auction house. All players start in the Default group and there are multiple tracks that can be progressed on simultaneously.
If I set auctionhouse.use to false for Default members, then set it true for Bartering members, they still aren't able to access it unless I remove them from Default.
So I'm not sure if I should be doing the separate tracks differently
LuckPerms allows you to set weights in order to determine the priority of certain nodes, like permissions and even prefixes. A higher weight number is a higher priority.
Hm, so if I set the default group's weight to 0, as long as the first group in each track has a weight 1 it should override default perms
then each additional group should inherit that weight
Pretty much. As the wiki states however setting up large gaps of weight and setting it completely up should prevent many problems
Gotcha. Just tried it and it looks like groups won't inherit weight from parents, but it still works. Thanks 😄
Np!
Hello, does anyone know the command to see who gave a user rank?
no need to ask in several channels, we're all on the same server and can see them all
I am a bit confused with where I am going wrong but I created a few groups and assigned myself to one of them, I then added a prefix with a color code. My issue is that although I have set my essentials chat format to include the group prefix, the word "default" is in front of my username in chat instead
Sounds like prefix weight is configured incorrectly
screenshot /lp user <you> meta info and send here
Higher # = higher priortity, no real limit
gotcha, yeah i just used 10 as a frame of reference
We recommend people have their highest-weighted group be weight 100 at the minimum, so that there's more space if you decide to add more ranks
LuckPerms allows you to set weights in order to determine the priority of certain nodes, like permissions and even prefixes. A higher weight number is a higher priority.
read this it's awesome
ive set my group to the highest priority that why i am confused
at least i think i have lol
isn't this an essentials config problem?
Prefixs have a seprate weight from groups

