How to create custom commands?

Discussion in 'Bukkit Help' started by Ryan Carty, Nov 2, 2011.

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

    Ryan Carty

    Okay I used to program RSPS and I have moved to minecraft :) Can someone please tell me the file I need to edit if I want a command which will say: /starter

    After a player has typed it in they will get diamond armour and sword. Then they will recieve a bow and 3x64 arrows.

    Appreciate this guys (y)
     
  2. Offline

    Lolmewn

    it's in your plugin.yml, edit that to your liking and handle the commands in your main page using
    public boolean onCommand(CommandSender sender, Command cmd, String str, String[] args){
    return false;
    }
     
    Ryan Carty likes this.
  3. Offline

    Ryan Carty


    Yeah thanks I'll look at it later :)
     
Thread Status:
Not open for further replies.

Share This Page