Skip to content

About

A paper mc plugin api adding accessary slots like Curios api mod

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

ย 

History

160 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

CuriosPaper Banner Logo

โœฆ CuriosPaper โœฆ

Modern Accessory & Curios Inventory Engine for Paper & Folia 1.20.6+

CuriosPaper Version 3.0 Paper / Folia 1.20.6 to 1.21+ Discord Community bStats Live Metrics Support on Ko-fi

Rings ยท Necklaces ยท Capes ยท Crowns ยท Belts ยท Charms ยท Gloves ยท Bracelets
Server-side accessory inventory with packet 3D models, modular item engine support, and native Folia multi-threading.
Pure modern Paper & Folia API. Zero NMS reliance. Zero client mods required.


Think of it as Baubles / Curios for Paper and Folia 1.20.6+, featuring clientbound packet 3D models, modular item engine integrations (Synthetix โ€” not yet approved on Modrinth, join Discord for access; Nexo, ItemsAdder, Oraxen, CraftEngine), Citizens NPC support, and a developer API.

Documentation Notice: The online documentation site (curiospaper.run.place) is currently unavailable while undergoing restructuring. Please refer to this README and join our Discord Community for setup guides, questions, and support.


๐Ÿงฉ What is CuriosPaper?

CuriosPaper provides a customizable accessory inventory engine for Minecraft servers running Paper, Purpur, or Folia. Players can equip rings, necklaces, capes, belts, charms, and other accessories through a clean, tiered GUI. Version 3.0 delegates custom item creation to popular item plugins while handling accessory slots, packet-based 3D models, and equip mechanics with zero-overhead regional thread scheduling.

Main Accessory Menu

The main accessory menu with custom slot types


โšก Features Overview

Feature Description
โšก Folia Multi-Threading Native support for Folia multi-threaded regional ticking via universal PlatformScheduler. Entity mutations and flight checks dispatch directly to owning regional threads with zero cross-region desyncs.
๐Ÿ’ 9 Slot Types Head, Necklace, Back, Body, Belt, Hands, Bracelet, Ring, and Charm
๐Ÿ“ฆ Item Engine Support Works with Synthetix (join Discord โ€” not yet approved on Modrinth), Nexo, ItemsAdder, Oraxen, CraftEngine, or vanilla items
๐ŸŽญ Packet 3D Models Clientbound packet armor stands (PacketModelManager) without persistent server entities
โšก Quick Equip Shift + Right-Click to equip accessories directly from hand or hotbar
๐ŸŽน Universal Keybinds Sneak double-tap, single sneak, or hold sneak via Synthetix Keybind API (join Discord for Synthetix)
๐Ÿช‚ Elytra Back Slot Equip elytra in back slots with isolated flight logic
โ˜ ๏ธ Death Behavior Configurable Auto (respects keepInventory and graves), Always, or Never drop on death
๐Ÿ‘ฅ Citizens NPC Support Equip accessories and render 3D models on Citizens NPCs via /curios npc
๐Ÿงฉ PlaceholderAPI Placeholders for equipped item names, counts, and slot status
๐ŸŒ Multi-Language Adventure MiniMessage formatting (<gradient>, <rainbow>, hex) in languages/en_US.yml

Slot Inventory

Slot inventory view with accessories equipped

๐ŸŽจ Click to Expand: 3D Model System Details

Attach custom 3D models directly to the player's body when accessories are equipped. CuriosPaper 3.0 renders models using clientbound packets, avoiding persistent armor stand entities in the world:

  • ๐Ÿ”„ Synchronizes with movement, sneaking, swimming, flying, and spectator mode.
  • ๐Ÿ‘๏ธ Pitch-angle culling hides models from the wearer's first-person view.
  • ๐Ÿ”ฑ Trident & Elytra compatibility temporarily hides models during throws, riptide, and gliding.
  • ๐ŸงŸ Supports mob and Citizens NPC models.
  • ๐Ÿšช Automatically hides models while inventories are open to prevent GUI visual overlap.
  • โš™๏ธ Rendering modes in config.yml: auto (packet mode with fallback), packet, or entity.

Packet 3D Models

In-game packet 3D body-mounted models

๐Ÿ“ฆ Click to Expand: Item Engine Integrations & Resource Pack Info

CuriosPaper 3.0 delegates item creation, recipes, and abilities to specialized item engines:

