SkinLoader
SkinLoader
by Sebi_Zocer
IMPORTANT NEWS
This plugin is not working on 1.13.x and 1.14.x!
If you know how to program with NMS and want to let this work, please contact me.
Hey Guys, today im releasing my project SkinLoader public. Its an plugin which exists since 3.12.2018. It was made for a server to change the skin for players. Players were able to buy a skin for 5000 coins and to play with their bought skins in every minigame. The SkinLoader was at first a part of the lobbysystem, so i had to made a SkinLoader that works on every minigame-server, thats the first version. After the release on the server there were a lot of bugs in the plugin, so i decidet to program the SkinLoader again from ground-up and thats the version im releasing today. In the past time i saw some problems in the plugin, as example it has to handle with the mojang-api-limitations, so thats why im currently programming SkinLoaderV3. It will be more easier for developers to use all the methods which are implemented. If you want to know why im releasing this version, the answer is: While im programming the V3 i want you to be able to try yourself on the api and later you have an great api and know how to work with it.
What is SkinLoader?
SkinLoader is an API for developers to manage skin-switching for players. As example you can program a gui-system ingame to let players buy, select and play with other skins.
Because skin-switching could be difficult to handle with nick-systems on you server, SkinLoader has an implemented nick-system, which works pretty good. It also has an MySQL database to save autonick-decisions.
There is another thing to have in mind: The tablist/scoreboard. Because of the nick-system you have to change the team of the player when he nicks. So thats why it has the "CallScoreboardEvent", which gets called when a scoreboard-update is needed.
Method-Explanation
Developers need to know how to work with an api, so in V3 all essential methods have explanations what they do and how they do that.
If you want to enable the debug-mode of SkinLoader, go in plugins/SkinLoader/config.yml and set "info: true".
Here are classes which you can use for your plugin:
- Info | Debug-manager for SkinLoader. Enable it in config to use it for yourself.
- User | Contains nick- and skinchanging methods. Get a user with User.getUser(Player/Name).
- Database | Contains all loaded Skins and Profiles.
- Manager | Loads informations at onEnable from MySQL and can get UUIDs and names.
- ProfileManager | All methods for profiles are in it.
- SkinManager | All methods for skins are in it.
Dont forget to take a look in the Source.
Version 3
Version 3 is out since a few days and has some changes from V2. Methods are in new classes and debug-mode is available. Im not planning to release a version for 1.9.x and above, but i will work on it when i have time for that. If you find bugs or anything like that, please report these.
Tech-Demos
Here are some tech-demos for SkinLoader. You can see how SkinLoader got use in it and learn how to use SkinLoader for your own plugins:
Credits
Nick and Skin-Switching is only possible because of the work of BlvckBytes' AutoNick
Does it works for 1.18.2 ?
Need a bit of help with this
11.08 12:50:17 [Server] Server thread/WARN Plugin SkinLoader v3.2.0 does not specify an api-version.
In reply to PolarShipment:
Well, in your last comment you asked about an version for 1.13, but now youre using V3.2, which is not ment to be used on 1.13... maybe thats the problem. Also i need a bit more log-data for understanding the problem. I never saw any kind of error like that ever. I will try to use SkinLoader with an demo on a 1.13 to search for any problems ^^
czy da sie do 1.13 zaktualizować też ?? prosze bardzo :(
In reply to Forge_User_68763544:
I've made a version for 1.13.2 . The version is already uploaded and now under review. You can follow this site to get informed when this version gets approved.
In reply to Forge_User_69865194:
supeeeeeR!!!!!!!!!!!
W odpowiedzi na Sebi_Zocer :
i add this plugin but it isnt work in my server , when i look in my list plugin this is red and doesnt work when i try add skin other player :(, i can also join on server with name premium skin :(((((( help mee
Does it works for 1.14.4 ?
In reply to Forge_User_96290952:
No, but it could work on 1.14.4 pretty easily. The main-code should work on 1.14.4, but the frame-code makes this not working. Specifically the User-class. With 20 minutes of work it should work, so... I will release a 1.14.4 Version tomorrow! ^^
In reply to Forge_User_69865194:
Bro i am waiting too .
In reply to kamikazetr:
The 1.14.4-Version is already uploaded but not confirmed by a viewer of this site yet.
In reply to Forge_User_69865194:
Could you send download link from the some other places ?
In reply to kamikazetr:
I dont know if this is allowed, but for secure:
Im publishing this, because since 2 days no one reviewed my plugin.
IMPORTANT: The plugin in this link is not reviewed by this website. It can contain dangerous code.
https://workupload.com/archive/W8cAQPW
Well, its not dangerous, but i want to be save if some admins want to hate me because of that xD
Why server cannot laod it?
In reply to Forge_User_36389291:
Send me your last server-log for checking that. For me its perfectly working, but i can take a look over it. I think there is a problem with your server or something like that, but i could be wrong with that theory.