errorx.net

Make A plugin prompt name FxAuction

(!) A custom made auction plugin lightweight And hex color and rgb color Legacy color and all color supported ✨️

prefix: &#FF3800&lFXAUCTION &7▶

Commands: /ah sell <price> <amount> (player can sell any thing without set the amount bas player ka hat Mai jitna bhi wo item hoga wo Sara sell ho jayga) /ah search <item> /ah view <player-name> /ah reload /ah admin view , search , experie, remove <item or player-name> /ah history (that can opens a 5 rows inventory where can the player see his/her seller or buys items)

Main gui normal rown 6 (and plater can edit this just add this settings in config.yml)

Slot size [0-53] starts with 0 not 1 (!)

On slot no 45: add a ender chest names &#FC770C&lMY ITEMS with lore &7Auction &r &fView your own auction &fitems that you have sell &r &#F9C22B▶ &l&nCLICK &#F9C22BTo View

On click open the auction main menu

On slot no 50 add a lime stained glass pane named &#FF2E2E&lPREVIOUS PAGE with lore

&7Auction &r &fClick here to go to &fthe previous page! &r &#F9C22B▶ &lCLICK &#F9C22BTo Go

On the slot no 49 add a clock named &#FFD847&lREFRESH PAGE with lore

&7Auction &r &bⓘ Information: &fClick here to refresh this &fmain page! &r &#F9C22B▶ &l&nCLICK &#F9C22BTo Refresh On click refresh the page

On slot 48 add a red stained glass pain named &#30FF00&lNEXT PAGE with lore:

&7Auction &r &bⓘ Information: &fClick here to go to &fthe next page! &r &#F9C22B▶ &lCLICK &#F9C22BTo Go

On slot no 46 add a minecart with furnace named &#E6FF00&lIAUCTION FILTER with lore:

&7Auction &r &#63F688Currently selected: &8● &#E6FF00Newest to Oldest &8● &7Oldest to newest &8● &7Cheapest to priciest &8● &7Priciest to cheapest &r &#F9C22B▶ &l&nCLICK &#F9C22BTo Change

On click it change the filter to Oldest to newest and set the item CHEST WITH MINECART with lore:

&7Auction &r &#63F688Currently selected: &8● &7Newest to Oldest &8● &#E6FF00Oldest to newest &8● &7Cheapest to priciest &8● &7Priciest to cheapest &r &#F9C22B▶ &l&nCLICK &#F9C22BTo Change

Again on click it change the filter to cheapest to priciest and change the item MINECRAFT WITH FURNACE and change the lore

&7Auction &r &#63F688Currently selected: &8● &7Newest to Oldest &8● &7Oldest to newest &8● &#E6FF00Cheapest to priciest &8● &7Priciest to cheapest &r &#F9C22B▶ &l&nCLICK &#F9C22BTo Change

Again on click it change the filter to priciest yo cheapest and change the item to MINECART WITH CHEST and change the lore:

&7Auction &r &#63F688Currently selected: &8● &7Newest to Oldest &8● &7Oldest to newest &8● &7Cheapest to priciest &8● &#E6FF00Priciest to cheapest &r &#F9C22B▶ &l&nCLICK &#F9C22BTo Change

Or agar ham firse isme click karenge to reset hoke 1st filter m ajayga Jo ki normal m rahta h

On slot 53 add a item book of information change the name &b&lINFORMATION with lore:

&7Auction &r &fAuction is uses for sell any item &fin variable prices you like! &r &6Your items: &fYour sells &#FFD847%current_sell%&8/&6%max_sell% &futems! &r &bCommands: &b● &fTo sell any item use &b/ah sell <price> &b● &fTo buy any item, simply &bclick &fon it

Oh ha auction ka main gui ka display title rakkho &8Auction | Main [%current_page%/%max_page%]

Or hn my items gui ka hoga &8Auction | My items

On Click any item sound: UI_BUTTON_CLICK ah open sound: UI_BUTTON_CLICK

Jo bhi banda ku6 ah m sell karega uska lore ayga:

&r &#F9C22BInformation &#30FF00$ &fPrice: &#30FF00$&f%price% &#FF3800☀ &fSeller: &#FF3800%player_name% (set the player name who sell the item) (!) &#F9C22B⚑ &fExpires: &#F9C22B%expire_time% &r &#F9C22B▶ &l&nCLICK &#F9C22BTo Buy

On click on it open a gui of 3 rows set the full gui if BLACK STAINED GLASS PANE item display name ''

Add a red stained glass pane on slot 10 display name &#FF2E2E&lCANCEL with lore

&7Auction &r &#F9C22B▶ &l&nCLICK &#F9C22BTo Cancel

