Skip to content

Minecraft 1.12용 CommandNPC 플러그인

NPC에 명령어를 쉽게 추가하세요! [1.8-1.12] (BungeeCord 지원 | Citizens 2)

조회수
7 조회수
업데이트됨
업데이트됨 18.10.2026
  • 1.8 — 1.12

CommandNPC 플러그인 정보

CommandNPC is a plugin inspired by the server Mineplex, which adds a new function to NPCs. It allows users to run commands by simply right clicking on a Citizens NPC. Requires Citizens 2! Now requires Java 8

Commands and Permissions

(Now supports PlaceholderAPI)

To set up the npc with the commands you need the permission 'commandnpc.admin'

Be aware that flags that require additional input like [--v price], you need 2 dashes(-)!

/npc cmdadd [-c console] [-o Op] [-r random] [-i ignorePermMsg] [-l ignoreMoneyMsg] [--v price] [--t clickType] [--d delay] [--cd cooldown] [--p custom.permission.node] <command...> - Add a command to be executed upon clicking the selected NPC.

The -c flag runs the command through the console.

The -o flag runs the command as an op.

  • The -r flag picks a random command and executes that one command only.
  • The -i flag when true, noPerm message doesn't send
  • The -l flag when true, noMoney message doesn't send
  • The --v flag charges the player the specified amount, when running the command. (Numeric with decimal)

The --p flag requires the player to have the specified permission.

  • The --d flag is the amount of ticks that the command will be delayed by. (Integer input)
  • The --cd flag is a cooldown for the command in ticks. (20 ticks in a second)
  • The --t flag sets the clickType('left', 'right', or 'both') | This will default to the global setting in config.yml

/npc cmdinfo [id] - Gets various information about all the NPC commands

If you include the command 'id' it will only show information for that command.

  • You get the 'id' from using the 'cmdinfo' command

/npc cmdremove <id> - Removes a specific command

  • You get the 'id' from using the 'cmdinfo' command

/npc cmdset <id> [-c console] [-o Op] [-r random] [-m cdMsg] [-i ignorePermMsg] [-l ignoreMoneyMsg] [--v price] [--t clickType] [--d delay] [--cd cooldown] [--p custom.permission.node] [command | cdMsg...] - Set various variables for the command

The -c flag runs the command through the console. (This will toggle between true/false)

  • The -o flag runs the command as an op. (This will toggle between true/false)
  • The -r flag picks a random command and executes that one command only.
  • The -m flag is when you have a cooldown amount specified. When the player is in a cooldown and attempt to use the NPC, it will send them this message. (Usage: /npc cmdset -m [cdMsg...]) Note: When using other flags the cdMsg as to be the last things within the command.
  • The -i flag when true, noPerm message doesn't send
  • The -l flag when true, noMoney message doesn't send
  • The --v flag charges the player the specified amount, when running the command. (Numeric with decimal)
  • The --p flag requires the player to have the specified permission.
  • The --d flag is the amount of ticks that the command will be delayed by. (Integer input)
  • The --cd flag is a cooldown for the command in ticks. (20 ticks in a second)
  • The --t flag sets the clickType ('left', 'right', or 'both')
  • You get the 'id' from using the 'cmdinfo' command

/npc cmdreset - Remove all commands from the selected NPC.

You can use '%name' in commands as a placeholder for the user who is clicking the NPC.

  • This plugin now supports a BungeeCord command. You may now use 'server <serverName>' to teleport people between servers!

How to setup the NPC

Edit config.yml to your likings

Select the NPC you wish to add commands too.

Use the command 'cmdadd' (Syntax listed above) to add the commands you wish.

These commands will be saved.

If you wish to remove the commands simply use the 'resetcmds' command. (Syntax listed above)

Metrics by bStats

  • https://bstats.org/plugin/bukkit/CommandNPC

Github

https://github.com/messageofdeath/CommandNPC

===== Donations =====

If you like what you see and want to support the development of this plugin and any other plugins I decide to create, you can donate to the developers! Just check the upper right of the page.

CommandNPC 설치 방법

  1. A server on Paper or Spigot

    The plugin runs on the server core for Minecraft 1.8–1.12; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file CommandNPC-1.9.1.jar (81 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Minecraft 1.12 runs on Java 8: with a different Java version the game may close right after launch.

버전

의존성 포함

Minecraft로더파일날짜작업
1.9—CommandNPC v1.9.1 (For 1.7.10 - 1.12)80.6 KB
1.9—CommandNPC v1.8.4 (For 1.8 - 1.11.2)24.2 KB

FAQ

Which Minecraft versions does CommandNPC work on?

There are files for 1.12, 1.11, 1.10, 1.9, 1.8.1, 1.8. The newest is 1.12.

Do players need to install CommandNPC?

No, the plugin goes only on the server, into the plugins folder: players do not need to download anything.

Which Java does CommandNPC need?

Minecraft 1.12 runs on Java 8. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

Where can I download CommandNPC safely?

On this page: the file CommandNPC-1.9.1.jar (81 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: e50645e6987c945ad863361f959cfd5fb0e5f037.

리뷰

CommandNPC의 첫 평가를 남겨 보세요

댓글 0

댓글을 작성하려면 로그인하세요로그인

비슷한 플러그인

모든 플러그인

이 항목 더 보기