Skip to content

Mochos NPCs

Mochos Esenciales addon: player merchants with their own stock and any look; NPCs with combinable capabilities (dialog, trading, bank, experience, random missions, mission trees); an entity editor and JSON templates.

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Mochos NPCs

Merchants, bankers, experience traders and an entity editor for your server. A Mochos Esenciales addon that brings the economy into the world: players set up their own shops, the server has merchants, bankers and experience traders, and admins edit their NPCs without commands.

Example merchants

Player merchants

With the Spawn Merchant item (crafted, bought in the shop or given by the admin) any player places their own merchant:

  • 🛒 Sells and buys. Each offer sells an item (for money, for items or either: the buyer chooses) or buys it from other players, paying with the coins its owner leaves in its inventory, with change.
  • 📦 Its own inventory of up to two double chests: sales come from it and payments arrive in it. Money goes to the owner's bank.
  • 💳 No payment slots: the items it asks for are taken straight from your inventory. The shop shows your bank and cash.
  • 🔔 A notice for each sale and a history of sales and purchases.
  • 🎭 Its look: a villager (with profession and biome), wandering trader, golem, fox, allay… or a player with an SD or HD skin (up to 1024×1024) uploaded from a file or a URL. Also baby, size and whether it looks at players.
  • 🏷️ Its owner shows under its name in smaller letters.

Buying and selling

Pick up and place again

📥 Picking up a merchant (a player's, empty, or an admin's) puts it back in the inventory as an egg that keeps everything: look, name, type, offers and options. The egg glows and tells which NPC it holds; using it brings the same merchant back. Eggs with admin options can only be placed by an admin.

Bankers

Any NPC, with whatever look you like, can be a banker: a right click opens the bank (deposit, withdraw, transfer and the coin converter) in its own window. They are employees of the state: no owner is shown. With "Hide the Economy tab" trading and banking happen only through merchants and bankers.

Experience traders

A new NPC that stores your experience in flasks of 15 and 30 levels and gives it back. Free and exact: 315 and 1395 points. Flasks are items: keep them, sell them or give them away. Like bankers, no owner is shown.

Experience trader

Villagers with Minecraft's window

With trading in the villager window (picked in a selector), any NPC (one with a player skin too) is a real villager: it opens Minecraft's trading window with the offers you give it, without levels, with maximum or infinite uses and the experience it drops. They restock every morning.

Dialog

Like Minecraft Bedrock's NPCs, but more customisable: a window with the NPC's model beside it and pages with a title, a Markdown text (headings, lists, quotes, links) and images from a URL, and up to 12 buttons with an icon that:

  • 📄 go to another page or close the window,
  • 🧭 open a tab of Mochos Esenciales or of any addon (Economy, Travel, Players, Map, Jobs, Missions, Ranking…),
  • 🌀 travel to a server warp,
  • 🧩 open one of the NPC's capabilities (trading, bank, experience, missions, trees),
  • ⌨️ run a command as the player or as the server (with {player}),
  • 🔗 open a link.

Each button's action and the tab it opens are picked from a searchable list, and Add capability buttons puts one button per active capability on the first page. They are edited in game, page by page, with a preview. The Server guide template explains Mochos Esenciales and all its addons, with example rules, warps and commands.

Names and buttons with effects

With Ember's Text API or Inline and Mochos Esenciales' rich text turned on, the NPC's name and the dialog buttons take animated effects, like the page titles and texts:

  • Name: <rainbow>Blacksmith</rainbow> (over its head and in the header of its windows).
  • Button: <wave>Goodbye</wave>, [item:emerald] <grad colors=#FFD866,#FF6B6B>Buy</grad>.
  • Page title: <typewriter>Welcome to my forge</typewriter>.

Without the mods they show without tags. Merchant owners who are not admins only use the effects the admin opens.

Dialog with name and buttons with effects

Rainbow name over the NPC

Random missions

