Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rate limited as not using plotsquared UUID cache #89

Open
2 tasks done
TomLewis opened this issue Mar 30, 2022 · 0 comments
Open
2 tasks done

Rate limited as not using plotsquared UUID cache #89

TomLewis opened this issue Mar 30, 2022 · 0 comments

Comments

@TomLewis
Copy link

Server Implementation

Paper

Server Version

1.18.2

Describe the bug

The Plot2Dynmap is not using PlotSquared's UUID cache, and seems to be doing them separate, which causes failure by being rate limited, this is not good for many reasons, so the plugin never loads all plots onto Dynmap either.

https://cmap.piratemc.com/

[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: [PlotSquared/UUIDPipeline] (UUID) Request for 17e45a64-6b9f-3f9c-99c8-ae4f767f1848 timed out. Rate limit.
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.toString()" because "replacement" is null
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at java.base/java.lang.String.replace(String.java:2956)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at Plot2Dynmap-6.0.3.jar//com.plotsquared.plot2dynmap.Plot2DynmapPlugin.formatInfoWindow(Plot2DynmapPlugin.java:64)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at Plot2Dynmap-6.0.3.jar//com.plotsquared.plot2dynmap.Plot2DynmapPlugin.handlePlot(Plot2DynmapPlugin.java:179)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at Plot2Dynmap-6.0.3.jar//com.plotsquared.plot2dynmap.Plot2DynmapPlugin.run(Plot2DynmapPlugin.java:273)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
[17:06:12] [Craft Scheduler Thread - 19 - Plot2Dynmap/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:833)

To Reproduce

  1. Install plot2dynmap & dynmap
  2. Have a lot of plots and use the plugin...

Expected behaviour

To use the existing cache and not get rate limited by mojang.

Screenshots / Videos

https://cmap.piratemc.com/

Error log (if applicable)

No response

Plot Debugpaste

https://athion.net/ISPaster/paste/view/8fc9247a4c6d451598719bd1ae6e41f3

Plot2Dynmap Version

6.0.3

Checklist

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant