Information

Rival Credits, The best Minecraft Shop Plugin

RivalCredits Shop Plugin

Welcome to the complete documentation for RivalCredits - a powerful, best, feature-rich shop system for Minecraft servers.


Features

Core Features

  • βœ… Unlimited Categories - Create as many shop categories as you need

  • βœ… Unlimited Packages - No limits on the number of items you can sell

  • βœ… Unlimited Pages - Multi-page support for large amount of packages

  • βœ… Fully Configurable - Customize every aspect of your shop

  • βœ… Database Support - MySQL & SQLite support with cross-server functionality

  • βœ… PlaceholderAPI Support - Full integration with PlaceholderAPI

  • βœ… HEX Color Support - Modern RGB color codes for names and lore

Shop Features

  • πŸ“Š Leaderboards - Text-based or GUI leaderboards for top purchasers

  • 🎯 Menu Actions - Execute commands, close menus, play sounds, and more

  • πŸ”’ Permission Requirements - Control who can see and purchase items

  • βœ… Confirmation Menu - Optional purchase confirmation for expensive items

  • πŸ’° Advanced Discounts - Per-category, per-item, global, temporary, or permanent

  • πŸ”₯ Special Deals - Time-limited special offers system

  • ⭐ Hot Products - Display most-purchased items automatically

  • πŸ“ Purchase Logs - Track all purchases with detailed logging

  • πŸ”” Discord Webhook - Log commands and purchases to Discord

Advanced Features

  • 🎨 Fully Customizable Menus - Design your shop exactly how you want

  • 🌐 Cross-Server Support - Execute commands on other servers (requires MySQL)

  • πŸ“ˆ View Requirements - Dynamic item display based on conditions

  • πŸ† Priority System - Control item display order in the same slot


Commands

Player Commands

Command
Permission
Description

/creditshop

rivalcredits.use

Opens the main shop category

/credits balance [player]

rivalcredits.balance.others

Check your or another player's balance

/credits pay <player> <amount>

rivalcredits.pay

Transfer credits to another player

Admin Commands

Command
Permission
Description

/credits reload

rivalcredits.admin

Reloads the entire plugin

/credits give <player> <amount>

rivalcredits.admin

Give credits to a player

/credits set <player> <amount>

rivalcredits.admin

Set a player's credit balance

/credits remove <player> <amount>

rivalcredits.admin

Remove credits from a player

/credits reset <player>

rivalcredits.admin

Reset a player's balance to 0

/credits about

rivalcredits.admin

Shows plugin information

Discount Commands

Command
Description

/credits discount list

List all active discounts

/credits discount remove <name>

Remove a specific discount

/credits discount removeall

Remove all discounts

/credits discount create

Create a new discount (see Discounts)


Placeholders

RivalCredits provides the following PlaceholderAPI placeholders:

Placeholder
Output
Description

%rivalcredits_balance%

1234

Raw credits amount

%rivalcredits_balance_decimal%

1234.56

Credits with decimal points

%rivalcredits_balance_formatted%

1.2k

Formatted (1k, 1M, 1B, etc.)


Configuration

Main Command Configuration

You can customize the main command, aliases, and shop shortcuts in config.yml:

Item Configuration

Basic Item Structure

Material & Display Options

Custom Model Data

Player Heads

Leather Armor Colors

RivalCredits supports multiple color formats for leather armor:

Hex Color

Named Color

Available Color Names:

  • WHITE, SILVER, GRAY, BLACK

  • RED, MAROON, YELLOW, OLIVE

  • LIME, GREEN, AQUA, TEAL

  • BLUE, NAVY, FUCHSIA, PURPLE

  • ORANGE

RGB Values

Examples:

Enchantments

Item Flags

Glowing Effect


Discounts

RivalCredits features a powerful discount system that supports various discount types and scopes.

Discount Types

1. Global Discounts

Apply to all items in the entire shop.

Permanent Global Discount:

Temporary Global Discount (until specific date):

Temporary Global Discount (date range):

2. Category Discounts

Apply to all items in a specific category.

Permanent Category Discount:

Temporary Category Discount (until specific date):

Temporary Category Discount (date range):

3. Item-Specific Discounts

Apply to a specific item in a category.

Permanent Item Discount:

Temporary Item Discount (until specific date):

Temporary Item Discount (date range):

Discount Command Structure

  • name: Unique identifier for the discount

  • percentage: Discount amount (50 = 50% off)

  • duration: permanent or date/date range

  • scope: global, category name, or category with item

  • item: (Optional) Specific item name when using category scope

Date Format

  • Single date: YYYY-MM-DD:HH:MM:SS (discount active until this date)

  • Date range: YYYY-MM-DD:HH:MM:SS_YYYY-MM-DD:HH:MM:SS (start_end)

