Lightweight and easy-to-use SkinChangerAPI for Bukkit plugin

Overview

SkinChangerAPI


Lightweight and easy-to-use SkinChangerAPI for Bukkit plugins.

Features

  • Support all the Bukkit version (1.7-1.18)
  • Easy to use
  • Support custom skin's textures
  • No dependencies needed
  • Less than 250 lines of code

Usages

Change player's skin

The function for change the player's skin is SkinChangerAPI.Change(Player player, Property textures) :

@EventHandler
public void OnJoin(PlayerJoinEvent event) {
    SkinChangerAPI.Change(event.getPlayer(), new Property("textures", skin_value, skin_signature);
}

Getting player's skin

The have many way to get the player's skin textures, the main function is SkinChangerAPI.GetPlayerSkin(), for get the player's skin textures you use 3 way : GetbyUUID(), GetbyName(), GEtbyObject()

By UUID :

@EventHandler
public void OnJoin(PlayerJoinEvent event) {
    SkinChangerAPI.Change(event.getPlayer(), SkinChangerAPI.GetbyUUID(event.getPlayer.getUniqueID()));
}

By Name:

@EventHandler
public void OnJoin(PlayerJoinEvent event) {
    SkinChangerAPI.Change(event.getPlayer(), SkinChangerAPI.GetbyName(event.getPlayer.getName()));
}

By Object:

@EventHandler
public void OnJoin(PlayerJoinEvent event) {
    SkinChangerAPI.Change(event.getPlayer(), SkinChangerAPI.GetbyObject(event.getPlayer()));
}
You might also like...

Cordova plugin for Android Serial USB communication (easily connect an Arduino board to an Android device).

PR-DC cordova-plugin-serialusb Cordova plugin for Android Serial USB communication. This plugin makes a connection to the external board trivial, for

May 8, 2022

A simple ping plugin for amazing people.

SimplisticPing Download: https://github.com/LoJoSho/SimplisticPing/releases Paper Forum Post: https://forums.papermc.io/threads/simplisticping-a-ping-

Jan 9, 2022

A plugin for the ja-netfilter, it can delete expired log files

A plugin for the ja-netfilter, it can delete expired log files

A plugin for the ja-netfilter, it can delete expired log files

Feb 14, 2022

A Nexus Repository 3 plugin that allows usage of Terraform repositories

Nexus Repository Terraform Format Table Of Contents Developing Requirements Download Building Using Terraform with Nexus Repository Manager 3 Compatib

Dec 5, 2022

Spigot plugin featuring a wide variety of features for a server based on modules.

CTSNC, standing for Custom Chat, Tablist, Scoreboard, NameTag & Chat, is a all-round solution based on multiple modules each featuring a dedicated function while CTSNC acts as the core. Here all configuration files are housed for easy management and customization.

Dec 30, 2022

Sauron, the all seeing eye! It is a service to generate automated reports and track migrations, changes and dependency versions for backend services also report on known CVE and security issues.

Sauron, the all seeing eye! It is a service to generate automated reports and track migrations, changes and dependency versions for backend services also report on known CVE and security issues.

SAURON - VERSION AND DEPLOYMENT TRACKER DESCRIPTION Sauron, the all seeing eye! It is a service to generate automated reports and track migrations, ch

Oct 31, 2022

A calculator that performs various operations such as addition, subtraction, multiplication and division of positive and negative values

A calculator that performs various operations such as addition, subtraction, multiplication and division of positive and negative values

A calculator that performs various operations such as addition, subtraction, multiplication and division of positive and negative values The calculator also does percentages, square roots and squares

Jan 31, 2022

A Local implementation of a java library functions to create a serverside and clientside application which will communicate over TCP using given port and ip address.

A Local implementation of a java library functions to create a serverside and clientside application which will communicate over TCP using given port and ip address.

A Local implementation of java library functions to create a serverside and clientside application which will communicate over TCP using given port and ip address.

Feb 12, 2022

Tripoli imports raw mass spectrometer data files and supports interactive review and archiving of isotopic data.

Tripoli imports raw mass spectrometer data files and supports interactive review and archiving of isotopic data.

Tripoli imports raw mass spectrometer data files and supports interactive review and archiving of isotopic data. Tripoli facilitates visualization of temporal trends and scatter during measurement, statistically rigorous filtering of data, and calculation of statistical parameters.

Dec 15, 2022
Releases(v1.1-beta)
Owner
Gabriel MERCIER
French developper
Gabriel MERCIER
An easy to use Hindi keyboard Android app

AasaanHindi-Keyboard-app An easy to use Hindi keyboard Android app. Easy and fast Hindi typing.

Ankit Kumar 1 Jan 20, 2022
lobster is an easy-to-use Discord bot to play music in any voice channel

lobster is an easy-to-use Discord bot to play music in any voice channel

lundy 6 Apr 8, 2022
A lightweight staff chat plugin for BungeeCord and Spigot.

A lightweight staff chat plugin for BungeeCord and Spigot with 2-way Discord chat support and many other great features.

null 4 Mar 30, 2022
Feature Flags for Java made easy

✨ ✨ ✨ FF4J - Feature Flipping for Java ✨ ✨ ✨ FF4j, is an implementation of the Feature Toggle pattern. ?? Features Feature Toggle: Enable. and disable

FF4j 1.1k Dec 25, 2022
null 8 Dec 22, 2022
A lightweight, simple FTP server. Pure Java, no dependencies.

MinimalFTP A lightweight, simple FTP server. Pure Java, no libraries. Features Although it's named "minimal", it supports a bunch of features: 100% Ja

Guilherme Chaguri 131 Jan 5, 2023
A lightweight command processing pipeline ❍ ⇢ ❍ ⇢ ❍ for your Java awesome app.

PipelinR PipelinR is a lightweight command processing pipeline ❍ ⇢ ❍ ⇢ ❍ for your awesome Java app. PipelinR has been battle-proven on production, as

Eduards Sizovs 288 Jan 8, 2023
Quiltflower is a fork of Fernflower adding additional features for use with the Quilt toolchain.

Quiltflower Quiltflower is a fork of Fernflower adding additional features for use with the Quilt toolchain. Changes include: Javadoc application Mult

null 449 Jan 5, 2023
A Fast, Secure, Ready to use, Highly customizable email verifier API

Email verification API What is this? A Fast, Secure, Ready to use, Highly customizable email verifier API. How to use Clone the project git clone http

Amir 3 Oct 4, 2022
A theoretically-infinitely-scalable Skyblock plugin.

hyperblock A theoretically-infinitely-scalable Skyblock plugin. wat Worlds are persisted in S3 buckets, write-through cached in Redis.

amy null 16 Aug 10, 2022