An NPC that offers every player a board of random missions that renews itself. Each mission has a coloured rarity — grey, green, blue, purple or gold — that decides how much it asks for, how long its time limit is and what it pays:

  • ⚔️ kill players or hunt down an online one (they are warned; killing the same victim twice in a row does not count), kill mobs,
  • 📦 deliver items, craft, mine blocks, fish, breed animals,
  • 🍄 milk a mooshroom, 🌳 grow azaleas,
  • 🗺️ go to some coordinates or find a structure.

Rewards: money, experience and random items, or the items the admin puts in each rarity (other mods' too). Missions you follow are shown on screen with their progress and time left. Everything is edited in game in Administration → NPCs → Edit random missions: per kind, turn it on, its chance, amounts, time and what it can ask for (ids of any mod, with search); per rarity, its chance, scale, extra time, money, experience and default rewards. A kind, a rarity or everything can be factory reset.

👁️ Every accepted mission can be followed, like the daily missions of jobs: it shows on the left of the screen with the other followed missions, with its progress and the time left.

Capabilities

An NPC no longer has a single type: in the editor's Capabilities tab every capability has its switch — dialog, trading, bank, experience, random missions and mission trees — and turning one on shows its editing tab. Trading picks its window in a selector: the Mochos shop or Minecraft's villager window. Only admins change them; player merchants always trade.

🖱️ On right click: with the dialog on, the dialog opens; with a single capability, that one directly; with several and no dialog, an automatic menu with one button per capability.

NPCs from earlier versions keep doing what they did: their type becomes their capability.

Mission trees

With Mochos Misiones 0.5.0, an NPC shows in its own window, under its name, the mission chapters the admin links to it in the Trees tab, public or hidden. Hidden ones don't show in the Missions tab and count for each player from the moment they open them at the NPC.

Equipment and poses

In the Look tab every NPC wears equipment: head, chest, legs, feet and both hands. Click with any item (armour, weapons, tools, Mochos Forja clothes…) and the NPC puts on a copy, you keep yours; right click removes it. And pick its pose: standing, sitting, crouching, lying down, lying face down, upside down, waving, arms up, aiming a bow, blocking with a shield or attacking.

Entity editor

In creative mode, sneak + right click one of the addon's NPCs (merchants and entities that already have capabilities; never players or other mobs, so it does not clash with other mods): name with colours and formatting, always show the name, glow, look at players, AI, invulnerable, silent, gravity, invisible, baby, health and size. For villagers also: profession, biome, level, fixed offers and their offers (add, remove, reorder, infinite uses and the experience they drop).

Villager editor

NPC templates

Export any merchant, banker, experience trader or edited entity to JSON, with its capabilities, and it stays as a template in Administration → NPCs, with its size and date, like the Configurations of Mochos Esenciales: create it in front of you, copy its JSON or delete it. What you import from a file or the clipboard is kept too. Ten example templates come with it: the offers of the Mochos Esenciales example shops (farmer, builder, adventurer, decorator, money changer, fisherman), the Central Bank, the Server guide, Rosa the bounty hunter (random missions) and Anselmo the villager.

Templates

Administration

In Administration → NPCs: allow player merchants, most per player, inventory slots, what players may customise and which entities they can pick, the recipe of the Spawn Merchant item (editable, with a default one), hide the Economy tab, the templates and the list of merchants with a button to go there, and the random missions (against players, how many at once, board, renewal and the kinds and rarities editor). Commands: /npcs huevo [players] [amount], /npcs plantilla <file>, /npcs misiones recargar and /npcs misiones reiniciar <players>.

Installation

Where Required?
Server Required
Client Required

Requires Minecraft 1.21.1, NeoForge 21.1.265 or later and Mochos Esenciales 0.35.1 or later.

  • Templates: config/mochos/exportes/npcs/.
  • Kinds, rarities and what random missions ask for (editable in game): config/mochos/npcs-misiones.json.
  • Merchant skins: <world>/mochos_npcs/skins/.

Languages: Spanish and English.