Engine Integration Highlights
Synthetix Native integration, unified AddonDataStore database support, Universal Keybinds hook (Not yet approved on Modrinth โ€” join our Discord to get it!)
Nexo Automatic custom item detection, custom model data resolution, slot mapping
ItemsAdder Automatic ItemsAdder item and equippable model resolution
Oraxen Automatic Oraxen item detection, model mapping, and attribute synchronization
CraftEngine Modular custom item support with automatic slot detection
Vanilla / In-Game Tag any item or vanilla material in-game using /curios tag <slot>

Zero-Port Resource Pack Injection: CuriosPaper extracts its custom GUI icons and equipment assets on boot and registers them directly into your server's active pack host (Synthetix โ†’ Nexo โ†’ ItemsAdder โ†’ Oraxen โ†’ CraftEngine โ†’ RSPM). No secondary HTTP ports or firewall rules are required.

๐Ÿ”Œ Click to Expand: Developer API & Custom Events

A thread-safe API for external plugins:

CuriosPaperAPI api = CuriosPaperAPI.get();

// Check what a player is wearing
boolean hasRing = api.hasEquipped(player, "ring", "synthetix:ruby_ring");
List<ItemStack> rings = api.getEquippedItems(player, "ring");
List<ItemStack> allCurios = api.getAllEquippedList(player);

// Tag an ItemStack as an accessory
ItemStack taggedRing = api.tagAccessoryItem(myItem, "ring");

// Programmatically equip accessories
api.setEquippedItem(player, "ring", 0, taggedRing);

// Equip 3D models onto mobs or NPCs
api.equipMobModel(zombie, "head", crownItem);

// Access the runtime slot registry
SlotRegistry registry = api.getSlotRegistry();

Custom Events:

Event When It Fires
AccessoryEquipEvent Fired when an accessory is equipped, unequipped, or swapped
CuriosModelEquipEvent Fired before a 3D model is displayed on a player (allows modifying model/CMD)
CuriosMobModelEquipEvent Fired before a 3D model is displayed on a mob or NPC
PlayerDeathCurioDropEvent Fired on death to filter, keep, or modify which accessories drop

โŒจ๏ธ Commands & Permissions

๐Ÿ“‹ Click to Expand: Commands & Permissions Table

Commands

Command Permission Description
/curios open [player] curiospaper.use / curiospaper.admin Opens accessory menu for yourself or another player
/baubles curiospaper.use Shortcut to open your accessory inventory
/curios inspect <player> curiospaper.admin Live inspection & modification GUI for player accessories
/curios tag <slot> curiospaper.admin Tags the held item as a valid accessory for the specified slot
/curios untag curiospaper.admin Removes the accessory tag from the held item
/curios give <player> <item> [amount] curiospaper.admin Gives a registered custom accessory item to a player
/curios clear <player> [slot] curiospaper.admin Clears all or specific accessory slots for a player
/curios reload [type] curiospaper.admin Reloads config, slots, languages, or all
/curios rp <info|inject> curiospaper.admin Views resource pack status or triggers pack injection
/curios npc <id> [clear] curiospaper.admin Opens accessory GUI or clears accessories for a Citizens NPC
/curios debug <player|item> curiospaper.admin Displays debug diagnostics for player accessories or held item

Admin Inspect GUI

Live inspection & modification GUI (/curios inspect )


Citizens NPC Accessories

Equipping accessories on Citizens NPCs (/curios npc )

Permissions

Permission Default Description
curiospaper.use true Allows players to open and use the accessory inventory
curiospaper.admin op Access to administrative commands (inspect, tag, give, reload)
curiospaper.slot.* true Access to all accessory slots
curiospaper.slot.<type> true Access to a specific accessory slot (e.g. curiospaper.slot.ring)

๐Ÿ› ๏ธ Configuration Showcase

โš™๏ธ Click to Expand: Configuration Files (`config.yml`, `slots.yml`, `en_US.yml`)

1. Main Plugin Config (/plugins/CuriosPaper/config.yml)

# ==============================================================================
#                      CuriosPaper 3.0 Configuration
# ==============================================================================

language: "en_US"

# Resource Pack Settings (injects into active host plugin)
resource-pack:
  host-plugin: "AUTO" # AUTO, SYNTHETIX, NEXO, ITEMSADDER, ORAXEN, CRAFTENGINE, RSPM, NONE

