ChangeSkinX
Description
This plugin allows your players to change their skins by command. These skins have to be downloaded from Mojang, because Minecraft clients only accept from Mojang signed skins. But you can choose every skin that another minecraft user currently has.
Moreover it will be possible to set a custom standard skin. If you want to, this plugin can set this standard skin for all players who still have the default steve or alex skin.
Features
- Lightweight
- Instant skin updates
- Easy to use
- Implemented cache to benefit performance
- Nearly no mojang rate limits due caching
- No client modification needed
- Possibility to create a standard skin
Commands
- /setskin <uuid > - Sets your skin to be equal to the player with the selected uuid
- /setskin < playerName>
- /setskin < onlinePlayer > < newSkinUUID/newSkinPlayerName >
- /skinupdate - Invalidates the database entry and fetches the fresh skin from the Mojang servers
Permissions
- changeskin.command.skinupdate - Command to refresh the own skin
- changeskin.command.setskin.* - All the commands below
- changeskin.command.setskin - Set your own skin
- changeskin.command.setskin.other - Set the skin of other players
Whitelist and blacklist permissions
Whitelist
- changeskin.skin.whitelist.uuid - Allow this specific skin
- changeskin.skin.whitelist.* - allows all skins
Blacklist
- changeskin.skin.whitelist.*
- -changeskin.skin.whitelist.uuid
Source code
You don't have to decompile the plugin. You can find there the source code with comments and building utilities.
ChangeSkin is open source and hosted on GitHub; feel free to fork, star, or contribute by making pull requests and opening issues.
Video Tutorials (not by me)
Portuguese:
English:
In reply to templatemak3r:
Still with the same problem @games647
a question, should i add it to all the server or only Bungeecord ?
I added it to all servers
And when i do /skin
it do nothing
when i do /skin-name
i get this
[14:43:52] [Server thread/INFO]: AodX issued server command: /skin-name[14:43:52] [Server thread/INFO]: AodX issued server command: /skin-name[14:43:52] [Server thread/ERROR]: nullorg.bukkit.command.CommandException: Unhandled exception executing command 'skin-name' in plugin ChangeSkin v2.4 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-596221b-9a1fc1e] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-596221b-9a1fc1e] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1385) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1220) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-596221b-9a1fc1e] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_131] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-596221b-9a1fc1e] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-596221b-9a1fc1e] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]Caused by: java.lang.UnsupportedOperationException: Not supported yet. at com.github.games647.changeskin.bukkit.commands.SkinNameCommand.onCommand(SkinNameCommand.java:19) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-596221b-9a1fc1e] ... 15 more
In reply to AodX:
In reply to games647:
and i did those steps on how to install on bungeecord when i installed it
But its not working at all.
In reply to AodX:
In reply to games647:
Plugin is working great in 1.12.1, thanks Developer!
Hi, I would like to report an error: https://hasteb.in/cukihelone.profile
Thank you.
Best regards.
In reply to resoluciones:
Error when i did /setskin (name)
[09:19:27 WARN]: Exception in thread " [09:19:27 WARN]: Craft Scheduler Thread - 12 [09:19:27 WARN]: "
[09:19:27 WARN]: org.apache.commons.lang.UnhandledException: Plugin ChangeSkin v2.3.2 generated an exception while executing task 111 at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) 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) Caused by: java.lang.NullPointerException at com.github.games647.changeskin.core.MojangSkinApi.getUUIDFromAPI(MojangSkinApi.java:109) at com.github.games647.changeskin.core.MojangSkinApi.getUUID(MojangSkinApi.java:77) at com.github.games647.changeskin.bukkit.tasks.NameResolver.run(NameResolver.java:43) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71) at org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) ... 3 more
In reply to Daniyal_Shafiq:
When i use the plugin on my 1.12 Bungeecord server
The plugin commands doesn't work at all
nothing work
What should i do ?
In reply to AodX:
[22:37:03] [Server thread/INFO]: God_DIM issued server command: /setskin Zi_Min [22:37:05] [Craft Scheduler Thread - 28/ERROR]: [ChangeSkin] Tried downloading skin data from Mojang java.io.IOException: Server returned HTTP response code: 503 for URL: https://sessionserver.mojang.com/session/minecraft/profile/1aa95b7148fc4636962be95de5071da6?unsigned=false at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840) ~[?:1.8.0_73] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441) ~[?:1.8.0_73] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[?:1.8.0_73] at com.github.games647.changeskin.core.MojangSkinApi.downloadSkin(MojangSkinApi.java:140) [ChangeSkin.jar:?] at com.github.games647.changeskin.bukkit.tasks.SkinDownloader.run(SkinDownloader.java:37) [ChangeSkin.jar:?] at com.github.games647.changeskin.bukkit.tasks.NameResolver.onNameResolve(NameResolver.java:82) [ChangeSkin.jar:?] at com.github.games647.changeskin.bukkit.tasks.NameResolver.run(NameResolver.java:67) [ChangeSkin.jar:?] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58) [j8server.jar:git-Paper-1155] at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:52) [j8server.jar:git-Paper-1155] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) [j8server.jar:git-Paper-1155] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_73] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_73] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_73] [22:37:05] [Server thread/INFO]: [ChangeSkin] No-SKIN
Can you help me?
In reply to zhongshinan:
Hello guys, i have server bukkit 1.12 R0.1. The server is non premium and the skin changer doesnt work
can you help me?
In reply to Forge_User_26543407:
Where can I find the UUID of a skin?
In reply to Forge_User_53051142:
Please help! How to set up a skin from for example a png? Please help