SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedCreatures & NPCs

CNPC-Additions

by Aha_Shine · for Minecraft

New features in custom NPC mod.

5.0KDownloads
2 yr agoLast updated
LicenseRef-All-Rights-ReservedLicense
ForgeLoaders

About CNPC-Additions

From Modrinth

New features in custom NPC mod.

Here's the English translation for your mod description on CurseForge:


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).

Highlights

From source data

Game versions

Supports 6 Minecraft versions, the newest being 1.20.6.

Loaders

Runs on Forge.

Footprint

Rated a light load on a server.

CNPC-Additions on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers. We download it from Modrinth, place it, and restart the server.
Server side
Required on the server
Server type needed
Forge
Server load
light
Smallest plan we suggest
Minecraft — 1.5 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
1.20.1-1.5, released 2024-10-25

Game versions by loader

LoaderGame versionsNewest
Forge1.20.1 to 1.20.6 (6 versions)1.20.6

From 3 recorded builds of CNPC-Additions.

Recent builds

BuildReleasedGame versionsLoaders
1.20.1-1.52024-10-251.20.1 to 1.20.6 (6 versions)Forge
1.20.1-1.42024-10-241.20.1Forge
1.20.1-1.0.02024-09-291.20.1 to 1.20.6 (6 versions)Forge

Dependencies

  • Required: modrinth project vFAmwl6B (modrinth, not in our catalogue)

Declared by the newest build that lists any. Required ones are installed with it on one-click installs.

Run CNPC-Additions on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Creatures & NPCs

Adds or changes creatures, NPCs and how they behave.

Runs on your server

From source side support

Modrinth lists CNPC-Additions as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
Forge
Runs on
Serverrequired on the server
Game versions
1.20.6 and 5 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-17Open ↗
  • ✓AuthorAha_Shine, as published on Modrinth
  • ✓LicenseLicenseRef-All-Rights-ReservedFree

CNPC-Additions, answered

Generated from the mod’s own source data.

Do my players need to install CNPC-Additions?

Modrinth lists CNPC-Additions as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Forge.

Is it free?

Yes. CNPC-Additions is free to download from Modrinth. Its license is LicenseRef-All-Rights-Reserved.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run CNPC-Additions on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add CNPC-Additions in one click.