[[Template core/front/global/favico is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]] Jump to content

FAQ | How to use Citizens


Recommended Posts

 

M I N E H U T  C O M M U N I T Y  F A Q

HOW TO USE CITIZENS

REQUIREMENTS: Citizens
DIFFICULTY: MEDIUM

Introduction:

Have you ever wanted to create NPCs that players can interact with? Citizens allows you to do that! With Citizens, you can create NPCs with custom names, custom skins, etc.

 

First, you’ll need the plugins Citizens and Vault. Vault is a permissions, economy, and chat API used by other plugins.

Create/delete an NPC:

To create an NPC, you have to use the command /npc create (name), it will create an NPC for you. When you create the NPC, it’ll be spawned at your position and it’ll take the skin of any Minecraft account with that name. Note that you can use any character in the name, it doesn’t have to be limited to names that Minecraft accounts can use.

 

To delete an NPC, simply select the NPC using /npc select while looking at the NPC, and then run /npc delete.

Move an NPC:

To move an NPC, you have to use the command /npc move, and what that will do is teleport the NPC to your exact position.

Change the skin of an NPC:

If you want to make your NPC use the skin of a Minecraft account, use the command /npc skin (name)!

If you want to make your NPC use a file for the skin, first, you’ll want to upload the skin to a file hosting service like file.io or ufile.io. Then, you’ll want to take the URL that’s given to you by the file hosting service, and run /npc skin --url (paste url here).

Make an NPC chat:

To make an NPC talk to you, you’ll want to run /npc text and it’ll give you all sorts of options for making your NPC talk.

For example, if you want to make an NPC send a message when you get near it:

  • Run /npc text, this will put you into the text editor.

  • Send ‘add’ in chat, you can now add a message by sending it in chat right after.

  • You have now added a message to the npc. To make it send that message when you get near, send ‘range (distance in blocks)’, and then send ‘close’ to make the npc a close talker.

  • To close the text editor, send ‘exit’ in chat. Now, whenever you get near the npc, it’ll send the message!

Require further assistance?:

If you need more help on this topic, head over to this section of forums, or join our Discord!

📎  https://youtu.be/DmXbQWD10Rk

Compiled by the Minehut Support Team

 

Edited by TheGoose
  • Like 1

[VIP] since 12/25/2019 AND/OR 1/7/2020

Support since 9/19/2020

 

5.png.e14b1bf83edf0ac2edc1bfb822177184.png

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...