If i use /mycommand it will spawn a zombie with diamond chestplate and a diamond sword

Discussion in 'Spigot Help' started by zabir, Jul 2, 2021.

  1. I am a new spigot coder. So, If I use /mycommand it will spawn a zombie to my location with diamond chestplate and diamond sword and say "A monster zombie has spawned to your location". Plz help me to make a plugin like this :)
     
  2. Do you have a basic understanding about Java and the Bukkit API?

    Basically, what you have to do is create a command, and spawn an entity using the World object inside the current players locations. Sending messages is quite simple as well, by calling Player#sendMessage
     
    • Like Like x 1