features:
  allow-elytra-on-back-slot: true
  quick-equip-right-click: true

  # Keybind system (hooks into Synthetix Universal Keybinds when present)
  hotkey:
    enabled: true
    slot: 8               # Hotbar slot 1-9 (8 = slot 8, -1 = any slot)
    sneak-type: "double"  # "double", "single", or "hold"
    sneak-hold-duration: 3

  # Curios inventory death drop behavior: "Auto", "Always", or "Never"
  keep-curio-inventory:
    type: "Auto"

# 3D Accessory Model Rendering Engine
models:
  enabled: true
  mode: "auto" # "auto", "packet", or "entity"
  tracking-distance: 48.0
  update-interval-ticks: 1
  hide-in-first-person: false
  auto-render-engine-models: true

# Storage Settings (Synthetix AddonDataStore or standalone YAML flatfiles)
storage:
  auto-save-interval: 5 # Minutes

2. Slot Configuration (/plugins/CuriosPaper/slots.yml)

# ==============================================================================
#                      CuriosPaper 3.0 Slot Configuration
# ==============================================================================

slots:
  head:
    name: "Head"
    icon: "GOLDEN_HELMET"
    item-model: "curiospaper:head_slot"
    custom-model-data: 10001
    amount: 1
    gui-slot: 10
    permission: "curiospaper.slot.head"
    lore:
      - "&7Equip crowns, circlets, or magical headpieces."

  necklace:
    name: "Necklace"
    icon: "NAUTILUS_SHELL"
    item-model: "curiospaper:necklace_slot"
    custom-model-data: 10002
    amount: 1
    gui-slot: 11
    permission: "curiospaper.slot.necklace"

  back:
    name: "Back"
    icon: "ELYTRA"
    item-model: "curiospaper:back_slot"
    custom-model-data: 10003
    amount: 1
    gui-slot: 12
    permission: "curiospaper.slot.back"
    pitch-up-limit: 45.0
    pitch-down-limit: 30.0

  body:
    name: "Body"
    icon: "DIAMOND_CHESTPLATE"
    item-model: "curiospaper:body_slot"
    custom-model-data: 10004
    amount: 1
    gui-slot: 13
    permission: "curiospaper.slot.body"

  belt:
    name: "Belt"
    icon: "LEATHER"
    item-model: "curiospaper:belt_slot"
    custom-model-data: 10005
    amount: 1
    gui-slot: 14
    permission: "curiospaper.slot.belt"

  hands:
    name: "Hands"
    icon: "LEATHER_CHESTPLATE"
    item-model: "curiospaper:hands_slot"
    custom-model-data: 10006
    amount: 2
    gui-slot: 15
    permission: "curiospaper.slot.hands"

  bracelet:
    name: "Bracelet"
    icon: "CHAIN"
    item-model: "curiospaper:bracelet_slot"
    custom-model-data: 10007
    amount: 2
    gui-slot: 16
    permission: "curiospaper.slot.bracelet"

  ring:
    name: "Ring"
    icon: "GOLD_NUGGET"
    item-model: "curiospaper:ring_slot"
    custom-model-data: 10008
    amount: 2
    gui-slot: 19
    permission: "curiospaper.slot.ring"

  charm:
    name: "Charm"
    icon: "EMERALD"
    item-model: "curiospaper:charm_slot"
    custom-model-data: 10009
    amount: 4
    gui-slot: 20
    permission: "curiospaper.slot.charm"

3. Language File (/plugins/CuriosPaper/languages/en_US.yml)

prefix: "<gradient:#FFB300:#FF5500>[CuriosPaper]</gradient> "

commands:
  usage-header: "<gold>CuriosPaper Commands:</gold>"
  usage-open: "<yellow>/{label} open [player]</yellow> <gray>- Open accessory inventory</gray>"
  usage-inspect: "<yellow>/{label} inspect <player></yellow> <gray>- Inspect and modify player's curios</gray>"
  usage-tag: "<yellow>/{label} tag <slot></yellow> <gray>- Tag held item for an accessory slot</gray>"
  usage-npc: "<yellow>/{label} npc <id></yellow> <gray>- Manage NPC accessories and 3D models</gray>"

๐ŸŽฎ How It Works

