Glass plugin suite wiki by GlassMC and GlassHosting. Licensing and downloads are coming soon through GlassBilling.

GlassNPC

Version 1.0.0-alpha.7 • Tested on Paper 26.3 • Java 25 • Support: support@glasshosting.com

Overview

GlassNPC creates NPCs, dialogue trees and quests, and edits them in the world without a client mod:

  • Studio (/gnpc) with nearby NPC search and creation shortcuts.
  • World editor: sneak-right-click an NPC to get a private preview with floating buttons (Name & style, Entity type, Move, Inspector, Save, Cancel). Aim to place, scroll to rotate, sneak-scroll for height, grid snapping, up to 20 undo steps. Other players keep seeing the saved NPC until you press Save.
  • Name designer: colors, #RRGGBB, gradients, rainbow, bold/italic/underline/strikethrough, resource-pack fonts, or raw MiniMessage.
  • Entity types: player-style mannequins (with skins), villagers, animals, hostile mobs and armor stands.
  • Click actions per click type, dialogue with choices, quests with objectives and rewards, a player quest journal.
  • Integrations: DeluxeMenus menus, DecentHolograms, PlaceholderAPI, Vault money rewards, WorldGuard regions, MythicMobs, Nexo and ItemsAdder items, and more (all optional).

Requirements

  • Paper 26.3 (tested on build 200), Java 25.
  • GlassAPI 2.2.0-alpha.1 or newer compatible release (hard dependency). All NPC content and player quest state is saved by GlassAPI.
  • Optional: DeluxeMenus, DecentHolograms, PlaceholderAPI, Vault, LuckPerms, WorldGuard, WorldEdit, MythicMobs, MythicEnchants, CMI, Essentials, Quests, BetonQuest, ItemsAdder, Nexo, ExecutableItems, ExecutableBlocks, SCore.

Installation

  1. Stop the server; back up the JARs and the whole GlassAPI data folder.
  2. Install one GlassAPI and one GlassNPC JAR (one edition each).
  3. Start, then run /gnpc status and /gnpc hooks to see which integrations are detected.

First-time setup

  1. Run /gnpc and choose Create & place NPC, or /gnpc setup for the wizard.
  2. Pick a mannequin or a living entity, style its name, preview the position, press Save NPC.
  3. Bind a click: /gnpc action <npc> RIGHT MESSAGE Hello, {player}!
  4. Try /gnpc demo to see a sample, and /gnpc validate after editing.

Commands

Aliases: /gnpc. Unless noted, commands need glassnpc.admin and must be run in game.

Visual editor

Command What it does
/gnpc Open the studio.
/gnpc help Command list.
/gnpc setup Guided setup wizard.
/gnpc create New private NPC draft with an automatic ID (preview first).
/gnpc create <id> [type] Create and save immediately at your position (for example MANNEQUIN, VILLAGER).
/gnpc nearby Searchable list of NPCs in your world (radius 16 to 128).
/gnpc select <id> Select an NPC and show the world controls.
/gnpc edit [id] Open the inspector (coordinates, sliders, scale, skin, name visibility, facing, undo).
/gnpc place [id] Aim placement for the selected NPC.
/gnpc move [dx dy dz] Nudge the selected draft without aiming.
/gnpc rotate <degrees> Rotate the selected draft (for example 90 or -45).
/gnpc save Save the current draft.
/gnpc cancel Discard the draft and leave the editor.
/gnpc debug Selection debug output.

Content and data

Command What it does
/gnpc list Browse all NPCs.
/gnpc browse <full.path> Advanced tree editor (for example npcs.guide, quests, dialogues).
/gnpc set <npc> <field.path> <value> Set an NPC field (see field list below).
/gnpc field <full.path> <value> Set any content field by full path.
/gnpc add <full.path> Add an entry (for example a dialogue node or quest objective).
/gnpc remove <full.path> confirm Remove an entry.
/gnpc action <npc> <RIGHT|LEFT|SHIFT_RIGHT|SHIFT_LEFT> <type> <value> Add a click action. Needs glassnpc.console.
/gnpc equipment <npc> Edit equipment slots.
/gnpc movehere <npc> Move an NPC to your position.
/gnpc tp <npc> Teleport to an NPC.
/gnpc clone <npc> <new-id> Copy an NPC to your position (route cleared). Needs glassnpc.console.
/gnpc validate Check content for errors (unknown NPCs, invalid kill types, and so on).
/gnpc export <name> Write all content to plugins/GlassNPC/exports/<name>.json.
/gnpc import <name> Merge plugins/GlassNPC/imports/<name>.json after confirmation (max 4 MB; ID collisions are refused). Needs glassnpc.console.
/gnpc demo Create demo content.

Menus, holograms, info

Command What it does
/gnpc menu <npc> Open the NPC's click-menu bindings.
/gnpc menu <npc> <left|right|both> <menu|clear> Bind or clear a DeluxeMenus menu on a click.
/gnpc menus [menu] List or load DeluxeMenus menus in the editor (needs glassnpc.integrations and glassnpc.console).
/gnpc holograms [name] List or open DecentHolograms holograms (needs glassnpc.integrations).
/gnpc holograms backup <name> Export a hologram backup.
/gnpc hooks Integration status.
/gnpc status Version, NPC and quest counts, GlassAPI status.
/gnpc about Version and credit.
/gnpc branding on|off Show or hide credits (off needs the paid edition).
/gnpc reconcile <player-UUID> <quest> <delivered|retry> confirm Resolve an interrupted quest reward. Needs glassnpc.reconcile.
/gnpc preset [list|name], /gnpc discord [test] Paid edition. Needs glassnpc.premium.

Players

