Sueta

RushShop

0.1.3

A new Auction House plugin made with efficiency and customizability in mind!

·Plugin

Why?
Because the current auction house plugins
was too slow and felt like I did not have control over my server
I made this plugin to provide maximum power and speed.

Speeeeeed!
From the tests, I have done, even on a low-spec server,
the plugin can fetch around 10,000 items in 0.012 seconds!
That's stupid fast!

Every. Single. Step.
You are in control.
Every single message, every single slot of the GUI.
Even the file names!
Which is quite useless but why not give the power to you!

Quality Of Life for the Server Owner
While editing the messages, or a GUI from the config, everything
is based on a variable type system. This means you can assign some text/items as a variable and re-use them faster than ever!

Example
# The success message
success: "%key success_prefix% Added &f{item_name} &7to the auction house at the price of &6{price}"
# As you can see there is a %key%, which is quite unusual
# At the bottom of the file we assign keys for these and use them
keys:
    success_prefix: "&7[&2&l!&7]"
# This allows you to re-use everything and change them in an instant with no issues!

Ready to go!
Everything has been set up to provide amazing
functionality from the start, you have to edit absolutely nothing!

Dependencies:
Vault
And an Economy Plugin that will hook to Vault!

Coming soon!
- Currently, items can only be bought and not bid, a bidding system
- Item auction GUI
- Admin GUI

Here are some files for examples

Menu GUI
menu:
    size: 6
    title: "&6Auction House"
    buttons:
        CLOSE: 49
        NEXT_PAGE: 53
        PREVIOUS_PAGE: 45
    items:
    - "%0-9% background"
    - "%10-16% {view}"
    - "%17-18% background"
    - "%19-25% {view}"
    - "%26-27% background"
    - "%28-34% {view}"
    - "%35-36% background"
    - "%37-43% {view}"
    - "%44-53% background"
    - "%49% close_button"
    - "%53% next_page_button"
    - "%45% prev_page_button"
items:
    close_button:
        material: BARRIER
        display_name: "&cClose"
        lore:
            "&eClick to close"
    next_page_button:
        material: ARROW
        display_name: "&aNext Page"
    prev_page_button:
        material: ARROW
        display_name: "&aPrevious Page"
    background:
            material: BLACK_STAINED_GLASS_PANE
            display_name: " "
Editing the ADD ITEM command
add:
    success: "%key success_prefix% Added &f{item_name} &7to the auction house at the price of &6{price}"
    no_item: "%key error_prefix% You can't auction air"
    price_too_high: "%key error_prefix% You can't auction an item for a price higher than {max_price}"
    price_too_low: "%key error_prefix% You can't auction an item for a price lower than {min_price}"
    illegal_price: "%key error_prefix% Please provide a valid number for the price"
    insufficient_balance: "%key error_prefix% You don't have enough money to auction this item"
keys:
    error_prefix: "&7[&4&l!&7]"
    success_prefix: "&7[&2&l!&7]"
Config File
files:
    language_file: "language"
auction_house:
    menu_gui: auction_house_gui
    data_file: "auction_house_data"
    max_price: 2147483648
    min_price: 0
    # Type 0 = fixed price
    # Type 1 = Percentage of the item's price
    auction_tax: # The amount of money the player will pay to auction an item
        type: 0
        value: 10
    sale_tax: # The amount of tax that will be removed from the price while giving the money to the seller on purchase, in percent
        type: 1
        value: 5

Similar projects

Plugin →