LuckPerms

LuckPerms

41.4k Downloads

Issue with TownyPerms

RubenBarrionuevo opened this issue Β· 103 comments

commented

Luckperm in bungee: Yes
Luckperm storage: MySQL
Server: Spigot version: 1.13.2

A few days ago I was using a previous version of LuckPerm.
Due to the fact that each time the version was becoming more dated, we decided to update to the LuckPerms version v4.3.38.

The problem comes when the towny permissions are lost while the users play and suddenly

We have updated to version 4.3.47, but the error continues.

Here is the report I made to the developers of the Towny plugin, in case it could be helpful ->
TownyAdvanced/Towny#3123

In the logs, no error appears about these permissions, I made some verifications with the / lp verbose and some towny permissions are shown as undefined, but this has always been so, I do not understand

commented

Update: when I use the / lp sync command, it is solved, until the errors return

commented

I need more detail to really be able to look into the problem more.

Do you have a specific verbose log that shows LP returning true/false/undefined when it shouldn't be? If you do, we can go from there.

Otherwise, I need more detail about exactly what's wrong. :)

LuckPerms is just a permission plugin, it returns a true/false result based on a number of fairly simple calculations and rules. It shouldn't have any specific compatibility or incompatibility with any plugins in particular (e.g. Towny). It's more likely that some configuration in wrong either with your permissions setup or within Towny itself.

commented

Please, look the link -> TownyAdvanced/Towny#3123

LuckPerm and Towny until today had not caused me any error, between both
The towny permissions, I configure it in its corresponding file, which has nothing to do with LuckPerms. However, if you see the / verbose that I did and report in the towny message, you will see how the verbose analyzes a permit that is only established in the towny permits

When I reload the towny plugin, the permissions failures continue.
If I do a / lp sync the permissions work correctly again.

So LuckPerms is interfering in some way with the Towny permits

commented

Creo que se estarΓ‘ poniendo en contacto con el desarrollador de towny, no es normal que tarde tanto.

commented

Estoy por darle el comando /lp sync a todos los usuarios del servidor xD

commented

I have the same problem

commented

After a long time trying to cause these failures, I have not achieved it just happens at any time.
There are not a series of steps that by following them cause the error.

Update the network completely to the version of LuckPerm 4.3.58 and the error continues

And it happens exactly what happened to this user, some time ago ->
#1098

It's as if the plugin wants to control the Towny's node, I can not at the beginning but after a while it manages to control the permissions of this plugin

commented

It's as if the plugin wants to control the Towny's node,
Tasks that require towny to update perm nodes would be a good test, e.g. what happens if somebody joins/leaves a town, does that trigger it?

commented

After a long time trying to cause these failures, I have not achieved it just happens at any time.
There are not a series of steps that by following them cause the error.

Ok I appreciate that :)

Will hopefully have some time to look into this in the next few days - probably going to be sometime after Christmas though. ;)

commented

OK, perfect
We keep in touch in this case

Enjoy Christmas!

commented

@lucko This should be solved by Towny or LuckPerms?

commented

From what you've said it does indeed sound like an incompatibility between LuckPerms and Towny, but ideally I need a list of exact reproduction steps.

In other words, what do I need to do in order to make the problem occur?

commented

Update the network completely to the version of LuckPerm 4.3.62 and the error continues

commented

I need some reproduction steps.

I've downloaded and messed around with Towny a bit, but I have no clue what to do to trigger the issue.

commented

World change teleport will reproduce the problem

commented

Ok, here's my environment.

> about
[19:56:46 INFO]: This server is running Paper version git-Paper-496 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
[19:56:46 INFO]: Checking version, please wait...
[19:56:46 INFO]: You are running the latest version
[19:55:31 INFO]: [com.palmergames.bukkit.towny.log] [Towny] Version: 0.93.0.0 - Mod Enabled
[19:55:27 INFO]: [LuckPerms] Enabling LuckPerms v4.3.68

No other plugins installed, this is a totally clean server.

I opened the townyperms.yml file and added minecraft.command.gamemode to the nomad section, as follows:

# The 'nomad' permission set covers players not in any town
nomad:
    - towny.command.towny.map
    - towny.command.towny.prices
    - towny.command.towny.tree
    - towny.command.towny.time
    - towny.command.towny.universe
    - towny.command.towny.version
    - towny.command.towny.war
    - towny.command.town.online
    - towny.command.town.here
    - towny.command.town.new
    - towny.command.town.join
    - towny.command.town.list
    - towny.command.plot.perm
    - towny.command.nation.list
    - towny.town.resident
    - towny.town.spawn.public
    - towny.chat.general
    - minecraft.command.gamemode

Then logged into the server, ran /gamemode 1 - command worked successfully, switched worlds to the nether, command still worked.

So, "World change teleport will reproduce the problem" doesn't seem to be causing it.

The sort of detail above is what I need to be able to fix the problem. Specific steps I can go through on a clean server.

commented

I have investigated the problem a bit more and there are no steps to be followed to reproduce it, it only happens from one moment to the next. The way to solve it is to change the world, exit and re-join to the server or use '/lp sync' which is very annoying

commented

That's unfortunate, but as you can maybe appreciate, I can't really do anything with that information.

commented

I have the same problem of permits for a long time... Anything new?

commented

The error continues with the version of luckperm 4.3.73

