Sueta
SK

SkinChanger | API | CONFIG | MySQL Support | All messages ad

1.6.0

A plugin with which you can change your skin.

·Plugin

wood-1084109__340.png

» All messages changeable.
» The source code is available on request.
» A developer API was built in.
» You don't need to restart the game.

Config
"
Command:
  skin:
    permission: "skin.change"
    otherChangeSkinPermission: "skin.change.other"
    skinChanged: "%PREFIX% &7You have &asuccessfully&7 changed your skin&8!"
    otherPlayerSkinChanged: "%PREFIX% &a%PLAYER% &7skin successfully changed&8!"
    otherPlayerNotFound: "%PREFIX% &7Player &c%PLAYER%&7 could not be found&8."
    noPermission: "%PREFIX% &7You have no &cpermission&7 to do this&8!"
    use: "%PREFIX% &7Use &a/skin <Skin> (<Player>)&7 to change your skin&8."
    skinNotFound: "%PREFIX% &7The skin could &cnot&7 be found&8."
    youAreNotAPlayer: "%PREFIX% &7You are not a &cplayer&8."

MySQL:
  # If the "MySQL" function is used, you get the skin even after a new connection.
  use: true

  host: "localhost"
  database: "skinchanger"
  user: "root"
  password: ""
Setup
  1. Download the plugin.
  2. Drag the plugin into your plugins folder.
  3. Restart your server.
  4. If you want to use the "MySQL Support" function, enter your data and set the following at "MySQL: use:": "true"
  5. The plugin is now activated and you can change your skin with "/skin <Skin>".
Developer API
package example;


import net.baumarkt.event.PlayerChangeSkinEvent;
import net.baumarkt.utils.SkinChangeAPI;
import net.baumarkt.utils.skin.Skin;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;

public class Example implements Listener {

    public void changeSkin(final Player player, final String skin){
        SkinChangeAPI.setSkin(player, skin);
    }

    @EventHandler
    public void handle(final PlayerChangeSkinEvent event){
        final Player player = event.getPlayer();
        final Skin skin = event.getToSkin();

        //...
    }
}
Commands
  • /skin <Skin> | Permission can be set in the config.
  • /skin <Skin> <Player> | Permission can be set in the config.
Finished configs

Translation of "Google Translate".

German:

#
# SKINCHANGER - RECODE | Config
#

PREFIX: "&7[&bSkin&7] "
Command:
  skin:
    permission: "skin.change"
    otherChangeSkinPermission: "skin.change.other"
    skinChanged: "%PREFIX% &7Du hast dein Skin &aerfolgreich&7 geandert&8!"
    otherPlayerSkinChanged: "%PREFIX% &7Der Skin von &a%PLAYER% &7wurde geandert&8!"
    otherPlayerNotFound: "%PREFIX% &7Der Spieler &c%PLAYER%&7 konnte nicht gefunden werden&8."
    noPermission: "%PREFIX% &7Dazu hast du &ckeine&7 Rechte&8!"
    use: "%PREFIX% &7Benutze &a/skin <Skin> (<Player>)&7 um dein Skin zu wechseln&8."
    skinNotFound: "%PREFIX% &7Der Skin konnte &cnicht &7gefunden werden&8."
    youAreNotAPlayer: "%PREFIX% &7Du bist &ckein &7Spieler

French:

#
# SKINCHANGER - RECODE | French Config
#

PREFIX: "&7[&bSkin&7] "
Command:
  skin:
    permission: "skin.change"
    otherChangeSkinPermission: "skin.change.other"
    skinChanged: "%PREFIX% &7Votre peau a bien &achangé.&8!"
    otherPlayerSkinChanged: "%PREFIX% &7La peau de &a%PLAYER% a&7 changé&8!"
    otherPlayerNotFound: "%PREFIX% &7Le joueur &a%PLAYER%&7 est introuvable&8."
    noPermission: "%PREFIX% &7Vous n'avez aucun droit &csur&8!"
    use: "%PREFIX% &7Utilisation &a/skin <Skin> (<Player>)&7 pour changer de peau&8."
    skinNotFound: "%PREFIX% &7La peau est &cintrouvable&8."
    youAreNotAPlayer: "%PREFIX% &cTu n'es pas un joueur&8."
Screenshots

to

Similar projects

Plugin →