Command Permission What it does
/journal (alias /gquests) glassnpc.use Open your quest journal.
/journal abandon <quest> confirm glassnpc.use Abandon an active quest.

Permissions

Node Default Grants
glassnpc.use true Interact with NPCs and use the journal.
glassnpc.admin op Edit NPCs, dialogue and quests; sneak-right-click an NPC to edit.
glassnpc.console op Server commands in actions, clone, import and privileged integration actions.
glassnpc.integrations op Edit DeluxeMenus and DecentHolograms content.
glassnpc.reconcile op Resolve interrupted reward deliveries.
glassnpc.premium op Paid edition presets and Discord alerts.

Each NPC and action can also require its own permission (permission, viewPermission fields).

Configuration (config.yml)

Key Default Effect
tick-interval 10 Ticks between NPC runtime updates. Raise to reduce load.
max-npcs 500 Maximum NPC definitions.
max-active-quests 20 Active quests per player.
max-pending-player-updates 128 Queued player state writes.
dialogue-timeout-seconds 90 Idle time before a dialogue closes.
interaction-distance 6.0 Click reach in blocks.
branding.show-credit auto auto: hidden in paid, shown in free.
branding.item-model auto Credit icon model; set glass:shard only if players have the GlassSuite pack.
metrics.enabled true bStats opt-out.
premium.discord.* off Paid Discord alerts (npc_created).

NPC fields (for /gnpc set)

Field Default Meaning
type MANNEQUIN Entity type.
name <aqua>New NPC MiniMessage name.
description empty Notes.
skin empty Skin name (mannequins).
enabled true Spawn the NPC.
glowing false Glow outline.
lookAtPlayer true Turn to face nearby players.
nameVisible true Show the name tag.
baby false Baby variant.
scale 1 Size.
viewDistance 48 Blocks before it hides.
lookDistance 8 Blocks for look-at.
speed 0.2 Route walking speed.
pose STANDING Pose.
permission empty Needed to interact.
viewPermission empty Needed to see the NPC.
region empty WorldGuard region the NPC is limited to.
cooldownMillis 1000 Per-player click cooldown.
startHour / endHour 0 / 24 In-game hours the NPC is visible.

Action types

MESSAGE, ACTIONBAR, TITLE, SOUND, PLAYER_COMMAND, CONSOLE_COMMAND, MENU (DeluxeMenus), DIALOGUE, QUEST, TELEPORT, MYTHIC_SPAWN, WARP, PLUGIN_COMMAND. Text supports {player}, {uuid}, {npc} and PlaceholderAPI placeholders.

Quests

  • Objective types: TALK (talk to an NPC id), KILL (entity type), VISIT (location and radius), MYTHIC_KILL. Amount 1 to 100,000.
  • Reward types: MESSAGE, MONEY (needs a Vault economy), XP, CONSOLE_COMMAND, REPUTATION, ITEM (MATERIAL:amount, one stack), ITEMSADDER, NEXO.
  • Quest fields: title, description, permission, requiredQuest, turnInNpc, repeatSeconds (-1 means once).
  • Rewards are delivered one at a time with a receipt. A reward that may have been interrupted is never paid twice automatically; staff resolve it with /gnpc reconcile.

Using it efficiently

  • Draft, then save. Use no-argument /gnpc create to preview before anything goes live. Undo covers 20 draft edits; there is no undo after Save.
  • Mobile and Bedrock staff can use the floating buttons and /gnpc move, /gnpc rotate instead of keybinds.
  • Performance: for large hubs apply the performance preset values by hand (tick-interval: 20, max-npcs: 200, max-pending-player-updates: 64), keep viewDistance low, and avoid long routes.
  • Move content between servers with /gnpc export <name> on one server and copying the file into plugins/GlassNPC/imports/ on the other, then /gnpc import <name>.
  • Run /gnpc validate after bulk edits or imports.
  • Editing sessions expire after 10 minutes idle; at most 16 editors at once. Drafts do not survive a restart.

Recipes

  • Shopkeeper: /gnpc action shopkeeper RIGHT PLAYER_COMMAND blockshop (with GlassShops).
  • Reward clerk: /gnpc action clerk RIGHT PLAYER_COMMAND glassrewards open home (with GlassRewards).
  • Broker: /gnpc action broker RIGHT PLAYER_COMMAND stocks (with GlassStocks).
  • Menu NPC: /gnpc menu guide right main_menu (with DeluxeMenus).
  • Welcome quest: create a quest with a TALK objective targeting your guide NPC and a MONEY reward, then add a QUEST action on the guide.

Integration with other Glass plugins

  • GlassAPI stores content (consumers/glassnpc) and checks the minimum API release at startup.
  • GlassShards acts as the Vault economy for MONEY rewards when vault-economy: true in GlassShards.
  • GlassShops, GlassRewards, GlassStocks are opened through PLAYER_COMMAND actions as above.

Troubleshooting

Problem Fix
"glassnpc.admin required" Grant glassnpc.admin.
"glassnpc.console required" Console actions, clone and import need glassnpc.console.
"Unknown DeluxeMenu" Check the menu name with /gnpc menus.
"Economy provider unavailable" Install a Vault economy before using MONEY rewards.
"This reward needs staff review" Use /gnpc reconcile <UUID> <quest> delivered|retry confirm after checking the player's inventory.
Custom font shows as boxes Players need the matching resource pack.

Changelog

  • 1.0.0-alpha.7: Nexo pack sync for shard models, Glass Shard menu icons, bug fixes (2026-10-13).
  • 1.0.0-alpha.6: Paper 26.3 support.
  • 1.0.0-alpha.5: World editor: one editor per NPC, reserved IDs for drafts, private previews.
  • 1.0.0-alpha.4: Shared shard branding.