The data that Luis gives you, are partially true, the problems usually occur in the following actions:

  • When a user changes the world
  • When a user is invited to a city
  • When a user leaves a city

And the problems seem to affect only the users involved, that is, while a mayor can enjoy his permissions comfortably, another mayor can be a victim of this error and is deprived of his mayor's commands.

commented

@RubenStryker You have discord? We can try to find the problem

commented

@LuisGVE sure, of course, my discord nick is @RubenStryker#1256

commented

The fix for the above issue might fix this one too.

Would you guys be able to test using v4.3.76 or newer https://luckperms.github.io/

commented

This problem continues on the last version

commented

Yep, the error continues with the version of luckperm 4.3.76

commented

Having this problem too. Seems like it started with most recent release.

commented

I'm also experiencing this issue. Though I'll test with 4.3.79 once I get the chance. One thing I'd like to notice is that my 1.13.2 server doesn't experience this issue at all which is running build 4.2.89 while my 1.12.2 server is running 4.3.73 which does experience the issue. So there is a possibility that something happened between 4.2.89 and 4.3.x which caused this issue to appear.

commented

In this case I think the best option would be to go back to the previous version, in which the failure does not occur

Where can I get this version?

commented

@RubenStryker You could go to the Release Tags and build against a specific commit, or you could try the version history on the spigot resource page.

commented

Thank you very much, tomorrow I will check it

commented

It used to be on the jenkins, but sadly it appears the only the 10 most recent builds are kept on there. I had uploaded it onto my server on the 8th of September 2018 so I assume it was based on this commit eca6b09

commented

I'm still totally lost with this issue. I've done a number of tests to try to trigger bad behaviour with LP's permission attachment handling - resulting in the fix above - but that still doesn't seem to have fixed the issue.

I've also compared the difference between the current version and the versions that are supposedly fine, but can't really see anything significant.

As I said, I really need steps in the style of this to be able to look any further into this issue.

commented

We have already told you the steps that produce it or that seem to produce it (in a margin of 90%).

The last thing you could do, to try to help you find the error, would be to invite it one day that you can to the server.

It is provided with the necessary tools for testing, (configurations, op, rank admin and it indicates the steps to follow so that the error occurs at the moment)

commented

Even "keep trying this" x times until the issue appears is fine - I understand it only happens sometimes.

However, I have never used Towny before and don't even know where to start with that. I don't have hours to spend messing around with the plugin just hoping to stumble upon the issue, which is why I need instructions.

Make a clean server, containing only LuckPerms & Towny with default (or very close to default) configs and try to reproduce the issue. If you're able to, explain how and hopefully I'll be able to follow.

commented

During this month, I will do everything possible to find the error.
I tried to play it on a clean server, from 0 and I could not reproduce the error.
I am very frustrated, but I will find what causes the error

commented

I would like to ask, if as a developer of this plugin you can provide me with certain information, about which plugins may interfere or not be some relevant data that can help me.

commented

I think, it can be something related to the use of this bungee plugin with mysql connection

commented

I'm having this problem too. The Towny dev says it's because of the Luck Perms caching. Does that have any meaning or relevance to this?

commented

Very unlikely to be a conflict with another plugin - potentially something that integrates with Towny could affect it?

commented

I went back to review all the content of this discussion and I think I will detail again what exactly happens.
After seeing the tests he did, using the gamemode command I can see that he did not do the tests properly. (It should be noted that the command you introduced wrong to not have essentials)

As many of us already know, the towny permissions are assigned in the file townyperms.yml and the permissions in LuckPerm go by a different path

First, I want to emphasize that the errors happen with the permissions that are set in townyperms.yml and are not configured in LuckPerm.
http://towny.palmergames.com/towny/towny-permission-nodes/