Slot no 13 Mai wo item rakho Jo wo buy karna chata h

And on slot no 16 add a lime stained glass pane display name &#30FF00&lPURCHASE with lore

&7Auction &r &#F9C22B▶ &l&nCLICK &#F9C22B Purchase

Agar ham cancel pain click kare to cancle ho jayga and Purchase Mai karne Pai buy ho jayga

Agar koi ah Mai koi shulker sell Kiya Hai and use koi items Hai to agar ham usme right click karenge to ek gui open hoga 5 rown ka and use [0-8] and [36-44] Mai black stained glass pane hoga and middle ka [9-35] slot or middle ka 3 row Mai shulker ka wo same item show larega Jo wo shulker Mai Hai same to same and esc button dabane Pai wo gui to close ho jayga lekin auction ka wo hi page open ho GA jisme wo shulkee tha

And messages bhi add karna

Prefix upar hai Reload message Item Buy message Item Sell mesage Ah max selling slit reached message Someone purchased your item message (if the player is offline and someone buy her/his item from ah so when he comes online send through message to he/her) Error message Add a benifut that if any player sell any item on ah send the message on action bar if this setting true in config.yml

Add this all guis on a folder named guis and ye Sara files ko .yml Mai rakhne wo bhi guis folder Mai

Permissions Mai ye add karna fxauction.limit.1(we can give the player slot [1 - 100]

My items gui m sab buttons same hi hoga bas

Ye daldo On slot no 45: add a chest names &#FC770C&lGO BACK with lore &7Auction &r &fGo back to the auction &fmain menu! &r &#FFD847▶ &l&nCLICK &#FFD847To Continue

Click karne p main open hoga or hn agar koi banda kgud kiss item ko sell Kiya h to use click karne p wo item ah se cancel hoke uske inventory m ajayga

Min sell price: 10 Max sell price: 5000000

Balance format: 1000 - 1k 10000 - 10k 100000 - 100k 1000000 - 1M 10000000 - 10m 100000000 - 100m 1000000000 - 1B

Asa fir 10b 100b 1T 10T 100T 1Q Etc jitna tak ka hota hai amount

Messages:

buy: %prefix% &fYou have successfully buyed %item% &ffor &b%price% #format money Sell: %prefix% &fYou have successfully sold this item for &#FF3800%price% your-otem-buy: %prefix% &#FF3800%player% has buy your %item% &ffor &#FF3800%price%

Sell-broadcast:

Enabled: false type: ACTIONBAR #chat or action bar message: &#FF3800%player% &fhas sold %item% &ffor &#FF3800%price%

not-enough-money: %prefix% &fYou don't have enough money to buy this no-item-in-hand: %prefix% &fYou need item in hand to sell! not-min-price: %prefix% &fYou have to sell this item in &#FF3800%min-price% - %max-price% mire-than-max-price: %prefix% &fYou have to sell this item in &#FF3800%min-price% - %max-price% Reload: %prefix% &fConfiguration has successfully reloaded! item-canceled: %prefix% &fYou have successfully canceled this item!

Item-expired: %prefix% %item% &fhas been expired &b%expire-time% #Jo time tha wo ayga

After expire the item wo bas player ko apnea my items gui m dikhega usko ya fir kusi ko bhi auction ke main gui m ni dikhega

Expire time: 3 days (format in days)

Kodari AI
KodariOct 26 at 7:20 am 2
FxAuction
A lightweight auction plugin for Bukkit/Spigot/Paper servers. Players can sell items from their hand via /ah sell, browse a paginated 6-row auction GUI with filters (newest, oldest, cheapest, priciest), search and view player listings, and purchase items through a confirmation GUI. Features a "My Items" GUI for managing personal listings, shulker inspection on right-click, full hex/RGB/legacy color support, configurable slot limits via permissions, action bar broadcast messages, and automatic item expiration after 3 days. Includes admin commands for viewing, searching, expiring, and removing listings, plus a 5-row history GUI tracking purchases and sales. All GUI layouts are defined in YAML files under the guis folder for easy customization.
  1. Create the plugin project files, configuration, messages, and GUI YAMLs.

  2. Implement auction listings, expiry, limits, searching/filtering, history, and Vault transactions.

  3. Add the auction, purchase-confirmation, shulker-preview, and history interfaces.

  4. Wire commands, permissions, sound/action-bar feedback, and reload behavior.

Created FxAuction with Vault economy transactions, persistent listings and history, configurable GUI YAMLs, search and sorting, per-player listing limits, offline seller notifications, expiry handling, shulker previews, and legacy plus RGB/hex color formatting.

Use /ah to open the auction house. Selling and purchases require a Vault-compatible economy provider.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code