So there is a great name changing plugin thats great for my server, the problem is that if you give yourself a random name you are then the default steve, i would like the plugin to do the same exact thing but not change the skin, On the page he includes the dl link and the source code, Thanks in advance anyone http://forums.bukkit.org/threads/ad...nge-your-name-skin-and-more-1317.34773/page-2 if anyone does do would love forever on the thread there are tons of people asking for the same thing without skin changing EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Try my plugin, SpoutPlayers: http://forums.bukkit.org/threads/us...els-appearance-pms-and-more-1-2-5-r4-0.33445/
i dont want to have to use sput client or plugin with a combo on disnamechanger and that plugin agbove it works, i just dont want it to change skins
A Bukkit method that changes the name everyone sees that player as but the player still technically keep his/her name, allowing them to keep their skin as well.
Code: package net.rymate.ChangeName; import java.util.logging.Logger; import net.minecraft.server.EntityPlayer; import net.minecraft.server.EntityTracker; import net.minecraft.server.WorldServer; import org.bukkit.ChatColor; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.craftbukkit.entity.CraftPlayer; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; public class ChangePlayerName extends JavaPlugin { Logger log = Logger.getLogger("Minecraft"); public void onDisable() { log.info(this.getDescription().getName() + "disabled!"); } public void onEnable() { log.info(this.getDescription().getName() + "enabled!"); } public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) { if (!(sender instanceof CraftPlayer)) { sender.sendMessage("You are not an in-game player!"); return false; } if (sender.hasPermission("changename.change")) { EntityPlayer player = (EntityPlayer) ((CraftPlayer) sender).getHandle(); Player senderplayer = (Player) sender; if (args.length > 0) { sender.sendMessage("You are now discuised as " + args[0] + "!"); senderplayer.setDisplayName(args[0]); setPlayerName(player, args[0]); } else { sender.sendMessage("Wrong usage! /changename <name>"); } return true; } else { sender.sendMessage("Nope, can't do that!"); return false; } } //thanks to Lahwran for this code :D public void setPlayerName(EntityPlayer player, String newname) { WorldServer world = (WorldServer) player.world; EntityTracker tracker = world.tracker; tracker.untrackEntity(player); player.name = newname; tracker.track(player); } } thats the code, I dont do Java so i dont know what to do, I can change the name in the players list/TAB key, but the plugin i use for chat and name above head changes the skin is there a way to take out the skin part and recompile or somethig?