shevchik / skinsrestorer Goto Github PK
View Code? Open in Web Editor NEWSpigot plugin that provides player skin management. Supports offline mode servers.
Spigot plugin that provides player skin management. Supports offline mode servers.
Здравствуйте.
Не могли бы вы подсказать, как решить эту проблему с ошибкой:
[SkinsRestorer] Skin fetch failed for player MollyYT: Произошла ошибка.: java.net.ConnectException: Connection timed out (Connection timed out)
[16:06:59 INFO]: UUID of player MollyYT is 359d02ad-5dde-398a-bd86-1e0b44de5123
https://pastebin.com/SwFvw8E3
?
Your new update allows users to set a player's skin to somebody else skin.
But this plugin for bungee doesn't save file.... so on every restart admins have to redo the same commands again and again.
Just a question, but how come my skin wont update in the file, even after I changed it on minecraft.net ?
I can see myself having new skin (I have legal mc), but other offline clients see my old skin from before few days.
And also, is there any option to manually inject different skin to the file?
Anyways, this plugin is awesome, thank you for developing it! :)
1.8 Skins are different
https://mojang.com/2014/08/minecraft-1-8-pre-release-the-bountiful-update/
"Player skins can now have double layers across the whole model, and left/right arms/legs can be edited independently"
"Added a new player model with smaller arms, and a new player skin called Alex?"
"Added options for configuring what pieces of the skin that are visible"
Also ProtocolLib was updated to support latest Spigot (http://assets.comphenix.net/job/ProtocolLib%20-%20Spigot%20Hack%201.8/)
I have installed SkinsRestorer on my server, and doesn't working. I many times reinstalled to and still not work. When I look to plugin list on server, plugin is in green bat doesn't show skins, I have default skin.
And so when i use command "/skin" show text "Server returned HTTP response code: 429 for URL: https://api.mojang.com/users/profiles/minecraft/InfinCZ" and my skin doesn't show.
Please help.
Thanks,
Infin
I can only use /sr head for players when they are already in "data.yml".
For new players I get "Skin wasn't applied to head because of the error: Can't find a valid premium player with that name".
What to do?
I have the last Version
With 2 servers
Bungeecord and Spigot 1.8 with viaversion
And i cant run commands and i dont have config files
And i cant see Skins. My server is running Offline Modus
Hey there,
Spigot 1.8 has finally released yesterday and a patch for ProtocolLib is also there:
http://www.spigotmc.org/resources/protocollib.1997/update?update=6865
Can you provide an update?
Please compile this plugins.
TY.
Spigot 1.13.1
SkinRestorer 13.3
When I join to server I got this error every time.
I don't have my skin after joined.
[13:01:40] [Server thread/WARN]: java.lang.NoSuchMethodException: net.minecraft.server.v1_13_R2.PacketPlayOutRespawn.<init>(int, net.minecraft.server.v1_13_R2.EnumDifficulty, net.minecraft.server.v1_13_R2.WorldType, net.minecraft.server.v1_13_R2.EnumGamemode)
[13:01:40] [Server thread/WARN]: at java.lang.Class.getConstructor0(Class.java:3082)
[13:01:40] [Server thread/WARN]: at java.lang.Class.getConstructor(Class.java:1825)
[13:01:40] [Server thread/WARN]: at skinsrestorer.shared.utils.ReflectionUtil.getConstructor(ReflectionUtil.java:32)
[13:01:40] [Server thread/WARN]: at skinsrestorer.shared.utils.ReflectionUtil.invokeConstructor(ReflectionUtil.java:141)
[13:01:40] [Server thread/WARN]: at skinsrestorer.bukkit.skinfactory.UniversalSkinFactory.lambda$updateSkin$0(UniversalSkinFactory.java:135)
[13:01:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:76)
[13:01:40] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361)
[13:01:40] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:889)
[13:01:40] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:411)
[13:01:40] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831)
[13:01:40] [Server thread/WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729)
[13:01:40] [Server thread/WARN]: at java.lang.Thread.run(Thread.java:748)
Could you add support for custom skin URL-s? (Yes, i am sure it's possible.) Like: /skin url http://imgur.com/image.png
Проверка происходит на AsyncPlayerPreLoginEvent? У меня часто бывает, что долго заходит на сервер, скорее всего из-за SkinsRestorer. Mojang задерживает запросы?! Раньше такого не было.
Info for other people
If you're using Thermos server and u're wondering how to make it work
https://github.com/dmulloy2/ProtocolLib/releases/download/3.7.0/ProtocolLib.jar
My skin does not appear when I change my new skin, what do I do?
This doesnt work with 1.8.3 yet?
Not sure if you even take bug reports on this, but worth a try.
This evening we had an issue with it that cased anyone trying to join our servers to be instantly kicked which resulted in us having to disable the plugin for the timing being. My rough guess would be the skin servers were down.
http://pastebin.com/GnXYVupZ
Thanks.
So I just updated my skin to a 1.8 extra layer format. And the extra layer won't appear on my offline mode server.
But it will appear in any other Premium server.
Is this something that is also off bounds for 1.8 offline servers? Can skins even be changed effectively any more?
Hello @Shevchik!
Do you mind updating this plugin for 1.9? I need it for my server.
I can't see my skin in F5 mode or in inventory
18:42:01 [SEVERE] Task BungeeTask(sched=net.md_5.bungee.scheduler.BungeeScheduler@3d5c822d, id=50438, owner=skinsrestorer.bungee.SkinsRestorer@1b6e1eff, task=skinsrestorer.bungee.commands.PlayerCommands$1@691b154a, delay=0, period=0, running=true) encountered an exception
java.lang.ArrayIndexOutOfBoundsException: 1
at skinsrestorer.bungee.commands.PlayerCommands$1.run(PlayerCommands.java:83)
at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:63)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
running latest BungeeCord, any idea why this would happen?
Thanks!
About the error below, md_5 said it wont be supported. Any fixed?
[19:40:58 WARN] [io.netty.util.concurrent.AbstractEventExecutor]: A task raised an exception. Task: net.md_5.bungee.connection.InitialHandler$6$1@4321fe8c java.lang.ClassCastException: class java.lang.String cannot be cast to class java.util.Collection (java.lang.String and java.util.Collection are in module java.base of loader 'bootstrap')
Hey there,
I just saw that you still did some patches recently, but that there is also a Fork by Th3Tr0LLeR. Both have really different functionality and actually ways to do things. Shouldn't you both cooperate and merge an official and best release?
Else i have to fetch from both of you all the time and check, which one has the best "performance".
Also I hope you noticed that 1.9 will release next week. I'm hoping for a fast patch to 1.9 the ProtocolLib should be up dated on 26th February, as the author stated.
Greetings Kongolan.
How i can compile this plugin?
please help me
Client display "Internal Exception: io.netty.handler.timeout.ReadTimeoutException"
Once they are drop skin, they can join the server.
Plugins works until I enter different world that I logged in :( Console shows nothing. I use multiverse for another worlds. Players are defautly logged in world_new default world is world. Spigot version: Spigot 1.7.9-R0.3
Build 1543, development
This is an extra feature suggestion for your plugin. I wonder if you could do it :)
Maybe it would be more adequate to make this into another plugin, but having the faces of players showing up on the player list, just like in Online Mode would be nice.
In any case, thanks a lot for bringing the skins back to life on my offline server :D Keep up the good work.
[12:28:19] [Server thread/ERROR]: [SkinsRestorer] Unhandled exception occured in onPacketSending(PacketEvent) for SkinsRestorer
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:604) ~[?:1.7.0_07]
at java.util.ArrayList.get(ArrayList.java:382) ~[?:1.7.0_07]
at skinsrestorer.SkinsRestorer$1.onPacketSending(SkinsRestorer.java:53) ~[SkinsRestorer.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokeSendingListener(SortedPacketListenerList.java:195) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.SortedPacketListenerList.invokePacketSending(SortedPacketListenerList.java:149) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.handlePacket(PacketFilterManager.java:634) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.PacketFilterManager.invokePacketSending(PacketFilterManager.java:610) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.NettyProtocolInjector.packetQueued(NettyProtocolInjector.java:286) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.NettyProtocolInjector.onPacketSending(NettyProtocolInjector.java:254) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.processSending(ChannelInjector.java:362) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector.access$500(ChannelInjector.java:61) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$5.handleScheduled(ChannelInjector.java:328) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelInjector$5.onMessageScheduled(ChannelInjector.java:296) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.ChannelProxy$2.schedulingRunnable(ChannelProxy.java:110) [ProtocolLib.jar:?]
at com.comphenix.protocol.injector.netty.EventLoopProxy.execute(EventLoopProxy.java:79) [ProtocolLib.jar:?]
at net.minecraft.server.v1_8_R1.NetworkManager.a(NetworkManager.java:140) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.NetworkManager.handle(NetworkManager.java:101) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.PlayerConnection.sendPacket(PlayerConnection.java:836) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.EntityTrackerEntry.updatePlayer(EntityTrackerEntry.java:328) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.EntityTrackerEntry.scanPlayers(EntityTrackerEntry.java:424) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.EntityTrackerEntry.track(EntityTrackerEntry.java:74) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.EntityTracker.updatePlayers(EntityTracker.java:162) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:774) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-0d4fba2]
at java.lang.Thread.run(Thread.java:722) [?:1.7.0_07]
Hi, Shevchik.
Your plugin in nice, but when I connect to the server via BungeeСord, skins are not displayed.
Can fix it?
Here is the compiled plugin (new Spigot 1.8 only, for the lazy ones): http://cl.ly/1l0a2x3m3H1U , modified source and pom.xml included.@Shevchik все как надо, GPL соблюдено ;).
Sometimes you just need to look in obvious places.
Could you add a pom.xml file in the repo? (so that the users will only need to look for craftbukkit jars).
And the pom.xml for the brave (change the version of СraftBukkit if you require so, consult maven.apache.org/guides/mini/guide-3rd-party-jars-local.html on how to install CraftBukkit (and most probably AuthLib) jar into your maven repo).:
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>skinsrestorer</groupId>
<artifactId>SkinsRestorer</artifactId>
<version>1.0-SNAPSHOT</version>
<name>SkinsRestorer</name>
<url>https://github.com/Shevchik/SkinsRestorer</url>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/groups/public/</url>
</repository>
<repository>
<id>shadowvolt-repo</id>
<url>http://ci.shadowvolt.com/plugin/repository/everything/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.comphenix.protocol</groupId>
<artifactId>ProtocolLib</artifactId>
<version>3.6.3-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.8-R0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.mojang</groupId>
<artifactId>authlib</artifactId>
<version>1.5.17</version>
</dependency>
</dependencies>
</project>
P.S. @Shevchik Может добавить pom со всеми версиями CB в репу?
Hi, i have a problem with my spigot Spigot-1627, ProtocolLib v3.5.0...
you can help me?
[15:51:49 ERROR]: Could not load 'plugins/SkinsRestorer.jar' in folder 'plugins'
org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:160) ~[spigot.jar:git-Spigot-1627]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:133) [spigot.jar:git-Spigot-1627]
at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugins(CraftServer.java:369) [spigot.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.DedicatedServer.init(DedicatedServer.java:152) [spigot.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:458) [spigot.jar:git-Spigot-1627]
at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1627]
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method) ~[?:1.7.0_67]
at java.util.zip.ZipFile.(ZipFile.java:215) ~[?:1.7.0_67]
at java.util.zip.ZipFile.(ZipFile.java:145) ~[?:1.7.0_67]
at java.util.jar.JarFile.(JarFile.java:154) ~[?:1.7.0_67]
at java.util.jar.JarFile.(JarFile.java:118) ~[?:1.7.0_67]
at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:148) ~[spigot.jar:git-Spigot-1627]
... 5 more
Hello Shevchik,
Is there a possibility to display the skin of the players on tab list ? (1.8)
Thank you in advance :D
Would you like to add this project to http://build.true-games.org/?
It would be great 👍
I've noticed no player has it's secondary layer of their skin shown up... Could this be because the plugins doesn't check Mojang for what parts has the player enabled, and then it assumes everthing is off?
I attach a screenshot of a test, "." is a fake player NPC, "pozimi" is the original player, logged in from a separate game instance. As you see, none of them have the hat layer on, although he has it enabled. No player has any secondary layer, that's why I'm reporting it :P
Hello, I use your plugin ProtocolSupport and I have this bug with use the two plugins: in version 1.8 the skins be changed but in 1.7 doesn't work!
Print: http://i.imgur.com/tySifUK.jpg
Thanks for attention!
With the new version 10.4.3-BETA and older the skin don't change, but before it worked
Can you fix it or it's mcapi having a problem ?
https://pastebin.com/bKFQ4tMc
Hello!
Bungee 1.12.2
Is it possible to fix this?
I get that spam/error in console every time that someone join the server.
http://prntscr.com/brmid7
Hi,
I have your plugin and protocolib 3.4, but it's doesn't work.
Look on my screen, i use 1.8, your plugin and protocolib. I have a premium account, but my server accept offline mode!
Don't work any command, does not matter are you op or player with plugin perms - nothing
Почему когда блокируем все соединения кроме порта сервера SkinsRestorer перестаёт работать? Что надо разрешить?
If you may not noticed, there currently is only 1 Mod out there which runs plugins on 1.8, which is called Rainbow (Link: http://www.project-rainbow.org/site/index.php).
Since your plugin is by far the most useful when running offline-mode servers, as well as I dislike the fact Mojang skipped the support of those servers by removing the Skins, I would like to see working version on Rainbow.
I would appreciate if you at least take a look at it :)
command block gui not opening
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.