VotingPlugin icon indicating copy to clipboard operation
VotingPlugin copied to clipboard

Voting PLugin hit Mojang Skull API Limit

Open Ste3et opened this issue 1 year ago • 4 comments

Versions Paper Verison 1.21.1-122-master@4430e96 Plugin Version 6.17.1

Describe the bug The Console get Spammed with Invalid Skull loading attemps because the Plugin hits the API Limit from Mojang. The Plugin UI's also have no loaded Skull Textures since 1.21

To Reproduce 1: Start the Server 2: Run votingplugin:vtop

Expected behavior The missing Skull Texture Inside the Voting UI is not that nessercary but the spammed API feedback is worse.

ShortLog https://mclo.gs/0UafYAU LongLog https://mclo.gs/0pZa3Zc

Ste3et avatar Oct 19 '24 09:10 Ste3et

Send your config.yml

BenCodez avatar Oct 19 '24 13:10 BenCodez

Send your config.yml

Sure sorry i forget it to attach. https://mclo.gs/Fhj7WHY

Ste3et avatar Oct 19 '24 19:10 Ste3et

Your missing these settings, want to try adding them?

  ###########################################
  # Skull settings
  ###########################################

  # Preload skulls to improve performance for vote top
  # when using skulls as the item to display players
  # If false, skulls will be cached as they are used
  # assuming loadskulls is enabled
  PreloadSkulls: false

  # Setting to false disables saving skulls in a cache to improve speeds
  # Will reduce ram usage (very little) if disabled, but slow GUI speeds when using skulls
  LoadSkulls: true

  # If true, skulls will be loaded on GUI even if not cached
  # May result in GUI taking longer to open until skulls are cached
  ForceLoadSkulls: false

BenCodez avatar Oct 19 '24 19:10 BenCodez

Sorry that i didn't look inside the config.yml for the first, hopfully the settings fix that problem.

Ste3et avatar Oct 19 '24 21:10 Ste3et

Are you still having problems with this? Do you want to try this out? https://bencodez.com/job/VotingPlugin/

Made some changes regarding skull caching and it should work much better

BenCodez avatar Nov 04 '24 02:11 BenCodez

Stale issue message

github-actions[bot] avatar Jan 03 '25 16:01 github-actions[bot]