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
/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
/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
/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:
%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,BLACKRED,MAROON,YELLOW,OLIVELIME,GREEN,AQUA,TEALBLUE,NAVY,FUCHSIA,PURPLEORANGE
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:
permanentor date/date rangescope:
global, category name, or category with itemitem: (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
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
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
Configure MySQL in
config.ymlSet a unique
server-idfor each serverEnsure 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
Color Codes & Formatting
Standard Color Codes
&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
&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 namecommand-aliases: Alternative command namesshop-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
Read the Documentation - Most questions are answered here
Check Examples - Review the example configurations
Discord Support - Join our Discord for live help
Ticket System - Submit a support ticket
Best Practices
Test in Development - Always test changes on a test server first
Backup Configurations - Keep backups before major changes
Use Reload Sparingly - Restart server after major config changes
Monitor Performance - Check logs for errors or warnings
Start Simple - Add complexity gradually as you learn
Pro Tip: Join our Discord community to get help from other users and share your shop designs!
Last updated