Back to mods
CNPC-Additions project artwork

CurseForge · Minecraft mod

CNPC-Additions

New features in custom NPC mod.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which CNPC-Additions release should I use?

Updated 2 years ago
Latest stable file CNPC-Additions-1.20.1-1.5.jar
Game version 1.20.2, 1.20.3, 1.20.1
Loader Forge

CNPC-Additions-1.20.1-1.5.jar targets 1.20.2, 1.20.3, 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is CNPC-Additions required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does CNPC-Additions-1.20.1-1.5.jar need?

CNPC-Additions-1.20.1-1.5.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install CustomNPCs-Unofficial first. We found matching files for this game-version and loader setup.

CustomNPCs-Unofficial Needed by CNPC-Additions-1.20.1-1.5.jar
required
Matching file found Matched file: CustomNPCs-1.20.1-GBPort-Unofficial-1.20.1.20260711.jar

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add CNPC-Additions without breaking your instance.

Built for CNPC-Additions-1.20.1-1.5.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use CNPC-Additions-1.20.1-1.5.jar. It targets 1.20.2, 1.20.3, 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install CustomNPCs-Unofficial first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside CNPC-Additions-1.20.1-1.5.jar. It opens that exact file at the source.

About this project

What does CNPC-Additions add?

Hi! Now I'm working on a new version of the mod where I'll fix all the bugs and bugs and everything will work on the servers!

This mod adds new features to the CNPC mod and more.

Features:

  • New scripting methods for NPCs.
  • Ability to open CNPC dialogues with a new interface.
  • Option to block the breaking and placing of blocks.
  • Messages above the player's hotbar: "[Name]: Message".

Scripting:

  • Method to send messages from NPCs within a 15-block radius:
  eSay(String message, String color);

Example:

  eSay("Hello!", "E9967A");

The color is in hex format, and if not specified, the default color is #C0C0C0.

  • Method to send messages from NPCs to a specific player:
  eSayTo(IPlayer player, String message, String color);

Example:

  eSayTo(event.player, "Hello " + event.player, "E9967A");
  • Method to make NPCs glow:
  eSetGlowing(boolean);

boolean can be true or false.

  • Method to send a message above the player's hotbar:
  eSayBar - with the option to set an icon for the character;
  eSayBarI - without a character icon.

Types of eSayBar:

eSayBar(IPlayer IPlayer, String message, String fakeName, String hexColor, String icon, int maxSymbolsFirstLine, int maxSymbolsOtherLines);
eSayBar(IPlayer IPlayer, String message, String fakeName, String hexColor, String icon);
eSayBar(IPlayer IPlayer, String message, String hexColor, String icon);
eSayBar(IPlayer IPlayer, String message, String hexColor, String icon, int maxSymbolsFirstLine, int maxSymbolsOtherLines);

Example:

eSayBar(e.player, "Hello my friend", "Sigma228", "9370DB", "npc");

Types of icons (icon):

  • npc
  • non
  • invisible
  • ResourceLocation — allows you to set a custom icon for the character. The icon file can be placed in the .minecraft/customnpcs/assets/customnpcs/textures/icons/myicon.png folder.

In-game: "customnpcs:textures/icons/myicon.png".

Types of eSayBarI (without character icon):

eSayBarI(IPlayer IPlayer, String message, String fakeName, String hexColor, int maxSymbolsFirstLine, int maxSymbolsOtherLines);
eSayBarI(IPlayer IPlayer, String message, String fakeName, String hexColor);
eSayBarI(IPlayer IPlayer, String message, String hexColor);
eSayBarI(IPlayer IPlayer, String message, String hexColor, int maxSymbolsFirstLine, int maxSymbolsOtherLines);

These are the same methods as eSayBar but without a character icon.


Commands:

  • Open a dialogue from CNPC with a new interface:
  /shine dialog show player id name

Example:

  /shine dialog show Dev 13 "MrBest"

Opens a dialogue with ID 13 for player Dev under the name MrBest.

  • Block breaking restriction:
  /shine blockbreak block player boolean

false — blocks breaking, true — allows it.

  • Block placing restriction:
  /shine installingBlocks player boolean

false — blocks placing, true — allows it.


Current mod features:

  • [✔] New scripting methods.
  • [✔] New dialogue interface.
  • [✔] Messages above the hotbar.
  • [✔] Block breaking and placing restrictions.
  • [✘] Quest changes (menu).
  • [✘] New ChatBubbles (messages above NPCs' heads).

Project description from CurseForge.

Pick your setup

CNPC-Additions by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

CNPC-Additions versions and loaders

3 of 3 releases match

Looking for an older file? The official CurseForge project page is in Resources.