HomeJavaModscustomtrades
customtrades

CustomTrades

A comprehensive Paper/Folia 1.21.x plugin for custom trader NPCs with Nexo and PlayerPoints support.

Features

Commands

Permissions

Setup

1. Dependencies

The plugin requires the following dependencies:

2. Installation

  1. Place the plugin in the plugins folder
  2. Start the server
  3. (Optional) Install PlayerPoints and/or Nexo
  4. Use /ct create to create your first trader

Usage

Creating a trader

/ct create MyTrader villager

Spawns a villager trader at your position.

Configuring trades

  1. Look at the trader
  2. Execute /ct edit
  3. Click on "Add Trade"
  4. Place items from your inventory into the slots or use the options
  5. Set PlayerPoints cost (optional)
  6. Save the trade

YAML Configuration

Each trader is saved in plugins/customtraders/traders/<name>.yml:

name: MyTrader mobType: VILLAGER displayName: "&6Trader" persistent: true location: world: world x: 100.5 y: 64.0 z: 200.5 yaw: 0.0 pitch: 0.0

trades: 0: input1: type: VANILLA material: DIAMOND amount: 10 output: type: VANILLA material: EMERALD amount: 1 maxUses: -1 playerPointsCost: 0

1: input1: type: NONE # No item - PlayerPoints only output: type: NEXO nexoId: custom_sword amount: 1 maxUses: 1 playerPointsCost: 1000

Item Types

PlayerPoints Integration

When PlayerPoints is installed:

Folia Compatibility

The plugin uses:

License

MIT License

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more