Comments (7)
I'm gonna need more info here. I suppose you have Skins Restorer installed, but apparently a version without an API. Either an old one or something major has changed in a newer version.
What version of Skins Restorer are you using?
from minecraftstats.
I'm gonna need more info here. I suppose you have Skins Restorer installed, but apparently a version without an API. Either an old one or something major has changed in a newer version.
What version of Skins Restorer are you using?
latest: 15.0.6
I think it's the new version of Skins Restorer API but the plugin isn't adapted, right?
from minecraftstats.
是一个没有 API 的版本。在较新的版本中,旧的或重大的更改。
您使用的是哪个版本的latest: 15.0.6
I think it's the new version of Skins Restorer API but the plugin isn't adapted, right?
I didn't adapt anything.
Apparently, according to their documentation, they changed the class name from SkinsRestorerAPI
to just SkinsRestorer
. I could not find out when they changed it. That is very unfortunate project management on their side, these kinds of changes break every and all plugins that use the API and make it unnecessarily complicated to support different versions...
But thank you for noting, I will have to adapt MinecraftStats for it.
from minecraftstats.
I'm doing a little "bump" on this one, as it seems to not be published yet... so I still post my log output just in case, but seems the same as the original author :
[23:14:14 WARN]: [MinecraftStats] Plugin MinecraftStats v3.3.0 generated an exception while executing task 64
java.lang.NoClassDefFoundError: net/skinsrestorer/api/SkinsRestorerAPI
at de.pdinklag.mcstats.bukkit.SkinsRestorerProfileProvider.<init>(SkinsRestorerProfileProvider.java:15) ~[MinecraftStats-3.3.0.jar:?]
at de.pdinklag.mcstats.bukkit.BukkitUpdater.getAuthenticProfileProvider(BukkitUpdater.java:47) ~[MinecraftStats-3.3.0.jar:?]
at de.pdinklag.mcstats.Updater.run(Updater.java:368) ~[MinecraftStats-3.3.0.jar:?]
at de.pdinklag.mcstats.bukkit.BukkitUpdater.run(BukkitUpdater.java:71) ~[MinecraftStats-3.3.0.jar:?]
at de.pdinklag.mcstats.bukkit.BukkitUpdateTask.run(BukkitUpdateTask.java:17) ~[MinecraftStats-3.3.0.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.20.4.jar:git-Paper-497]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.20.4.jar:git-Paper-497]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.20.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) ~[?:?]
at java.lang.Thread.run(Thread.java:1583) ~[?:?]
Caused by: java.lang.ClassNotFoundException: net.skinsrestorer.api.SkinsRestorerAPI
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:197) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:164) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:526) ~[?:?]
... 11 more
Using :
- Paper 1.20.4 build 497 (latest from this branch)
- MinecraftStats 3.3.0 (also latest so :) )
- SkinRestorer 15.0.15
[23:16:24 INFO]: [SkinsRestorer] ----------------------------------------------
[23:16:24 INFO]: [SkinsRestorer] +==================+
[23:16:24 INFO]: [SkinsRestorer] | SkinsRestorer |
[23:16:24 INFO]: [SkinsRestorer] |------------------|
[23:16:24 INFO]: [SkinsRestorer] | Proxy Mode |
[23:16:24 INFO]: [SkinsRestorer] +==================+
[23:16:24 INFO]: [SkinsRestorer] ----------------------------------------------
[23:16:24 INFO]: [SkinsRestorer] Version: 15.0.15
[23:16:24 INFO]: [SkinsRestorer] Commit: fcfa8b9
[23:16:24 INFO]: [SkinsRestorer] This is the latest version!
[23:16:24 INFO]: [SkinsRestorer] ----------------------------------------------
Is there any estimation on when a new build including the fix will be out ? (sorry for the ping @pdinklag )
Thanks :)
from minecraftstats.
From my testing so far, the error is still displayed, because the API isn't working when the server is in "Proxy Mode"
Make sure SkinsRestorer is not in "Proxy Mode" if you are using BungeeCord/Velocity.
So, there should be a check to wether enable or not the SkinsRestorer support depending on the functioning mode of it.
Edit : But there might be another solution, on the backend server :
Backend API:
You can enable the backend storage by creating a file called enableSkinStorageAPI.txt in SkinsRestorer folder (backend server -> ./plugins/SkinsRestorer/enableSkinStorageAPI.txt)
This is useful when using plugins like BedWars, Dynmap, etc. that need to get the skin through API from the backend server.
Keep in mind that connecting MySQL to the same database as the proxy is required for this to work!
from minecraftstats.
Build 3.3.1 is now released.
From my testing so far, the error is still displayed, because the API isn't working when the server is in "Proxy Mode"
I have genuinely no idea what this means. What is "Proxy Mode"? In any event, if SkinsRestorer doesn't work in "Proxy Mode", then why not not use it in "Proxy Mode"? Why would I fix something in MinecraftStats for SkinsRestorer for a scenario in which SkinsRestorer is not even supposed to work?
from minecraftstats.
The "Proxy mode" is used, in general, when you use... a proxy :D (sorry^^, like Velocity).
For example, this is from my Proxy (Velocity server) :
And on one of my backend server (lobby, creative, or any other, that's the same) :
And for "SR is not even supposed to work", well, it work in Proxy Mode (it's part of its job), but the API itself, in such mode, it's not :
https://skinsrestorer.net/docs/development/api#getting-issues
Make sure SkinsRestorer is not in "Proxy Mode" if you are using BungeeCord/Velocity.
And just in case you wonder "Why" I'm in proxy mode, that's the intended setup for when you use a proxy :
https://skinsrestorer.net/docs/installation/velocity
So sadly, SR didn't made it easy for developpers, they have to check in which state this plugin is and, if in "Proxy Mode", disable this (or the users, like me, should enable the "Backend API", but the player skin is not retrieved this way, don't know why. At least, the error just vanish)
from minecraftstats.
Related Issues (20)
- Events have invalid end date
- Error trying to parse BlueMap config in Paper HOT 4
- Active players JSON not generated when there are no players HOT 1
- Handling /tick HOT 2
- Server motd with non-ascii characters can't be processed properly HOT 2
- Integrated Webserver for the Plugin HOT 2
- squaremap webserver support. HOT 1
- Subtract number of broken blocks from number of placed blocks HOT 2
- Awards with different Values HOT 1
- Player name cannot be displayed properly using MultiLogin HOT 2
- Event winner not shown in summary HOT 2
- all stats have nobody as best HOT 2
- Problem with player recognition on Offline-server HOT 6
- Usage of Plan webserver rather than Dynmap or others HOT 1
- Hook into Litebans Bans
- Posibility to port to Fabric
- Console "spam" on data refresh
- Error on new CLI HOT 2
- Debug Logging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraftstats.