Solved Zombie CustomName add in config? -Eclipse

Discussion in 'Plugin Development' started by Nosma_Stew, Feb 3, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Nosma_Stew

    hey guys i changed zombies name in my main class and the code i used it
    zombie.setCustomName("§e§lWalker");
    how can i add it in the config and the players who will download the plugin and open the config can change the zombie name to whatever they want? and of course the customname for zombies are with
    @EventHandler
    public void onZombieSpawn(CreatureSpawnEvent e)
     
  2. Offline

    DoggyCode™

    ChatColor.translateAlternateColorCodes('&', getConfig#.getString("mobs.zombie"));

    mobs:
    zombie: &e&lWalker​
     
    Nosma_Stew likes this.
  3. Offline

    Nosma_Stew

    thankss i made it before i see your post but thanks for your comment maybe another people who need help with this can figure it out.
     
Thread Status:
Not open for further replies.

Share This Page