Citizens PlaceholderAPI icon

Citizens PlaceholderAPI -----

Allow the use of PlaceholderAPI placeholders on citizens npcs



Introduction:

Ever wanted to use PlaceholderAPI placeholders on your citizens npcs? Then, this plugin is what you are looking for. With this plugin, you can set a global placeholder for both the name and the skin.

Usage:

It is very simple:


- To set a name placeholder:
  • 1. Select an NPC using "/npc select"
  • 2. Type "/cpapi setnameplaceholder <placeholderapi_placeholder>"
  • Example: /cpapi setnameplaceholder %server_online%
- To set a skin placeholder:
  • 1. Select an NPC using "/npc select"
  • 2. Type "/cpapi setskinplaceholder <placeholderapi_placeholder>" for
  • Example: /cpapi setskinplaceholder %prisonranksx_name_prestige_1%
- To clear placeholders:
  • 1. Select an NPC using "/npc select"
  • 2. Type "/cpapi clearplaceholders"

NOTE: You can only use global placeholders such as leaderboard placeholders or server placeholders. You can't use %player_name%, and keep in mind that the npc name is limited to 16 characters only.

Commands:
  1. /cpapi help
  2. /cpapi setnameplaceholder <placeholder>
  3. /cpapi setskinplaceholder <placeholder>
  4. /cpapi clearplaceholders
  5. /cpapi update - force update the placeholders
Dependencies:
  • Citizens
  • PlaceholderAPI
Resource Information
Author:
----------
Total Downloads: 3,155
First Release: Jul 29, 2020
Last Update: Sep 18, 2021
Category: ---------------
All-Time Rating:
8 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings