NPC Module

The NPC module enables the spawning of fake players for server selection.

Placeholders:

  1. Inventory and Displayname

+ %group_name% -> Displays the name of a group.
+ %online_services% -> Indicates the number of services that are currently online within a group.
+ %max_players% -> Represents the maximum number of players that can be accommodated.
+ %online_players% -> Shows the current number of players who are online.
  1. Items

+ %group_name% -> Displays the name of a group to which a service belongs.
+ %service_name% -> Shows the name of a specific service.
+ %max_players% -> Represents the maximum number of players that a particular service can accommodate.
+ %online_players% -> Indicates the current number of players who are online within a specific service.
+ %service_motd% -> Displays the Message of the Day (MOTD) for a specific service.
+ %service_node% -> Shows the node where a specific service is currently running.
+ %service_id% -> Displays the unique ID of a specific service.

Standard configuration:

{
  "configurations": [
    {
      "targetGroup": "Lobby",
      "inventoryName": "§7► §bCLOUDNPC §8• §7%group_name%",
      "collidable": true,
      "tracingPlayers": true,
      "glowColor": "",
      "leftClickAction": "CONNECT_RANDOM",
      "rightClickAction": "OPEN_INVENTORY",
      "names": {
        "defaultLine1": "§8► §b§l%group_name%",
        "defaultLine2": "§7§3%online_players% playing",
        "maintenanceLine1": "§8► §b§l%group_name%",
        "maintenanceLine2": "§cCurrently in Maintenance"
      },
      "onlineItem": {
        "material": "lime_dye",
        "displayName": "§8► §b§l%service_name%",
        "lore": [
          "§8►  §7%online_players%§8/§7%max_players%",
          "§8►  §7%service_motd%"
        ]
      },
      "emptyItem": {
        "material": "light_blue_dye",
        "displayName": "§8► §b§l%service_name%",
        "lore": [
          "§8►  §7%online_players%§8/§7%max_players%",
          "§8►  §7%service_motd%"
        ]
      },
      "fullItem": {
        "material": "orange_dye",
        "displayName": "§8► §b§l%service_name%",
        "lore": [
          "§8►  §7%online_players%§8/§7%max_players%",
          "§8►  §7%service_motd%"
        ]
      }
    }
  ]
}

Last updated