Featured example:

  1. Users without a city have the following permission by default:
    towny.town.resident

  2. If the user enters a city and then abandons it, he goes back to being without a city, but he stops having the previous permission to join another (This test sometimes has to be tested repeatedly and it is not necessary to change the world)

  3. At this moment if I make a / lp verbose record and I see that in LuckPerms the towny.town.resident permission comes up with the "Denied" label

  4. However, LuckPerms does not have to register these permissions, nor mark them as denied, because these permissions are controlled by the townyperms file

  5. To solve this error, I as a server administrator have only two ways
    5.1. Use the / lp sync command (I've had to give it to all the users of the server, otherwise the server is a real chaos)

5.2. Grant the towny.town.resident permission to users through LuckPerm (This way the error with this command would never happen again)
What is the problem?
That there are certain permits, of mayors and assistants that I can not grant through LuckPerm, because they would put at risk the integrity of the cities.

In short, LuckPerm interferes with Towny permissions trying to control permissions that you do not have to control.

The tests I have been able to reproduce on a clean new server with the following plugins:

  • LuckPerm
  • Essentials
  • Vault
  • Towny
  • Multiverse-Core

I stress that also what happens with towny.chat permissions if only assigned in the townyperms file.

commented

The error continues with version 4.3.94, updated yesterday.
The most affected nodes that LuckPerm tries to control are:

  • towny.town.spawn.town
  • towny.town.resident
  • towny.chat.general
  • towny.chat.town
  • towny.chat.local
commented

4. However, LuckPerms does not have to register these permissions, nor mark them as denied, because these permissions are controlled by the townyperms file

You're misunderstanding how the townyperms file works. Everything is still controlled through LuckPerms.

Just to reiterate what I've said already:

Even "keep trying this" x times until the issue appears is fine - I understand it only happens sometimes.
However, I have never used Towny before and don't even know where to start with that. I don't have hours to spend messing around with the plugin just hoping to stumble upon the issue, which is why I need instructions.
Make a clean server, containing only LuckPerms & Towny with default (or very close to default) configs and try to reproduce the issue. If you're able to, explain how and hopefully I'll be able to follow.

I need a specific list of steps to follow. I do not know how to use Towny, I've never played a server with it.

commented

You're misunderstanding how the townyperms file works. Everything is still controlled through LuckPerms.

I know how the towny permissions works perfectly.

And I keep telling you, that your plugin does not have to control these permissions.
Because in this way LuckPerm can not differentiate between which users have ranges in towny and which do not.

I can not assign permissions of assistant, mayors or other towny ranks through LuckPerm.
https://pastebin.com/hKNFz7QP

I'll take the steps to follow so that an error is reproduced:

  1. Create bungeecord and spigot server and configure them appropriately.
  2. Use MySQL storage and connect both servers to the same db
  3. Also install the plugins: Towny, Vault, Essentials, Multiverse-Core (The latter is not necessary)
  • Causing the / t spawn error -
  1. You will need a user to create a city.
  2. Invite another user to the city.
  3. The user who joins the city tests the command / t spawn
  4. Repeat these 3 previous steps until the error occurs.
  • Causing error from nomadic users -
  1. Invite a user to the city
  2. This user stops being nomadic (in towny) and becomes a citizen
  3. Now you take and expel this user from the city.
  4. The user returns to be nomadic, however you can not invite him to another city (according to the author of Towny is because of the LuckPerm cache) because the user continues to maintain his rank of citizen and it is necessary to do a / lp sync

This last case, it has to be repeated, the errors do not appear at the first moment.

And none of these errors occurs if LuckPerm is not installed.

commented

And I keep telling you, that your plugin does not have to control these permissions.

It's not doing anything special to "control" them.

  • Causing the / t spawn error -

Here's a log of me testing the first "error" you described.

I ran though the steps 10 times, worked fine every time.

[14:26:30 INFO]: Done (9.021s)! For help, type "help"
[14:26:30 INFO]: Timings Reset
[14:26:30 INFO]: [TownyChat] -******* TownyChat enabled *******-
[14:26:31 INFO]: [Vault] Checking for Updates ...
[14:26:33 INFO]: [Vault] No new version available
[14:27:46 INFO]: UUID of player Luck is c1d60c50-70b5-4722-8057-87767557e50d
[14:27:49 INFO]: Luck[/127.0.0.1:53842] logged in with entity id 108 at ([world]119.5, 63.0, 195.5)
[14:27:49 WARN]: [Essentials] File motd.txt does not exist. Creating one for you.
[14:27:49 INFO]: [Essentials] Creating empty config: /Users/luck/Desktop/Paper/plugins/Essentials/userdata/c1d60c50-70b5-4722-8057-87767557e50d.yml
[14:29:01 INFO]: Luck issued server command: /towny
[14:29:08 INFO]: Luck issued server command: /town create
[14:29:11 INFO]: Luck issued server command: /town create test
> eco give Luck 100000
[14:29:19 INFO]: CONSOLE issued server command: /eco give Luck 100000
[14:29:20 INFO]: $100,000 added to Luck account. New balance: $100,000
[14:29:23 INFO]: Luck issued server command: /town create test
[14:29:32 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - git-Paper-527 (MC: 1.13.2) ---
[14:29:32 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[14:29:32 ERROR]: ------------------------------
[14:29:32 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[14:29:33 ERROR]: ------------------------------
[14:29:33 ERROR]: Current Thread: Server thread
[14:29:33 ERROR]: 	PID: 18 | Suspended: false | Native: false | State: RUNNABLE
[14:29:33 ERROR]: 	Stack:
[14:29:33 ERROR]: 		java.io.FileOutputStream.write(Native Method)
[14:29:33 ERROR]: 		java.io.FileOutputStream.write(FileOutputStream.java:290)
[14:29:33 ERROR]: 		java.io.DataOutputStream.writeInt(DataOutputStream.java:199)
[14:29:33 ERROR]: 		com.palmergames.bukkit.towny.db.TownyFlatFileSource.savePlotData(TownyFlatFileSource.java:2265)
[14:29:33 ERROR]: 		com.palmergames.bukkit.towny.regen.TownyRegenAPI.addPlotChunkSnapshot(TownyRegenAPI.java:169)
[14:29:33 ERROR]: 		com.palmergames.bukkit.towny.command.TownCommand.newTown(TownCommand.java:1912)
[14:29:33 ERROR]: 		com.palmergames.bukkit.towny.command.TownCommand.newTown(TownCommand.java:1872)
[14:29:33 ERROR]: 		com.palmergames.bukkit.towny.command.TownCommand.parseTownCommand(TownCommand.java:210)
[14:29:33 ERROR]: 		com.palmergames.bukkit.towny.command.TownCommand.onCommand(TownCommand.java:120)
[14:29:33 ERROR]: 		org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
[14:29:33 ERROR]: 		org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149)
[14:29:33 ERROR]: 		org.bukkit.craftbukkit.v1_13_R2.CraftServer.dispatchCommand(CraftServer.java:734)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.PlayerConnection.handleCommand(PlayerConnection.java:1797)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1605)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:45)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.PacketPlayInChat.a(PacketPlayInChat.java:5)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:15)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.PlayerConnectionUtils$$Lambda$2143/184920462.run(Unknown Source)
[14:29:33 ERROR]: 		java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[14:29:33 ERROR]: 		java.util.concurrent.FutureTask.run(FutureTask.java:266)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.SystemUtils.a(SystemUtils.java:108)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:1011)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:439)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:938)
[14:29:33 ERROR]: 		net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:836)
[14:29:33 ERROR]: 		java.lang.Thread.run(Thread.java:748)
[14:29:33 ERROR]: ------------------------------
[14:29:33 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[14:29:33 ERROR]: ------------------------------
[14:29:34 INFO]: [Essentials] Creating empty config: /Users/luck/Desktop/Paper/plugins/Essentials/userdata/99f32c9b-1e2f-3b93-ae61-5e69bd262e4a.yml
[14:29:34 INFO]: [com.palmergames.bukkit.towny.log] [Global Msg] Luck created a new town called test
[14:29:34 INFO]: Luck issued server command: /town
[14:29:34 INFO]: Luck issued server command: /town
[14:29:34 INFO]: Luck issued server command: /town info
[14:30:22 INFO]: UUID of player lucko is 763afb14-1b1a-42d4-acaf-fd88f22e39b3
[14:30:23 INFO]: lucko[/127.0.0.1:53875] logged in with entity id 1876 at ([world]132.5, 63.0, 187.5)
[14:30:23 INFO]: [Essentials] Creating empty config: /Users/luck/Desktop/Paper/plugins/Essentials/userdata/763afb14-1b1a-42d4-acaf-fd88f22e39b3.yml
[14:30:39 INFO]: lucko issued server command: /t spawk
[14:30:41 INFO]: lucko issued server command: /t spawn
[14:30:48 INFO]: Luck issued server command: /town invite lucko
[14:30:48 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:30:55 INFO]: lucko issued server command: /accept test
[14:30:55 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:30:56 INFO]: lucko issued server command: /t spawn
[14:31:00 INFO]: lucko issued server command: /t spawn
[14:31:01 INFO]: lucko issued server command: /t spawn
[14:31:04 INFO]: lucko issued server command: /t leave
[14:31:04 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:31:06 INFO]: lucko issued server command: /t spawn
[14:31:08 INFO]: Luck issued server command: /town invite lucko
[14:31:08 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:31:15 INFO]: lucko issued server command: /accept test
[14:31:15 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:31:16 INFO]: lucko issued server command: /t spawn
[14:31:18 INFO]: lucko issued server command: /t spawn
[14:31:23 INFO]: lucko issued server command: /t leave
[14:31:23 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:31:29 INFO]: lucko issued server command: /t spawn
[14:31:33 INFO]: Luck issued server command: /town invite lucko
[14:31:33 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:31:37 INFO]: lucko issued server command: /accept test
[14:31:37 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:31:38 INFO]: lucko issued server command: /t spawn
[14:31:40 INFO]: lucko issued server command: /t spawn
[14:31:46 INFO]: lucko issued server command: /t leave
[14:31:46 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:31:49 INFO]: lucko issued server command: /t spawn
[14:31:53 INFO]: Luck issued server command: /town create test
[14:31:54 INFO]: Luck issued server command: /town invite lucko
[14:31:54 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:32:00 INFO]: lucko issued server command: /accept test
[14:32:00 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:32:01 INFO]: lucko issued server command: /t spawn
[14:32:03 INFO]: lucko issued server command: /t spawn
[14:32:06 INFO]: lucko issued server command: /t leave
[14:32:06 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:32:10 INFO]: lucko issued server command: /t spawn
[14:32:13 INFO]: Luck issued server command: /town invite lucko
[14:32:13 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:32:17 INFO]: lucko issued server command: /t spawn
[14:32:20 INFO]: lucko issued server command: /accept test
[14:32:20 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:32:21 INFO]: lucko issued server command: /t spawn
[14:32:23 INFO]: lucko issued server command: /t spawn
[14:32:25 INFO]: lucko issued server command: /t leave
[14:32:25 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:32:26 INFO]: lucko issued server command: /t spawn
[14:32:28 INFO]: lucko issued server command: /t spawn
[14:32:32 INFO]: Luck issued server command: /town invite lucko
[14:32:32 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:32:36 INFO]: lucko issued server command: /accept test
[14:32:36 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:32:37 INFO]: lucko issued server command: /t spawn
[14:32:40 INFO]: lucko issued server command: /t leave
[14:32:40 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:32:41 INFO]: lucko issued server command: /t spawn
[14:32:45 INFO]: Luck issued server command: /town invite lucko
[14:32:45 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:32:48 INFO]: lucko issued server command: /accept test
[14:32:48 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:32:51 INFO]: lucko issued server command: /t spawn
[14:32:52 INFO]: lucko issued server command: /t spawn
[14:32:54 INFO]: lucko issued server command: /t leave
[14:32:54 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:32:56 INFO]: lucko issued server command: /t spawn
[14:33:05 INFO]: Luck issued server command: /town invite lucko
[14:33:05 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:33:08 INFO]: lucko issued server command: /accept test
[14:33:08 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:33:10 INFO]: lucko issued server command: /t spawn
[14:33:12 INFO]: lucko issued server command: /t leave
[14:33:12 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:33:13 INFO]: lucko issued server command: /t spawn
[14:33:16 INFO]: Luck issued server command: /town invite lucko
[14:33:16 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:33:20 INFO]: lucko issued server command: /accept test
[14:33:20 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:33:21 INFO]: lucko issued server command: /t spawn
[14:33:24 INFO]: lucko issued server command: /t leave
[14:33:24 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:33:25 INFO]: lucko issued server command: /t spawn
[14:33:28 INFO]: Luck issued server command: /town invite lucko
[14:33:28 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:33:33 INFO]: lucko issued server command: /accept test
[14:33:33 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:33:42 INFO]: lucko issued server command: /t spawn
[14:33:44 INFO]: lucko issued server command: /t leave
[14:33:44 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko left town
[14:33:46 INFO]: lucko issued server command: /t spawn

Each time, when the other user was invited to the town, they were able to use /t spawn. When they left, they could not longer use the command.

  • Causing error from nomadic users -

And here's a log of me testing the second "error". Again, I tried at least 10 times, worked fine each time.

[14:39:49 INFO]: Luck issued server command: /t invite lucko
[14:39:49 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:39:54 INFO]: lucko issued server command: /accept test
[14:39:54 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:40:02 INFO]: Luck issued server command: /t expel lucko
[14:40:08 INFO]: Luck issued server command: /t kick lucko
[14:40:08 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:40:11 INFO]: Luck issued server command: /t invite lucko
[14:40:11 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:40:13 INFO]: lucko issued server command: /accept test
[14:40:13 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:40:16 INFO]: Luck issued server command: /t kick lucko
[14:40:16 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:40:17 INFO]: Luck issued server command: /t invite lucko
[14:40:17 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:40:19 INFO]: lucko issued server command: /accept test
[14:40:19 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:40:21 INFO]: Luck issued server command: /t kick lucko
[14:40:21 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:40:23 INFO]: Luck issued server command: /t invite lucko
[14:40:23 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:40:25 INFO]: lucko issued server command: /accept test
[14:40:25 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:40:32 INFO]: Luck issued server command: /t kick lucko
[14:40:32 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:40:37 INFO]: Luck issued server command: /t invite lucko
[14:40:38 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:40:39 INFO]: lucko issued server command: /accept test
[14:40:39 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:40:42 INFO]: Luck issued server command: /t kick lucko
[14:40:42 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:40:43 INFO]: Luck issued server command: /t invite lucko
[14:40:43 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:40:46 INFO]: lucko issued server command: /accept test
[14:40:46 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:40:49 INFO]: Luck issued server command: /t invite lucko
[14:40:53 INFO]: Luck issued server command: /t kick lucko
[14:40:53 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:40:54 INFO]: Luck issued server command: /t invite lucko
[14:40:54 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:05 INFO]: lucko issued server command: /accept test
[14:41:05 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:07 INFO]: Luck issued server command: /t kick lucko
[14:41:07 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:10 INFO]: Luck issued server command: /t invite lucko
[14:41:10 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:12 INFO]: lucko issued server command: /accept test
[14:41:12 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:14 INFO]: Luck issued server command: /t kick lucko
[14:41:14 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:15 INFO]: Luck issued server command: /t invite lucko
[14:41:15 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:17 INFO]: lucko issued server command: /accept test
[14:41:17 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:19 INFO]: Luck issued server command: /t kick lucko
[14:41:19 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:20 INFO]: Luck issued server command: /t invite lucko
[14:41:20 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:22 INFO]: lucko issued server command: /accept test
[14:41:22 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:24 INFO]: Luck issued server command: /t kick lucko
[14:41:24 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:25 INFO]: Luck issued server command: /t invite lucko
[14:41:25 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:27 INFO]: lucko issued server command: /accept test
[14:41:27 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:30 INFO]: Luck issued server command: /t kick lucko
[14:41:30 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:31 INFO]: Luck issued server command: /t invite lucko
[14:41:31 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:32 INFO]: lucko issued server command: /accept test
[14:41:32 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:35 INFO]: Luck issued server command: /t kick lucko
[14:41:35 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:35 INFO]: Luck issued server command: /t invite lucko
[14:41:35 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:40 INFO]: lucko issued server command: /accept test
[14:41:40 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:43 INFO]: Luck issued server command: /t kick lucko
[14:41:43 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:43 INFO]: Luck issued server command: /t invite lucko
[14:41:43 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:45 INFO]: lucko issued server command: /accept test
[14:41:46 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!
[14:41:48 INFO]: Luck issued server command: /t kick lucko
[14:41:48 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck kicked lucko from town.
[14:41:49 INFO]: Luck issued server command: /t invite lucko
[14:41:49 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: Luck invited lucko to the town.
[14:41:51 INFO]: lucko issued server command: /accept test
[14:41:51 INFO]: [com.palmergames.bukkit.towny.log] [Town Msg] test: lucko joined the town!

Have you actually tried to reproduce the exact steps yourself? As far as I can tell, I have followed your instructions exactly, yet it all seems fine? Unless I've got to try hundreds of times instead of 10?

Did you try running through the steps yourself ensure they would in fact reproduce the issue, or was it just a guess?

commented

Do you use MySQL storage using LuckPerm for bungee and for spigot?

commented

Yes.

commented

I start thinking that I'm crazy or something
the next time I try to provoke this error I will document everything as detailed as I can

commented

I have this issue on LuckPerms 4.3.99

I have to use /lp sync everytime so players can for example if they are rank assistant get the assistant nodes on their town..

commented

after several days, in a clean server I have managed to make the errors appear.
However, it is really complicated to occur and even more if the test I'm doing only with 2 accounts.

-> On my test server I can make the error, every, much, much, much time by entering commands

-> In my online server, as the number of users interacting with the plugin is much greater, failures occur with greater ease and speed.

Disappointingly I have not been able to take a series of steps to produce the errors exactly.

And after all the time invested, I will remain attentive to this issue but I am forced to give up my attempts to find the fault, I think it is really complex and I suppose a lot of time.

My solution has been:

  • Permissions of towny perms that do not belong to towny ranges, I have activated them through LuckPerm to all users.

  • The powers of rank towny (assistants, mayors, etc.), I have not granted them through luckperm but I have given the option to the users to execute the command / lp sync

I hope it is with a solution, but with more tranquility.
Greetings and luck.

commented

Permissions of towny perms that do not belong to towny ranges, I have activated them through LuckPerm to all users.

Would you mind explaining what you mean by that? I am also experiencing this issue and was trying to find a solution, except I am not running LuckPerms with a MySQL database.

commented

I would also like to know if there has been any fixes/news regarding this issue.

commented

Willing to put a $100 USD bounty to get this fixed ASAP.

commented
commented

Okay, I can replicate this both on my regular server and on my test server. Join a town. Just be any towny rank but mayor. (I don't know if mayors ever get the issue or not.) Log in. Try anything that requires perms issued through the townyperms file rather than directly through lp. If it works, log out and relog in. Try again. Repeat until it breaks. This will consistantly work on both my main server and my test server with almost no one in the towny db.
Towny version: 0.93.1.0 Pre-Release 3
[LP] Running LuckPerms v4.4.1 by Luck.
[LP] - Platform: Bukkit
[LP] - Server Brand: Paper
[LP] - Server Version:
[LP] - git-Paper-631 (MC: 1.13.2) - 1.13.2-R0.1-SNAPSHOT
[LP] - Storage:
[LP] - Type: YAML
[LP] - Messaging: None
[LP] - Instance:
[LP] - Static contexts: None
[LP] - Online Players: 1 (2 unique)
[LP] - Uptime: 2d 10h 28m
[LP] - Local Data: 1 users, 60 groups, 4 tracks

My townyperms file from my test server: https://pastebin.com/EsRJfxgJ
On the test server, I was simply testing /t spawn with a regular resident. It took me about 6 relogs to get it to break.
This is what it looks like when broken: (second link is with /lp verbose)
http://prntscr.com/oczu8u
http://prntscr.com/oczven
This is what it looks like after relogging when it works properly again (two links so can show all lp verbose output... there's more here):
http://prntscr.com/oczwf7 http://prntscr.com/oczwzy

On my main server that player is a vip rank in town who has perms to build/break in the town... there I tested for being able to break and it also broke within about 6-10 relogs.

Hopefully this will allow you to replicate the error. You'd also be welcome to test on my test server.

I can confirm that these steps to reproduce do indeed work. The previously mentioned method where switching worlds would break it no longer works (at least in my environment).

MC Version: 1.12.2 (Paper build 1618)
LP Version: LuckPerms 4.4.27
Towny Version: 0.93.1.0 (newest for 1.12.2)

Side Notes:

  • /lp sync does seem to fix it MOST of the time.
  • Tested with both MySQL and H2 (no messaging enabled).
  • Relogging sometimes fixes it, and sometimes the issue persists.
  • Takes somewhere between 2 and 10 relog attempts before the permission we tested against (/t deposit 1 with node towny.command.town.deposit) would stop working.
  • We tested "relogging" by going to bungee hub server and coming back to the test server.
commented

Should be fixed in version 5.0.6.

commented

Closing as I believe this is now resolved.

Thanks everyone for your help :)

commented

Am now experiencing the Towny/Luckperms desync problem again with LuckPerms version 5.0.72.

I have not tried these versions as I can't find the jars but another Towny admin says v5.0.23 works for them. So assume something changed to bring this back?

commented

Nothing significant has changed recently so I'm not sure what would have caused it. I wonder if the issue is with your permissions configuration instead?

commented

Not solved for me either.

commented

I have the same issue, but at lower frequency, and it also started after updating. I am NOT running bungee. I am not using MySQL with LuckPerms. I'm using yaml storage.
I see assistants sometimes not being able to do things in their own towns, etc. Having the player relog fixes the issue. I will try to document better the next time it occurs and see if I'm able to reproduce in a clean environment. That said, it's a rare error and reloading fixes it.

commented

Okay, player 42Trillian42 was having no issues, relogged and was unable to do /t spawn. There were no console errors.
Lp verbose info for her on that command was the following:
https://pastebin.com/UKNPhq3Q
Lp verbose output for her after relogging again has fixed the issue:
https://pastebin.com/zjkXFfCF
The difference I see is:
[19:49:27] [luckperms-worker-95/INFO]: [LP] VB > 42Trillian42 - towny.town.spawn.town - true
[19:49:27] [luckperms-worker-95/INFO]: [LP] VB > 42Trillian42 - towny.town.spawn.town - true
[19:49:27] [luckperms-worker-95/INFO]: [LP] VB > 42Trillian42 - towny.town.spawn.town - true
[19:49:27] [luckperms-worker-95/INFO]: [LP] VB > 42Trillian42 - towny.town.spawn.town - true
whereas that was false in the check when it was broken... it also made fewer checks.

I don't yet know how to reproduce it, so I'm not sure this will help.

commented

The output when a town assistant tries to break in town, once again, when he relogs it works properly.

https://pastebin.com/wDuTx6RU

This player says this happens to him EVERY time he logs in the first time after being offline for at least a little while, and relogging always fixes it. Not sure if it's relevant, but he's in a town with 81 residents, 8 assistants and 2969 claimed plots. It's a capital city. Hmm.. Trillian is also in a different capital city, not sure if that's relevant, either.

We're using towny version 0.93.1.0 and Paper 1.13.2, build 628.
Luckperms info output:
10.06 23:00:44 [Server] INFO [LP] Running LuckPerms v4.4.1 by Luck.
10.06 23:00:44 [Server] INFO [LP] - Platform: Bukkit
10.06 23:00:44 [Server] INFO [LP] - Server Brand: Paper
10.06 23:00:44 [Server] INFO [LP] - Server Version:
10.06 23:00:44 [Server] INFO [LP] - git-Paper-628 (MC: 1.13.2) - 1.13.2-R0.1-SNAPSHOT
10.06 23:00:44 [Server] INFO [LP] - Storage:
10.06 23:00:44 [Server] INFO [LP] - Type: YAML
10.06 23:00:44 [Server] INFO [LP] - Messaging: None
10.06 23:00:44 [Server] INFO [LP] - Instance:
10.06 23:00:44 [Server] INFO [LP] - Static contexts: None
10.06 23:00:44 [Server] INFO [LP] - Online Players: 4 (17 unique)
10.06 23:00:44 [Server] INFO [LP] - Uptime: 2h 20s
0.06 23:00:44 [Server] INFO [LP] - Local Data: 5 users, 60 groups, 4 tracks

commented

Still exists, only fix is either /lp sync or relogging

commented

We've found another fix... if you remove the player's town rank and then give them the rank again, it fixes them.

commented

Okay, I can replicate this both on my regular server and on my test server. Join a town. Just be any towny rank but mayor. (I don't know if mayors ever get the issue or not.) Log in. Try anything that requires perms issued through the townyperms file rather than directly through lp. If it works, log out and relog in. Try again. Repeat until it breaks. This will consistantly work on both my main server and my test server with almost no one in the towny db.
Towny version: 0.93.1.0 Pre-Release 3
[LP] Running LuckPerms v4.4.1 by Luck.
[LP] - Platform: Bukkit
[LP] - Server Brand: Paper
[LP] - Server Version:
[LP] - git-Paper-631 (MC: 1.13.2) - 1.13.2-R0.1-SNAPSHOT
[LP] - Storage:
[LP] - Type: YAML
[LP] - Messaging: None
[LP] - Instance:
[LP] - Static contexts: None
[LP] - Online Players: 1 (2 unique)
[LP] - Uptime: 2d 10h 28m
[LP] - Local Data: 1 users, 60 groups, 4 tracks

My townyperms file from my test server: https://pastebin.com/EsRJfxgJ
On the test server, I was simply testing /t spawn with a regular resident. It took me about 6 relogs to get it to break.
This is what it looks like when broken: (second link is with /lp verbose)
http://prntscr.com/oczu8u
http://prntscr.com/oczven
This is what it looks like after relogging when it works properly again (two links so can show all lp verbose output... there's more here):
http://prntscr.com/oczwf7 http://prntscr.com/oczwzy

On my main server that player is a vip rank in town who has perms to build/break in the town... there I tested for being able to break and it also broke within about 6-10 relogs.

Hopefully this will allow you to replicate the error. You'd also be welcome to test on my test server.

commented

Note: updating to luckperms 4.4.26 seems to have reduced the frequency of the issue for us, but not eliminated it.

commented

Ok thank you!

I'm extremely busy at the moment with other "life" things, but I'll hopefully have some time to work more on this issue in the coming weeks.

commented

Any news on this?

commented

About: A few of the players on my server have complained about not having permission to do certain actions defined in the 'nomad' permission section of Towny. I've been able to workaround this by applying nomad perms to default in LP but now it's not registering the 'default' section in townyperms.yml either. This is the output for the /t here command.

Potentially Helpful: When I was initially creating the server I noticed that this issue didn't appear until I negated the towny.command.town.new permission node. I haven't tested this since to see if it still occurs but it might be useful.

LuckPerms: 5.1.26
Commands Run: /t here

ev1
ev2
ev3
Note: These are the only towny permissions specified on the default rank. What's interesting is that towny.command.town.* is returning false whilst in verbose mode but nowhere in LP did I negate that permission node.
ev4

commented

Yep I'm keen to see a fix too: in an ideal world, a set of steps required to reproduce the issue would be good - but the nature of the issue makes this tricky. (I've been unable to reproduce the issue on a test server, which makes it very hard to identify what the problem is)

If you can get the bug reliably occurring on your server, I can create some debug jars which you can use to try to pinpoint the problem.

The first fix for this issue was a result of jakkuh kindly doing just that - #1330 (comment)

commented

@lucko Is there anything we can actually do to help with this issue?

I'm willing to sacrifice some of my time if it's actually something we can fix. As you can see a lot of people have had this issue for a very long time and it is quite frustrating requires a lot of attention to explain to players what is going on.

If it encourages you, I'm willing to spend a decent amount on a proper fix.

commented

From personal testing experience, it seems to trigger quite often when players change worlds. so I think that would be a good starting point.

I've currently updated towny to its current latest version (0.96.1.12) as well as using current latest Luckperms (5.1.26).

commented

I've done some digging around in the classes where the issue was caused before. I think I may have improved things a little and hopefully resolved this bug in the process.

Please give v5.1.62 (or newer) a try - download here: https://luckperms.net/

Relevant commits: 6cb0f5e 21ae1db

commented

I've done some digging around in the classes where the issue was caused before. I think I may have improved things a little and hopefully resolved this bug in the process.

Please give v5.1.62 (or newer) a try - download here: https://luckperms.net/

Relevant commits: 6cb0f5e 21ae1db

This actually broke more the issue, my players complained too much today after I updated it

commented

@Nextopi can you provide more details other than its more broken and "my players complained too much today"?

commented

I decided to update Luckperms post these changes and it's anecdotal but does seem to be de-syncing more frequently.

LuckPerms version 5.1.62
Towny version 0.96.1.14

commented

After a little bit more research I learned that the issue also appears to happen when members get assigned new town ranks.

So, atm the issue appears to happen when:

  • Changing worlds
  • Logging in to the server
  • Changing a players town rank
  • Executing /ta reload townyperms
commented

Hey all, I've trialled some things here which I think may potentially resolve the issue.

https://github.com/lucko/LuckPerms/compare/remove-nodemap-cache

Here's a build to try: https://we.tl/t-DHzvlpnV7A

commented

Tested and issue persists, I just went to another world with warps and came back using /home and permissions werent working.

commented

Alright, think I've finally got to the bottom of this issue πŸ˜…

adbd2fc


There is a brief explanation above - annoyingly it turned out to be a quirk in the caching library LP uses which I hadn't picked up on. Swapping the library out for my own impl fixes the issue.

Thanks @SirKillian for letting me test on your server.

I would appreciate it if others could confirm the fix works for them too! Anything >= v5.1.72 should have the fix included.

commented

I'm assuming the silence is a positive thing..

Thanks again for everyones help. Hopefully closing for good this time!

commented

I'm sorry to be the bearer of bad news.
I'm having this issue on LuckPerms 5.1.84 running on MySQL backend, Towny 0.96.2.9 (development build), and Paper 1.16.1

Towny permissions are not applying to a player until they logout and log back in.

commented

Are other permissions applying? Can you provide steps that work for you every time that will allow us to reproduce the issue?

commented

Im having this issue as well. Paper 1.16.1, Luckperms MySQL, latest Towny release.

commented

1.16.2 latest releases still don't work

commented

We updated towny with a bugfix where perms weren't being assigned correctly. We're pushing it as a prerelease to see if that resolves the issue. Keep an eye out for the 0.96.2.17 towny prerelease jar.

commented

Is this issue still being worked on? is a very annoying bug,

LuckPerms-5.0.108
paper 1.15.2

commented

Have also started having this issue happen using Paper 1.15.2 #208, LuckPerms 5.0.72 and Towny 0.96.1.6.
No errors from either plugin, "/lp sync" fixes it for a while but then it randomly starts again after a while for no reason.

commented

Have also started having this issue happen using Paper 1.15.2 #208, LuckPerms 5.0.72 and Towny 0.96.1.6.
No errors from either plugin, "/lp sync" fixes it for a while but then it randomly starts again after a while for no reason.

Check your LP config. See if 'include-global-world:' is set to false. If it is, set it to true, restart your server, and see if that works.

commented

Have also started having this issue happen using Paper 1.15.2 #208, LuckPerms 5.0.72 and Towny 0.96.1.6.
No errors from either plugin, "/lp sync" fixes it for a while but then it randomly starts again after a while for no reason.

Check your LP config. See if 'include-global-world:' is set to false. If it is, set it to true, restart your server, and see if that works.

Was already set to true when the issue was happening

commented

Have you tried updating your plugins? I know that's not the latest paper, I think they released build #213

commented

Have you tried updating your plugins? I know that's not the latest paper, I think they released build #213

At the time of my post that was the latest Paper build - the server is updated regularly, is now on the latest build (#214) and still has the same issue that is only fixed by using "/lp sync" which is only temporary and it starts again randomly after a while.

commented

Have you tried disabling plugins one by one to see if any are conflicting each other?

commented

This is an ongoing bug on Towny servers. Still have this too. See lots of background above. I use lp sync every 3-5 mins on an auto schedule to help.

commented

Yeah, not sure why this is closed. We have had this for at least a year and it has not been fixed yet.

commented

@lucko any chance to get a fix for this?

commented

This was closed because as far as I know the issue was fixed, but seems we're back to the start.

I need details reproduction steps to be able to do anything to fix the problem. (in a similar style/detail to this)

commented

Due to the randomness of the issue it is not likely to give any reproductive steps without knowing how to search for them. The only help I can offer is direct access to our live server and notifications when the issue happens. But it happens about one in five times anyone logs in without the wildcard permission. And because they cannot sync anything they have to log off and on.

commented

Sure that works!

commented

Feel free to join the server on mc.doktorfroid.de

Please contact me via Discord, dor_sax#8882 (I am on your DC Server, too), when you need anything like granting rights or forwarding notifications to you incl. logs, configs, etc.