1. /curios open (or /baubles) โ†’ Opens the accessory menu
2. Click a slot icon          โ†’ Opens that slot's inventory
3. Place an accessory         โ†’ Abilities & 3D models activate!
  • Quick Equip: Hold a tagged item + Shift + Right-Click to equip directly.
  • Hotkey: Select hotbar slot 8 + Double-Sneak to open the menu without typing commands.

๐Ÿ”ง Requirements & Compatibility

Requirements
Minecraft 1.20.6 โ€” 1.21+
Server Software Paper, Purpur, Folia (Experimental Support)
Java 21 LTS+
Supported Item Engines Synthetix (join Discord โ€” not yet approved on Modrinth), Nexo, ItemsAdder, Oraxen, CraftEngine
Integrations Citizens 2, PlaceholderAPI
Resource Pack Automatically injected into host plugin

Warning

Experimental Folia Support: Folia regional multi-threading support is experimentalโ€”many errors, desyncs, and unexpected bugs can happen when running on Folia servers.


๐Ÿ†• What's New in v3.0

  • โšก Full Folia & Multi-Threading Support โ€” Engineered with universal PlatformScheduler for native Folia multi-threaded regional ticking. Thread-independent logic executes asynchronously while entity/region mutations (abilities, flight checks, sneak hotkeys) are safely dispatched to their owning regional threads.
  • ๐Ÿš€ Logic & Performance Optimizations โ€” Overhauled internal pipelines to eliminate legacy bloat (-25k lines), implemented concurrent keybind tracking, offloaded packet models and data stores completely off the main thread, and decoupled flight checks for smooth gameplay without server tick drops.
  • ๐Ÿงฉ Item Engine Delegation โ€” Delegated item creation, abilities, and recipes to modern item plugins (Synthetix [join Discord โ€” not approved on Modrinth yet], Nexo, ItemsAdder, Oraxen, CraftEngine).
  • ๐ŸŽญ Packet-Based 3D Models (PacketModelManager) โ€” Body-mounted 3D accessory models are rendered using clientbound packets, avoiding persistent world entities.
  • โš™๏ธ Dedicated slots.yml โ€” Migrated slot configuration to a dedicated file covering all 9 slot types with per-slot permissions (curiospaper.slot.<id>).
  • ๐ŸŒ MiniMessage Localization โ€” Adventure MiniMessage support with external language files in languages/en_US.yml.
  • โŒจ๏ธ Universal Keybinds โ€” Hooks into the Synthetix Keybind API (available via our Discord as it is not yet approved on Modrinth) for configurable sneak hotkeys.
  • ๐Ÿ‘ฅ Citizens NPC Support โ€” Manage NPC accessories via /curios npc <id>.
  • ๐Ÿงฉ PlaceholderAPI Expansion โ€” Placeholders for equipped items and slot status.
  • ๐Ÿ“ฆ Automatic Resource Pack Injection โ€” Injects assets directly into active pack host plugins without requiring secondary HTTP ports.
  • ๐Ÿ› ๏ธ Compatibility Fixes โ€” Resolved smithing table conflicts (ValhallaMMO) and fixed elytra back-slot interactions with custom flight chestplates.
  • ๐Ÿ“ข Documentation Notice โ€” curiospaper.run.place is currently undergoing restructuring; join Discord for guides and support.

Full changelog โ†’ CHANGELOGS.md


๐Ÿ“Š Live Statistics

CuriosPaper bStats Metrics Graph


๐Ÿ’ฌ Community & Support

Join the Discord

discord.gg/r5YXqgrGya

Get help ยท Report bugs ยท Suggest features ยท Stay updated


Buy Me a Coffee on Ko-fi

ko-fi.com/brothergaming52


๐Ÿค For Developers (Maven Dependency)

Maven

<repository>
    <id>jitpack.io</id>
    <url>https://jitpack.io</url>
</repository>

<dependency>
    <groupId>com.github.Brothergaming52</groupId>
    <artifactId>CuriosPaper</artifactId>
    <version>3.0</version>
    <scope>provided</scope>
</dependency>

plugin.yml

depend: [CuriosPaper]

Made with โค๏ธ by Brothergaming52

Discord ยท Ko-fi ยท Changelog ยท bStats ยท GitHub

About

A paper mc plugin api adding accessary slots like Curios api mod

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages