Skip to main content

How to create an NPC guard (Bouncer) in Minecraft

rshady's picture
Posted in

This tutorial will show you how to properly create a guard in Minecraft.First of all, I've taken a few things into consideration while writing this tutorial.  It is assumed that you already:

  1. Have your own Minecraft server running using the Bukkit server (http://www.bukkit.org).
  2. You understand how Bukkit plugins work and have properly installed the Citizens 1.2 plugin (http://dev.bukkit.org/server-mods/citizens/).  Yes, I know that Citizens 2.0 is out, but as of the time of this writing it is currently in BETA and doesn't support all of the options 1.2 does yet.
  3. You have the privileges to execute Citizens commands either thru giving yourself OP privileges, or thru the appropriate permissions plugin.

 

Now we will go thru the steps needed to create our guard.

 

1. Create the NPC, for this example we will just call him 'Personal Guard'.

/npc create Personal/Guard

NOTE: The / in the name signifies that we want a space in-between the words Personal and Guard.

 

2. Now we need to tell Citizens we want him to be a guard.

(First, right click on your NPC)

/toggle guard

 

3. Now we need to specify what type of guard we want him to be.  There are essentially three types of guards.

  1. Bouncers.  Bouncers are primarily area protection guards.  They typically stand still or follow a predefined set of waypoints protecting a certain configurable radius against specified enemies.  When an enemy is defeated, they return to their base point.
  2. Bodyguards.  Bodyguards are for personal protection.  They follow you around, protecting you as necessary from enemies within a certain configurable radius.
  3. Soldiers.  Soldiers are essentially commandable guards.  Players can select soldiers they own and command them to attack other players, mobs, and even to move blocks.

For this tutorial, we are creating a Bouncer.

/guard bouncer

 

4. Now we need to tell our bouncer what size radius we want him to protect.  We actually don't NEED to do this, they come with reasonable defaults, but you can specify your own radius if you wish.

/guard radius 5

 

5. Now we need to specify who our enemies are.

MOBS

/guard addflag 1 -m creeper

/guard addflag 2 -m skeleton

/guard addflag 3 -m spider

/guard addflag 4 -m zombie

(You can repeat this command for each mob you wish to add.  The 1, 2, 3, 4 specified above is priority levels to tell your guard who to attack first).

 

6. Now we need to outfit our guard with the appropriate weapons and armor.

a. IF YOU NEED WEAPONS/ARMOR AND HAVE PRIVILEGES

/give <your name> 276 (Diamond Sword)

/give <your name> 310 (Diamond Helmet)

/give <your name> 311 (Diamond Chestpiece)

/give <your name> 312 (Diamond Leggings)

/give <your name> 313 (Diamond Boots)

 

b. Put the items you wish to give your guard on your item bar.

 

c. Let's give some items to your guard.  We need to enter equip mode to do this.

/npc equip

 

d. Select an item, then right click on your guard.  This will give your guard that item.  Repeat as necessary out the guard is fully outfitted.

NOTE:  Right clicking on a guard when you have an empty spot selected will return everything you've given the guard back to your inventory.

 

e. When done, we need to exit equip mode

/npc equip

 

7. Finally, we need to make our guard aggressive.

/guard aggro

 

And now, if everything went as planned, you should have a fully functioning guard!  Yeah!

 

If you wish to move your guard to a new location:

1. Select your guard by right clicking on him

2. Go to where you wish your guard to be standing

3. Type:

/npc move

 

If you wish to have your guard patrol a certain area, you can add waypoints as follows:

1. Select your guard by right clicking on him

2. Type:

/npc waypoints (to let your NPC know you are going to start selection waypoints).

(Left click the various places you wish your NPC to walk to.  The blocks must not be further than 16 blocks apart).

/npc waypoints  (to let your NPC know you are done selecting waypoints).

 

Hope this helps!

5
Your rating: None Average: 5 (2 votes)

UEFA Best Player: Lionel Messi got 49 votes, Suarez got 3 votes,



In fifa coins the season 2014-15 UEFA Best Player awards ceremony that just ended, Messi was elected with a large number of votes. He     fifa 16 coins got 49 votes to lead Suarez's three votes and Cristiano Ronaldo’s 2     buy fifa coins votes

UEFA Best Player is selected jointly by the UEFA and European sports media, aiming to award the player with the most outstanding performance in     cheap fifa coins European League last season. According to voting rules, voters( in total of 54) sequentially cast the three players which they think the most outstanding, the first selected player gets 5 points, the second selected player gets 3points, the third selected player gets 1 point.
    cheap fut coins

FIFA 16 PC version Demo can be played next year, announce the De

God is man too! Messi has lost 16 penalty kicks in his career

On the opening match of La Liga, Messi lost the penalty kick that provided by Suarez in the first half. Barcelona was almost forced to get a draw. Fortunately, Suarez scored the buy fifa 16 coins only goal during the whole match in the second half to save

Messi.

Recalling Messi’s career, it     fifa coins buy has often occurred that Messi has lost penalty kicks whether in the Argentine national team or in Barcelona. It has to say that this is a     fifa 16 fut coins flaw in Messi’s brilliant career.

God is     fifa coins club man too! God just makes the thing that man can’t do, and then becomes God. So does Messi, he is also a football     fut coins cheap player.
 
Messi has lost 16 penalty kicks in his career. It is worth mentioning that there is a penalty kick that Messi lost with his right foot      fifa 16 ultimate team

FIFA 16 mobile version is confirmed there are no female players

EA’s  fifa 16 coins athletic masterpiece FIFA 16 that has always brought surprise to fans is particularly catching the attention this year because the game adds women's football team for the first time and EA has featured the female players as cover star for the first time. Unfortunately, the upcoming FIFA mobile version that will be release on 22nd September has failed to synchronize the host version, at least FIFA 16 mobile version is confirmed there are no female players this year

Originally in FIFA 16, the game players can freely choose from 12 top women's soccer team including Australia, Brazil, Canada, Britain, France, Germany, Italy, Mexico, Spain, Sweden,     buy fifa coins the United States and China. In addition, they can experience a variety of game modes that adapt for women's soccer. But because FIFA mobile version is only for FIFA Ultimate Team game mode to make transformation. In Ultimate Team mode, game players will follow their wish to hire and sell players to form their own team and participate in the international tournament. If these add female players, the game will become confused, because even in reality it is not allowed to play between men and women players. So game players can only select players from the handsome     cheap fifa coins men players this year.

However, this does not mean that there are no female players in the FIFA mobile version next year. By leaving some leeway, EA’s spokesman said: "Because the men's soccer team and women’s soccer team can’t play in real life, there are definitely no female players in mobile version this year." Although regrettable, we can also hope that there are female players in FIFA next year, after all, the spokesman's words also have great possibilities.     cheap fut coins

In    fifa coins club

In    fifa coins club addition to some of the new features of career mode that previously mentioned, there are some new stuff that EA has not propagandized but also very interesting.
1. You can sign free agent during the close period of the transfer window.
2. After looking over the player, the report has been always visible on race calendar before it expires    fut coins cheap (usually three months).
3. The release period of short-term players changes from 3 months to 6 months, in addition, you can also choose lease period of 2 years.
4. During the open period of transfer window, the number of transfer messages of  fifa 16 fut coinssome players will be more in line with reality.
5. The worth of players will be closer to reality.
6. The scouts will recommend three suitable players according to the team's current weakness when they update the report.
7. If you have enough money to buy a player, the budget will by itself rather than the game players return to budget interface to adjust manually.
8. The line-up adding can set up more content, such as line-up width and "false NO. 9."

    fifa 16 ultimate team