Managing Discounts

Discount Priority: Item-specific discounts override category discounts, which override global discounts.


Confirmation Menu

Add an extra confirmation step for expensive or important purchases.

Enabling Confirmation

Add confirmation: true to any item:

Configuring Confirmation Menu

The confirmation menu itself is configured in config.yml:


Commands & Actions

Execute commands and actions when items are purchased.

Basic Command Execution

Action Types

Action Type
Format
Description

Console Command

command or no prefix

Execute as console

Player Command

[player] command

Execute as player

Close Menu

[close]

Close the inventory

Play Sound

[sound] SOUND_NAME

Play a sound to player

Message

[message] text

Send message to player

Broadcast

[broadcast] text

Broadcast to all players

Title

[title] title;subtitle

Send title to player

ActionBar

[actionbar] text

Send actionbar to player

Example: Advanced Actions

No-Credits Actions

Execute actions when a player doesn't have enough credits:


Cross-Server Purchases

Execute commands on other servers using MySQL database synchronization.

Setup

  1. Configure MySQL in config.yml

  2. Set a unique server-id for each server

  3. Ensure all servers connect to the same database

Configuration Example

Server 1 (Hub) - config.yml:

Server 2 (SkyBlock) - config.yml:

Using Cross-Server Commands

Add server: 'serverid' to execute commands on a specific server:


Special Deals System

Create time-limited special offers that automatically rotate.

Configuration

In config.yml:

Display Format

  • category: Which category to show deals in

  • slots: Comma-separated slots for deal items (e.g., 10,11,12)

  • display_slot: Slot for the "Special Deals" info item

  • page: Which page to display deals on

Package Format

  • category: Category containing the item

  • package: Name of the package

  • chance: Chance of package appearing

  • discount: Discount as decimal (0.25 = 25% off)


Hot Products System

Automatically display the most-purchased item across all categories.

Configuration

In config.yml:

Display Format

  • category: Which category to display the hot product in

  • slot: Slot number for display

  • page: Page number for display

The system automatically tracks purchases and displays the most popular item with additional lore.

Set display: [] to empty to disable


View Requirements & Priority

Create dynamic menus that adapt to each player. See the dedicated View Requirements documentation for complete details.

Quick Example

Learn More: Check out the View Requirements & Priority System page for comprehensive documentation with examples.


Color Codes & Formatting

Standard Color Codes

Code
Color
Code
Color

&0

Black

&8

Dark Gray

&1

Dark Blue

&9

Blue

&2

Dark Green

&a

Green

&3

Dark Aqua

&b

Aqua

&4

Dark Red

&c

Red

&5

Dark Purple

&d

Light Purple

&6

Gold

&e

Yellow

&7

Gray

&f

White

Format Codes

Code
Effect

&l

Bold

&m

~~Strikethrough~~

&n

Underline

&o

Italic

&k

Obfuscated

&r

Reset

HEX Colors

Use modern RGB colors with the format &#RRGGBB:


FAQ

How do I change the currency command/name?

In config.yml under options: you can customize:

  • main-command: Primary command name

  • command-aliases: Alternative command names

  • shop-aliases: Commands that open the shop directly

How do I activate discounts?

Use the /credits discount create command. See the Discounts section for all formats and examples.

Can players purchase items on other servers?

Yes! Configure MySQL and set unique server-id values. Then add server: 'serverid' to items. See Cross-Server Purchases.

How do I make an item glow?

Add glow: true to the item configuration. No enchantments needed!

Can I use custom textures?

Yes! Use customModelData: 1234 for custom models, or base64: for custom player head textures.

How do I hide items from certain players?

Use the View Requirements system with permissions, placeholders, or other conditions.

Can I have multiple items in the same slot?

Yes! Use the Priority System to determine which item shows based on player conditions.

How do I add a purchase confirmation?

Add confirmation: true to any item. Configure the confirmation menu in config.yml. See Confirmation Menu.

What placeholder plugins are supported?

Any PlaceholderAPI expansion can be used in view requirements and item lore/names.

Can I execute commands as the player?

Yes! Use [player] command format. See Commands & Actions.


Support & Resources

Getting Help

  1. Read the Documentation - Most questions are answered here

  2. Check Examples - Review the example configurations

  3. Discord Support - Join our Discord for live help

  4. Ticket System - Submit a support ticket

Best Practices

  1. Test in Development - Always test changes on a test server first

  2. Backup Configurations - Keep backups before major changes

  3. Use Reload Sparingly - Restart server after major config changes

  4. Monitor Performance - Check logs for errors or warnings

  5. Start Simple - Add complexity gradually as you learn


Last updated