HyperCitizens

HyperCitizens

Lets HyperScript scripts create and control Citizens NPCs, and run script when a player clicks one.

103 downloads 0 followers

HyperCitizens

HyperCitizens is an addon for HyperScript that connects your scripts to Citizens NPCs: create them, dress them, make them move and talk, and run script when a player clicks one.

on npc click "Guide":
    make npc "Guide" say "Welcome, %player.name%! Follow the path to the market."
    give 1 bread to player

What you can do

  • Run script on a click: on npc click "Guide": and on npc left click "Guard":
  • Make NPCs: create npc "Guide" at player's location, or as "villager", "cow" and so on
  • Dress them: set tool of npc "Guard" to diamond sword, plus armour and offhand
  • Add floating text: add hologram line "Right-click to talk" to npc "Guard"
  • Make them act: watch players, follow player, patrol between places, walk to, look at
  • Make them talk: make npc "Guide" say "Welcome!"
  • Change skin and name, and find NPCs by name or number

NPCs made with /npc create work in scripts too, and NPCs made by a script are saved by Citizens.

Requirements

HyperScript 1.7.4 or newer
Citizens 2.0.27 or newer
Server Paper or Spigot 1.16.5+, Java 8+

Installation

  1. Put the jar in the server's plugins/ folder, next to HyperScript and Citizens.
  2. Restart the server.

There is nothing to configure.

Good to know

  • An NPC is meant by its number or by its name, compared without colours.
  • A patrol is remembered only while the server runs; start it again from an on server start: block.
  • This addon collects no data.

Licence

MIT, like HyperScript.

Full syntax and examples: hyperscript.monoforge.net/addons.html

No gallery available for this project.

Version Minecraft Loader Download

HyperCitizens 1.1.4

1.1.4

1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
paper, purpur, spigot
Download

HyperCitizens 1.1.3

1.1.3

1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
paper, purpur, spigot
Download

HyperCitizens 1.1.1

1.1.1

1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
paper, purpur, spigot
Download

HyperCitizens 1.1.0

1.1.0

1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 26.1, 26.1.1, 26.1.2, 26.2, 26.3
paper, purpur, spigot
Download