1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

How to create NPC(Human)? [1.1.x].

Discussion in 'Help' started by ynitaz_L, May 27, 2018.

  1. ynitaz_L

    ynitaz_L Spider

    Messages:
    6
    Code please))
     
  2. HBIDamian

    HBIDamian HBIDamian Staff Member

    Messages:
    365
    GitHub:
    HBIDamian
    Code:
    package me.MyName.npc;
    
    public class npc extends Listener {
    public final Logger logger = Logger.getLogger("Minecraft");
    public static NPCplugin;
    
    
    public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args){
        if(commandLabel.equalsIgnoreCase("npc")){
            if(args.length == 0){
                sender.sendMessage(ChatColor.RED + "Usage: /npc <args>");
                sender.sendMessage(ChatColor.RED + "Human Created!");
            }
        }
    }
    
     
    OnTheVerge and Muqsit like this.
  3. LewBr

    LewBr Zombie

    Messages:
    385
    GitHub:
    lewbr
    Wait, what?
     
    HBIDamian likes this.
  4. ynitaz_L

    ynitaz_L Spider

    Messages:
    6
    Nooooo, how to create entity Human. PHP
     
  5. HBIDamian

    HBIDamian HBIDamian Staff Member

    Messages:
    365
    GitHub:
    HBIDamian
    /slapper create human [name]


    That plugin is already in php :D
     
  6. ynitaz_L

    ynitaz_L Spider

    Messages:
    6
    Code...
     
  7. HBIDamian

    HBIDamian HBIDamian Staff Member

    Messages:
    365
    GitHub:
    HBIDamian
    You can not expect someone to whip you out a fat and juicy code upon your command....

    And this does not belong in the Help catagory as it's to request for help setting up PocketMine-MP, and not requesting someone to make your plugin.
     
    OnTheVerge and EdwardHamHam like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.