mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-03-30 08:26:07 +02:00
Citizens - the premier plugin and API for creating server-side NPCs in Minecraft.
* Improve handling of NPC names, fixes #1640 Moves the logic to a Util method (instead of duplicated in each module), and adds the "prefixColors" portions (replacing just a static 'RESET' code). If colors and effects are combined, using only the most recent effect is sufficient (eg reapplying bold) as that should produce effectively no change while still having a color code stuck into the name as is needed to break NPCs looking like real players internally. * Additional NPC name improvement: fix color code splliting a name consisting of a color code followed by 15 letters would get split in the middle of the color code, rather than around it. This fixes that. |
||
---|---|---|
dist | ||
main | ||
v1_8_R3 | ||
v1_10_R1 | ||
v1_11_R1 | ||
v1_12_R1 | ||
v1_13_R2 | ||
.gitignore | ||
ISSUE_TEMPLATE | ||
LICENSE | ||
pom.xml | ||
README.md |
Citizens2 README
Citizens is an NPC plugin for the Bukkit API. It was first released on March 5, 2011, and has since seen numerous updates. Citizens provides an API which developers can use to create their own NPC characters. More information on the API can be found on the API page of the Citizens Wiki (https://wiki.citizensnpcs.co/API).
Compatible with:
- Minecraft (for specific compatible version information, see http://wiki.citizensnpcs.co/Versions for info)
- CitizensAPI (for compiling purposes only)
Extra information
Javadoc: http://jd.citizensnpcs.co
Spigot page: https://www.spigotmc.org/resources/citizens.13811
For questions/help join our discord at: https://discord.gg/Q6pZGSR