default group not being assigned
Ironic8b498 opened this issue · 3 comments
I have tried to fix my issue with "/pex set default group " So I ran /pex set default group lobby lobby and I get in chat "Group "lobby" is no loner default in world 'null'" when I check if there is a default group set for lobby the list is blank. I'm attempting this on Spigot 1.12 with pex 1.12.4
The easy solution: open the permissions.yml file in Notepad (Notepad++
is better) and make sure only one group has default: 'true'
in their options:
section as you see in this example. (The other groups don't need default: 'false'
in them.)
The PEX Command is actually /pex set default group <group> <value>
(/pex set default group GroupNameHere true
. Then open the permissions.yml file in Notepad anyway to make sure the data is displayed in there correctly. (heh)
I forgot to mention I'm using SQL, the command worked . When i ran the command to see what the default group was it has a group now. When I import perms to a flat file so I can see it there, but there is also something I'm not sure what it means. https://www.hastebin.com/iwasijaniq.pas My guess is I mixed up the values in the command to set a world default and created a new world called true. I can't seem to remove it from the perms. I updated my file for commands to pex just in case I make mistake and remove default group again. Thanks
On the positive side, "fake" stuff in the file won't have any sort of effect on the server at all— neither positive or negative effects aside from making the file longer —so I'd bet the same is true when using SQL. PEX may be delayed in finding other information it's looking for in a group, but we're talking about single-digit milliseconds of a delay— and to give you something to compare it to, your brain takes 150 milliseconds to respond to a trigger of any kind, from seeing something, to wanting to say something, to even being surprised by something, so PEX (actually, the computer) is still handling operations for your server extremely fast.
As long as you don't have dozens or hundreds of "fake" things in the file/SQL database, it won't impact the server in a negative way. (It's just something us neat freaks don't like to see, in which case we'd migrate to file, clean it up, delete the database, and migrate to database again.)
You're welcome. :-) If you have any other issues, you can still post here after I close this ticket.