Giter Club home page Giter Club logo

skinsrestorer's People

Contributors

shevchik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

skinsrestorer's Issues

Произошла ошибка

Здравствуйте.
Не могли бы вы подсказать, как решить эту проблему с ошибкой:
[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
?

SkinsRestorer with BungeeCord doesn't save file

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.

Skin change not visible?

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! :)

Update SkinsRestorer to support 1.8 skins

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/)

SkinsRestorer doesn't work

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

New Update does not work.

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?

Skinrestorer Dont Work

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

Join error

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)

Долгое подключение

Проверка происходит на AsyncPlayerPreLoginEvent? У меня часто бывает, что долго заходит на сервер, скорее всего из-за SkinsRestorer. Mojang задерживает запросы?! Раньше такого не было.

1.8.3 ?

This doesnt work with 1.8.3 yet?

Spectator Mode Heads not showing up

It seems Spectator uses a different way to render skins, so the heads won't appear, nor in the actual person, nor in the player tp selection hotbar... It just shows a blank square...

2014-12-20_12 41 07

Updated skins do not update

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?

1.9 Update

Hello @Shevchik!
Do you mind updating this plugin for 1.9? I need it for my server.

java.lang.ArrayIndexOutOfBoundsException: 1

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!

Seems kinda broke, md_5 said it wont supported, why

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')

Many Forks with different functionality

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.

Changing world

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

Player list showing the faces of players in offline mode (Suggestion)

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.

Skins don't work, I'm getting exception

[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]

Ошибка

Старая версия: java.lang.NoSuchMethodError: net.md_5.bungee.connection.LoginResult.(Ljava/lang/String;[Lnet/md_5/bungee/connection/LoginResult$Property;)V

Новая версия:
4

BungeeCord skins

Hi, Shevchik.

Your plugin in nice, but when I connect to the server via BungeeСord, skins are not displayed.
Can fix it?

Add pom.xml

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 в репу?

Could not load...

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

Skins tab list

Hello Shevchik,
Is there a possibility to display the skin of the players on tab list ? (1.8)

Thank you in advance :D

Secondary Layers not showing up

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
2015-01-26_19 00 52

No Change

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 ?

Skin not changed

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!

Permissions

Don't work any command, does not matter are you op or player with plugin perms - nothing

Can you port the plugin to Rainbow Mod?

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.