Thanks to visit codestin.com
Credit goes to docs.simplecloud.app

Plugins

NPCs Plugin

Learn about SimpleCloud's NPCs plugin for interactive server navigation and management

Overview

The SimpleCloud NPCs plugin allows you to create interactive NPCs on your server that enable players to access other subservers and perform various actions.

Supported Software

Server TypePlugin Support
Paper & Forks✅ Yes
Spigot & Forks✅ Yes
Other❌ No

Quick Setup

  1. Download the SimpleCloud NPCs plugin from GitHub
  2. Download and install one of the supported NPC plugins (e.g., Citizens)
  3. Place both plugins in your server's plugins folder
  4. Start your server
  5. Create an NPC using the third-party plugin's commands
  6. Use the SimpleCloud NPCs commands to add SimpleCloud functionality to the created NPC

Required NPC Plugins

You must install one of the following NPC plugins for the SimpleCloud NPCs plugin to work:

PluginSupported VersionsStatus
Citizens1.19+✅ Yes
FancyNpcs1.19.4+✅ Yes
MythicMobs1.19+✅ Yes
PlayerNPC1.17.1 - 1.20.1✅ Yes

Actions

Available NPC actions and their options:

ActionOptionDescription
open_inventoryinventory.nameOpen server selection inventory
run_commandcommand.nameExecute player command
run_console_commandcommand.nameExecute console command
connect_to_serverserver.nameSend player to server
transfer_to_serverserver.ip, server.portSend to external server
quick_joingroup.name, server.name.pattern, filter.player.count, filter.server.stateRandom server join

NPC Configuration

Example configuration:

version: "1.0"
id: bedwars
holograms:
  - start-height: 2.073
    lores:
      - text: <group_name> - <property:server-software>
        billboard: CENTER
        alignment: CENTER
      - text: waiting for <group_player_count:available> players
        billboard: CENTER
        alignment: CENTER
      - text: "<server_count:ingame> Servers ingame"
actions:
  - player-interaction: LEFT_CLICK
    action: OPEN_INVENTORY
    options:
      inventory.name: bedwars
      play.sound: block.chest.open
      sound.pitch: 3
      sound.volume: 2
  - player-interaction: RIGHT_CLICK
    action: TRANSFER_TO_SERVER
    options:
      server.ip: demo-server.com
      server.port: 25565
options:
  hologram.placeholder.group: lobby
  send.message: <rainbow>Some cool text here
  send.title: title
  send.subtitle: some cool subtitle

Feedback Options

OptionDescription
send.messageChat message
send.actionbarAction bar message
send.titleTitle message
send.subtitleSubtitle message
play.soundSound effect
NPC Example

Inventory Configuration

Example inventory for server selection:

version: "1.0"
id: quickjoin.bedwars
title: <#ffffff>Bedwars
rows: 6
pagination:
  listed-group-name: bedwars
  server-name-pattern: <group_name>-<numerical_id>
  state-items:
    PREPARING: starting_pagination_item
    STARTING: starting_pagination_item
    AVAILABLE: available_pagination_item
    INGAME: ingame_pagination_item
items:
  - id: available_pagination_item
    material: LIME_BANNER
    display-name: <group_name> <numerical_id>
    lores:
      - "<gray>Players: <#38bdf8><online_players><dark_gray>/<#38bdf8><max_players>"
      - ""
      - "<gray>Version: <#a3a3a3><property:server-software> <property:minecraft-version>"
      - "<gray>Template: <#a3a3a3><property:template-id>"
Inventory Example

Commands

CommandDescription
/scnpc apply <n>Add SimpleCloud functions to an existing NPC
/scnpc <id> interact <type> setAction <action>Set click actions
/scnpc <id> interact <type> setOption <key> <value>Set click options
/scnpc <id> setOption <key> <value>Set global options
/scnpc <id> setHologramGroup <groupName>Set hologram group
/scnpc createInventory <n> <groupName>Create inventory config

Permissions

PermissionDescription
simplecloud.command.npcAccess to /scnpc

On this page