Skip to content

A lightweight Minecraft plugin that adds a ScaleTrait to Citizens NPCs.

Notifications You must be signed in to change notification settings

BitByLogics/CitizensScale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Citizens Scale πŸ“

Citizens ScaleTrait is a lightweight Minecraft plugin that adds a ScaleTrait to Citizens NPCs, allowing you to resize NPCs with a single command.

Changes persist through server restarts, set it once and forget it!

Issues Stars

πŸ”§ Features

  • πŸ“ Scale any Citizens NPC up or down with precise control
  • πŸ’Ύ Size settings persist through server restarts
  • ⚑ Lightweight with minimal performance impact
  • 🎯 Simple one-command operation
  • πŸ”„ Instant visual updates

βœ… Requirements

  • Minecraft 1.21+ (or compatible Spigot versions)
  • Citizens plugin

πŸ“₯ Installation

  1. Download the latest version from Modrinth.
  2. Place it in your server's plugins/ directory.
  3. Ensure Citizens is installed and running.
  4. Restart your server.
  5. Start scaling your NPCs!

🧾 Commands

/npc attribute scale <scale>

Sets the scale of the currently selected NPC.

Examples:

  • /npc attribute scale 2 β†’ Makes the NPC twice its normal size
  • /npc attribute scale 0.5 β†’ Shrinks the NPC to half size
  • /npc attribute scale 1.5 β†’ Makes the NPC 50% larger
  • /npc attribute scale 0.25 β†’ Creates a tiny NPC at quarter size

Scale Range: 0.01 to 15.0 (configurable limits may apply)


πŸ’‘ How It Works

  1. Select an NPC using Citizens' selection tools (/npc select).
  2. Run /npc attribute scale <value> with your desired scale factor.
  3. The NPC instantly resizes and the change is saved permanently.
  4. The scale persists through server restarts and reloads.

πŸ” Permissions

Uses standard Citizens permissions:

  • citizens.npc.attribute - Required to modify NPC attributes

πŸ“ Notes

  • Scale changes are applied instantly and saved to the Citizens database.
  • NPCs retain their scaled size through server restarts and world reloads.
  • Compatible with all standard Citizens NPC types and other traits.
  • Very small scales (below 0.1) may cause rendering issues in some clients.

πŸ› οΈ Development

Built as an extension for the powerful Citizens NPC framework.

Feel free to contribute improvements or report any issues you encounter! πŸš€

About

A lightweight Minecraft plugin that adds a ScaleTrait to Citizens NPCs.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages