i want to make a auction plugin for all the mc versions and just llike fadah plugin
Build a cross-version Bukkit auction-house foundation using XSeries.
Add Vault economy integration, persisted listings, expiration/claim handling, and inventory-safe purchases.
Add
/ahcommands, paginated GUI, permissions, configuration, and plugin metadata.
Created a cross-version auction-house plugin foundation named
FadahAuction.Added
/ah,/ah sell,/ah cancel,/ah expired, and/ah reload.Added paginated auction GUI with item previews, seller, price, expiration, and purchase handling.
Added Vault economy support, inventory checks, listing limits, expiration tracking, and YAML persistence.
Added XSeries compatibility, permissions, configuration, plugin metadata, and Gradle setup.
Example usage:
/ah
/ah sell 250 2d
/ah cancel <listing-uuid>
/ah expired
these are the files of original plugin , can u make it work for all version from 1.8 to 26.2 for java edition servers ?
📄
categories.yml
yml
98 lines
▶
categories:
- id: building-blocks
name: '&dBuilding Blocks'
priority: 2
model-data: 0
icon: BRICKS
description:
- '&fBlocks used to make &ebeautiful &fbuildings!'
matchers:
- '%material% == "COARSE_DIRT"'
- '%material% == "TERRACOTTA"'
- '%material%.endsWith("_WOOL")'
- '%material%.endsWith("_TERRACOTTA")'
- '%material%.endsWith("_CONCRETE")'
- '%material%.endsWith("_CONCRETE_POWDER")'
- '%material% == "GLASS"'
- '%material%.endsWith("_GLASS")'
- '%material%.endsWith("_GLASS_PANE")'
- id: keys
name: '&3Crate Keys'
priority: 4
model-data: 0
icon: TRIPWIRE_HOOK
description: []
matchers:
- '%material% == "TRIPWIRE_HOOK"'
- id: combat
name: '&cCombat'
priority: 2
model-data: 0
icon: DIAMOND_SWORD
description:
- '&7▪ &fSwords'
- '&7▪ &fArmour'
- '&7▪ &fBows'
- '&7▪ &fShields'
matchers:
- '%material%.endsWith("_SWORD")'
- '%material%.endsWith("_BOOTS")'
- '%material%.endsWith("_LEGGINGS")'
- '%material%.endsWith("_CHESTPLATE")'
- '%material%.endsWith("_HELMET")'
- '%material% == "BOW"'
- id: eco-items
name: '&fEco Items Example'
priority: 3
model-data: 0
icon: BLUE_DYE
description:
- '&fAn example usage for the ecoitems hook'
matchers:
- '%ecoitems_id% == "your_custom_item"'
- id: tools
name: '&aTools'
priority: 2
model-data: 0
icon: DIAMOND_PICKAXE
description:
- '&7▪ &fPickaxes'
- '&7▪ &fAxes'
- '&7▪ &fShovels'
- '&7▪ &fHoes'
matchers:
- '%material%.endsWith("_AXE")'
- '%material%.endsWith("_PICKAXE")'
- '%material%.endsWith("_HOE")'
- '%material%.endsWith("_SHOVEL")'
- id: redstone
name: '&cRedstone'
priority: 3
model-data: 0
icon: REPEATER
description:
- '&fRedstone components.'
matchers:
- '%material%.includes("REDSTONE")'
- '%material% == "REPEATER"'
- '%material% == "COMPARATOR"'
- id: spawners-and-eggs
name: '&5Spawners and Mob Eggs'
priority: 2
model-data: 0
icon: CHICKEN_SPAWN_EGG
description:
- '&fAll Mob Spawners and Mob Spawn Eggs'
matchers:
- '%material% == "SPAWNER"'
- '%material%.endsWith("_SPAWN_EGG")'
- id: misc
name: '&eMisc'
priority: 1
model-data: 0
icon: LEATHER
description:
- '&fItems that don''t fit under any other category.'
matchers:
- 'true'
📄
config.yml
yml
117 lines
▶
# #########################################
# # Fadah #
# # Finally a Decent Auction House #
# #########################################
# Toggle with /ah toggle
enabled: true
default-max-listings: 10
log-to-file: true
# Minimal mode changes these functions:
# - Bypass sell menu and just list the item
minimal-mode: false
# This doesnt disable the update checker in console,
# only for when players with the permission 'fadah.manage.profile' join.
update-checker: true
max-listing-length:
amount: 10
unit: DAYS
default-listing-length:
amount: 2
unit: DAYS
listing-price:
min: 100.0
max: 1.0E9
formatting:
numbers: '#,###.00'
date: dd/MM/yyyy HH:mm
time:
seconds: '%ds'
minutes: '%dm, %ds'
hours: '%dh, %dm, %ds'
days: '%dd, %dh, %dm, %ds'
months: '%dm, %dd, %dh, %dm, %ds'
years: '%dy, %dm, %dd, %dh, %dm, %ds'
# What the search function should check.
search:
name: true
lore: true
type: true
# Does not include enchants on items.
enchanted-books: true
listing-adverts:
# Whether or not a listing advert should be made by default.
enabled-by-default: false
# How much it costs to advertise the listing by default.
# Overridden by the `fadah.advert-price.` permission.
default-price: 500.0
blacklists:
- '%material% == "BEDROCK"'
- '%material% == "NETHER_STAR" && %name%.includes("Menu")'
hooks:
eco-items: false
discord:
enabled: false
webhook-url: INSERT WEBHOOK URL HERE
# If this is true the webhook will only send a message when the listing has been advertised.
only-send-on-advert: false
# Allowed: EMBED, PLAIN_TEXT
message-mode: EMBED
embed:
# Allowed: SIDE, BOTTOM
image-location: SIDE
title: New Listing by %player%!
content: '%player% just listed %item% for $%price% on the auction house!'
footer: Powered by Finally a Decent Auction House
plain-text: '%player% just listed %item% for $%price% on the auction house!'
influxdb:
enabled: false
uri: http://localhost:8086
token: MyToken
org: MyOrg
bucket: Fadah
currency:
default-currency: vault
vault:
name: Money
coins-engine:
# Which currencies to use from coins engine.
currencies:
- economy: mob_coins
display-name: Mob Coins
- economy: coins
display-name: Coins
redis-economy:
# Which currencies to use from redis economy, if your using the default currency use the vault currency instead.
currencies:
- economy: dollar
display-name: Dollar
- economy: euro
display-name: Euro
player-points:
name: Points
database:
# Allowed: SQLITE, MYSQL, MARIADB, MONGO
type: SQLITE
uri: jdbc:mysql://127.0.0.1:3306/Fadah
username: username
password: password
database: Fadah
use-ssl: false
advanced:
pool-size: 10
min-idle: 10
max-lifetime: 1800000
keepalive-time: 0
connection-timeout: 5000
# A message broker is only required for x-server environments.
# This is not compatible with SQLITE database
broker:
enabled: false
# Allowed: REDIS
type: REDIS
host: localhost
port: 6379
password: myAwesomePassword
channel: fadah:cache
📄
lang.yml
yml
204 lines
▶
# #########################################
# # Fadah #
# # Language Configuration #
# #########################################
prefix: '╓FF&lSSDMC Auction House &r'
category-selected: '&e&lSELECTED'
notifications:
advert:
- '&f--------------------------------------------------'
- '&f%player% &ehas just made a new listing on the auction house!'
- '&fItem: &e%item%'
- '&fPrice: &a$%price%'
- '&7&n(Click here to view the listing!)'
- '&f--------------------------------------------------'
new-listing:
- '&f------------------------------------------------'
- '&eYou have a successfully listed an item for sale!'
- '&fItem: &e%item%'
- '&fPrice: &a$%price%'
- '&fCompletes in: &6%time%'
- '&fActive Listings: &d%current_listings%&f/&5%max_listings%'
- '&fYou have been taxed: &9%tax%% &7(&a$%price_after_tax%&7)'
- '&f------------------------------------------------'
new-item:
- '&f-------------------------------------------'
- '&eYou have a new item in your collection box!'
- '&f /ah redeem!'
- '&f-------------------------------------------'
expired-item:
- '&f-----------------------------------'
- '&eYou have expired items to collect!'
- '&f /ah expired!'
- '&f-----------------------------------'
bid-placed:
- '&f-------------------------'
- '&eYou have placed a bid!'
- '&fItem: &e%item%'
- '&fBid Amount: &a$%price%'
- '&f-------------------------'
out-bid:
- '&f-------------------------'
- '&eYou have been out-bid!'
- '&fItem: &e%item%'
- '&fBid Amount: &a$%price%'
- '&f-------------------------'
sale:
- '&f----------------------------------------------'
- '&eYou have sold an item on the Auction House!'
- '&fItem: &e%item%'
- '&fMoney Made: &a$%price%'
- '&fBuyer: &a$%buyer%'
- '&f----------------------------------------------'
watched:
- '&f-------------------------------------------------------'
- '&eA listing meeting your criteria has come on the market!'
- '&fItem: &e%item%'
- '&fPrice: &a$%price%'
- '&7&n(Click here to view the listing!)'
- '&f-------------------------------------------------------'
cancelled: '&cListing Cancelled!'
commands:
main:
description: Opens the listing browser
aliases:
- auctionhouse
- ah
- auctions
- auction
- ssdmcah
- ssdmcauction
- SSDMCah
sell:
description: Create a new listing on the auction house
aliases:
- new-listing
- create-listing
must-hold-item: '&cYou must have an item in your hand to sell!'
must-be-number: '&cThe price must be a number!'
max-listings: '&cYou have reached your max listings! (%current%/%max%)'
listing-price:
max: '&fPrice must be less than &a$%price%'
min: '&fPrice must be at least &a$%price%'
view:
description: View another players active listings
aliases:
- visit
watch:
description: Watch for listings and get notified when one gets listed
aliases:
- listen
profile:
description: View your auction profile
aliases:
- ahprofile
active-listings:
description: View your active listings
aliases:
- active
expired-items:
description: View your expired items
aliases:
- expired
collection-box:
description: View your collection box
aliases:
- redeem
history:
description: View your listing history
aliases:
- hist
help:
description: This command!
aliases: []
primary-color: '#9555FF'
highlight-color: '#9be0af'
alternative-highlight-color: '#bba4e0'
text-color: '#7c7a80'
accent-color: '#525254'
reload:
description: Reload the plugin
aliases:
- rl
success: '&aAll configuration files reloaded successfully!'
fail: '&cSome configuration files failed to reload! &7(Check console)'
remote: '&aA global configuration reload has been received!'
toggle:
description: Toggle whether people can use the auction house
aliases: []
message: '&eSSDMC &dAuctions &fhas been %status%&r&f!'
remote: '&fAuction House has been %status%&r&f from a remote server!'
enabled: '&a&lENABLED'
disabled: '&c&lDISABLED'
about:
description: Get information about the plugin
aliases: []
view-listing:
description: View a specific listing
aliases: []
search:
description: Search active listings
aliases:
- s
advert-actions:
post: Post Advert
silent: No Advert
log-actions:
listing-started: Listing Started
listing-purchased: Listing Purchased
listing-sold: Listing Sold
listing-cancelled: Listing Cancelled
listing-expired: Listing Expired
expired-item-claimed: Expired Listing Claimed
collection-box-claimed: Collection Box Item Claimed
listing-cancelled-admin: Listing Cancelled by Admins
expired-item-claimed-admin: Expired Listing Claimed by Admins
collection-box-claimed-admin: Collection Box Item Claimed by Admins
sort:
age:
name: Sort By Listing Age
descending: Oldest First
ascending: Newest First
name:
name: Sort Alphabetically By Name
descending: Descending (Z-A)
ascending: Ascending (A-Z)
price:
name: Sort By Listing Price
descending: Cheapest First (Low to High)
ascending: Most Expensive First (High to Low)
mode:
name: Sort By Listing Mode
descending: Bidding First
ascending: Buy it Now First
errors:
disabled: '&cThe Auction House is currently disabled!'
command-not-found: '&cThis command does not exist!'
must-be-player: '&cOnly players can run this command!'
restricted: '&cYou cannot sell this item!'
no-permission: '&cYou do not have permission to execute this command!'
player-not-found: '&c%player% was not found!'
invalid-usage: '&cUsage: /%syntax%'
invalid-argument: '&cInvalid argument: %cause%'
does-not-exist: '&cThis listing does not exist!'
own-listings: '&cYou cannot buy your own listing!'
too-expensive: '&cYou cannot afford this item!'
inventory-full: '&cYou don''t have any free room in your inventory!'
advert-expense: '&cYour advert failed to post because you did not have enough money!'
database-loading: '&cDatabase not connected! Please Wait'
cooldown: '&cPlease wait &f%time%&c!'
other: '&cListing this item failed! (%ex%)'
already-highest-bidder: '&cYou are already the highest bidder!'
bid-too-low: '&cThe current bid is higher than your bid!'
mcmmo-blocking: '&cYou cannot list an item while using an mcMMO ability!'
words:
your: your
none: None
starting-bid: Starting Bid
modes:
buy-it-now: BIN
bidding: Bidding
📄
collection-box.yml
yml
60 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &e%dynamic% Collection Box'
lang:
lore:
- '&8&n---------------------------'
- '&fAdded: &e%time% &fago'
- '&r '
- '&eClick To Claim!'
- '&8&n---------------------------'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "FILLER"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
confirm.yml
yml
46 lines
▶
title: '&9&lAuction House &8> &aConfirm Purchase'
lang:
confirm:
icon: LIME_CONCRETE
model-data: 0
name: '&a&lCONFIRM'
lore:
- '&7Click to confirm for &a$%price%'
cancel:
icon: RED_CONCRETE
model-data: 0
name: '&c&lCANCEL'
lore:
- '&7Click to cancel'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'17': "FILLER"
'18': "FILLER"
'20': "CANCEL"
'22': "ITEM_TO_PURCHASE"
'24': "CONFIRM"
'26': "FILLER"
'27': "FILLER"
'35': "FILLER"
'36': "FILLER"
'37': "FILLER"
'38': "FILLER"
'39': "FILLER"
'40': "FILLER"
'41': "FILLER"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
expired-listings.yml
yml
60 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &c%dynamic% Expired Listings'
lang:
lore:
- '&8&n---------------------------'
- '&fAdded: &e%time% &fago'
- '&r '
- '&eClick To Re-Claim!'
- '&8&n---------------------------'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "FILLER"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
historic-items.yml
yml
93 lines
▶
title: '&9&lAuction House &8> &c%dynamic% History' # %dynamic% = "Your" or the players name if in management mode, %username% = the players username
lang:
lore:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-price:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-buyer:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fBuyer: &3%buyer%'
- '&r'
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-seller:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fSeller: &3%seller%'
- '&r'
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Ex: 21/04/2024 22:26'
name: '&eSearch Date'
lore:
- '&fClick to search for a logs date & time!'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "SEARCH"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
main.yml
yml
122 lines
▶
title: '&9&lAuction House'
lang:
listing:
lore-body:
- '&8&n---------------------------'
- '&fSeller: &e%seller%'
- '&fCategory: &e%category%'
- '&r '
- '&f%mode%: &6$%price%'
- '&fCurrency: &9%currency%'
- '&r '
- '&fExpires In: &e%expiry%'
- '&8&n---------------------------'
mode:
buy-it-now: "Buy Now"
bidding: "Current Bid"
footer:
buy: '&aClick to buy now!'
bid: '&aClick to place a bid!'
too-expensive: '&cYou cannot afford this item!'
own-listing: '&cYou cannot buy your own listing! &8(Shift Click to Cancel)'
shulker: '&fRight Click to Preview!'
profile-button:
icon: PLAYER_HEAD
model-data: 0
name: '&e&lYour Profile'
lore:
- '&fClick to view your profile!'
filter:
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Search Query...'
name: '&3&lSearch'
lore:
- '&fClick to search for an item name/type!'
change-type:
icon: PUFFERFISH
model-data: 0
name: '&eListing Filter'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
change-direction:
icon: CLOCK
model-data: 0
name: '&eFilter Direction'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 6
layout:
'0': "SCROLLBAR_CONTROL_ONE"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "SCROLLBAR_ITEM"
'10': "FILLER"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "SCROLLBAR_ITEM"
'19': "FILLER"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "NO_ITEMS"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "SCROLLBAR_ITEM"
'28': "FILLER"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "NO_ITEMS"
'32': "NO_ITEMS"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "SCROLLBAR_ITEM"
'37': "FILLER"
'38': "PAGINATION_ITEM"
'39': "PAGINATION_ITEM"
'40': "PAGINATION_ITEM"
'41': "PAGINATION_ITEM"
'42': "PAGINATION_ITEM"
'43': "PAGINATION_ITEM"
'44': "FILLER"
'45': "SCROLLBAR_CONTROL_TWO"
'46': "FILLER"
'47': "FILTER"
'48': "PAGINATION_CONTROL_ONE"
'49': "SEARCH"
'50': "PAGINATION_CONTROL_TWO"
'51': "FILTER_DIRECTION"
'52': "FILLER"
'53': "PROFILE"
📄
misc.yml
yml
42 lines
▶
search-title: '&9&lAuction House &8> &fSearch'
no-item-found:
material: BARRIER
model-data: 0
name: '&c&lNo items found!'
lore: []
back-button:
material: FEATHER
model-data: 0
name: '&cGo Back'
lore: []
previous-button:
material: ARROW
model-data: 0
name: '&c&lPrevious Page'
lore: []
next-button:
material: ARROW
model-data: 0
name: '&a&lNext Page'
lore: []
scroll-next-button:
material: ARROW
model-data: 0
name: '&a&lScroll Categories Down'
lore: []
scroll-previous-button:
material: ARROW
model-data: 0
name: '&a&lScroll Categories Up'
lore: []
close-button:
material: BARRIER
model-data: 0
name: '&c&l✗ Close'
lore: []
border:
material: BLACK_STAINED_GLASS_PANE
model-data: 0
name: '&r '
lore: []
📄
new-listing.yml
yml
95 lines
▶
title: '&9&lAuction House &8> &3New Listing'
lang:
create:
icon: EMERALD
model-data: 0
name: '&aClick to create listing!'
lore:
- '&cClicking this button will immediately post'
- '&cyour item on the auction house for &a$%price%'
time:
icon: CLOCK
model-data: 0
name: '&aTime for listing to be active'
lore:
- '&fCurrent: &6%time%'
- '&7Left Click to Add 1 Hour'
- '&7Right Click to Remove 1 Hour'
- '&7Shift Left Click to Add 30 Minutes'
- '&7Shift Right Click to Remove 30 Minutes'
advert:
icon: OAK_SIGN
model-data: 0
name: "&eAdvertise Listing"
lore:
- '&fAdvert Price: &a$%cost%'
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
currency:
icon: GOLD_INGOT
model-data: 0
name: '&aCurrency'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
mode:
icon: HOPPER
model-data: 0
name: '&bListing Mode'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 6
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'13': "LISTING_ITEM"
'17': "FILLER"
'18': "FILLER"
'26': "FILLER"
'27': "FILLER"
'31': "LISTING_START"
'35': "FILLER"
'36': "FILLER"
'38': "LISTING_MODE"
'39': "CURRENCY"
'41': "LISTING_TIME"
'42': "LISTING_ADVERT"
'44': "FILLER"
'45': "FILLER"
'46': "FILLER"
'47': "FILLER"
'48': "FILLER"
'49': "CLOSE"
'50': "FILLER"
'51': "FILLER"
'52': "FILLER"
'53': "FILLER"
Plan:
Inspect the current auction plugin implementation and build setup.
Compare its GUI/config behavior with the supplied Fadah files.
Patch the compatibility and feature gaps using XSeries and version-safe Bukkit APIs.
Ensure metadata/resources are included and cross-file references remain consistent.
The current project is a basic auction browser, not yet a full Fadah-equivalent implementation. I’m applying the version-safe core first: optional Vault loading, stable GUI slot-to-listing mapping, confirmation purchases, safe item delivery/rollback, correct cancellation errors, reload-safe formatting, and bundled original configuration resources. Minecraft 26.2 cannot be guaranteed until that server release and API mappings exist; this targets the 1.8-compatible Bukkit API plus XSeries mappings for supported releases.
Implemented the cross-version auction-house improvements:
Kept Java 8 / Spigot 1.8 API compatibility for legacy servers.
Uses XSeries for version-safe material handling.
Added a purchase confirmation GUI similar to Fadah.
Fixed GUI clicks so listings cannot change position between opening and purchase.
Added close, previous-page, and next-page handling.
Added safe inventory delivery with refund rollback if delivery fails.
Fixed cancellation inventory-full handling.
Improved Vault economy detection and reload behavior.
Added configurable minimum and maximum listing prices.
Fixed item removal order to avoid duplication when creating listings.
Added
categories.ymlandlang.ymlresources from the supplied configuration.Added Lombok build configuration so the project compiles correctly.
Minecraft 26.2 cannot be guaranteed yet because that server/API version does not currently exist as a stable target. The plugin is compiled against the 1.8 API and uses XSeries to support all Minecraft versions supported by the installed XSeries release.
The supplied files are configuration files only; they do not contain the original Fadah Java implementation. The current plugin now has the compatible auction core and Fadah-style confirmation flow, but a complete clone would additionally require implementing the category browser, collection box GUI, history GUI, bidding, advertisements, Discord/database hooks, and search system.
hi can u add support till 26.3 (1.8-26.3) and rename thhe plugin version to 1.0.1
Update the declared Minecraft compatibility range to 1.8–26.3.
Set the plugin version to 1.0.1.
Updated the plugin version to 1.0.1 in build.gradle and plugin.yml.
Kept the 1.8.8 API compile target and no api-version entry, preserving 1.8 compatibility; the project declares no upper server-version limit. Runtime compatibility with 26.3 hasn’t been tested.
from where shld i donlaod it?
After building the project, download the .jar from build/libs/—it should be named something like PluginName-1.0.1.jar. Put it in your server’s plugins/ folder and restart the server.
If there’s no JAR in build/libs/ yet, the project still needs to be built with Gradle.
no like from wwhre shld i downlaod the plugin which u build
I haven’t uploaded or published a downloadable plugin .jar—I only updated the project files. To create the jar, run ./gradlew build (Windows: gradlew.bat build) in the project folder. It will be in build/libs/.
can u pls publish the plugin i want to test it
I can’t upload or publish the plugin from this chat, so there isn’t a download link yet. You can build it locally with ./gradlew build (Windows: .\gradlew.bat build); the JAR will be in build/libs/. Copy it into your server’s plugins/ folder to test it.
hi is thee pluin ready for 26.3 and can it run even if the version is llike old
Not confirmed for Minecraft 26.3—the change set the plugin’s version to 1.0.1, but that doesn’t guarantee compatibility with every Minecraft release. The project targets the older API to help preserve compatibility, but it still needs testing on 26.3.
The plugin version 1.0.1 is just its release label; it doesn’t stop it from running on an older server. Whether it works there depends on the Minecraft APIs the plugin uses. To get the JAR from Kodari, click Compile in the top bar, then Compile in the window and Download when it succeeds.
on what versions can my plugin ork on
I can’t confirm an exact supported range. The project compiles against the Spigot 1.8.8 API, but that alone doesn’t guarantee it runs on every version from 1.8 to 26.3.
The code uses XSeries for some version differences, so it may work across multiple versions, but 1.8 and 26.3 haven’t been verified. In particular, the default GUI uses newer material names that may need adjustment for older servers. So I can’t promise 1.8–26.3 support without testing on those versions.
is it avallable for comppiling
Yes—the project is available to compile in Kodari. Click Compile in the top bar (on phone: ⋮ → Compile Project), then click Compile in the window. If it succeeds, use Download to get the JAR.
rename the pluggin to Dev's Auction House
I’ll update the plugin’s displayed name in plugin.yml; commands and permissions will stay the same.
Renamed the plugin to Dev’s Auction House in plugin.yml. The /ah command and existing permissions are unchanged.
can i complie it again
Yes. Click Compile in the top bar (on phone, tap ⋮ → Compile Project), then click Compile in the window. When it succeeds, click Download to get the updated JAR.
can u update some existing plugins?
Yes—I can update a plugin’s source code in the project. Tell me what you want changed, or open/import the plugin’s project into this workspace and describe the update. If you mean updating plugins installed on a server, I can’t update those directly from here.
will some1 be able to download the source code?
Not just by compiling it. The compiled .jar contains the plugin, not the original source files. Someone would need access to the project or a copy of its source to download them; a .jar can sometimes be decompiled, but that won’t reproduce the original source exactly.
[DirectoryProviderSource] Error loading plugin: name 'Dev's Auction House' contains invalid characters. therre is some error oj the plugiin
I’ll fix the invalid manifest name by using the safe identifier DevsAuctionHouse; the plugin version and commands will stay unchanged.
Fixed the invalid plugin name in plugin.yml to DevsAuctionHouse. Recompile the project and try the new JAR.
it doesnt work in 26.3
Sorry—the 1.0.1 change only renamed the release; it didn’t make the plugin compatible with 26.3. The project currently compiles against the Spigot 1.8.8 API, so 26.3 support isn’t confirmed.
Please paste the server console error from when the plugin loads, and tell me whether you’re using Paper or Spigot. That’ll show what needs fixing.
and i want tu to add cross version adapter system as well and uppdate the plugin to vversion 1.0.2 and make it comaptible for spiggot and paper both
Add a cross-version adapter for the plugin’s version-sensitive Bukkit behavior.
Configure the project to support both Spigot and Paper.
Update the plugin version to 1.0.2.
Added a runtime adapter for modern and legacy main-hand inventory APIs; auction behavior now uses it.
Checking the existing server API setup before adjusting Spigot/Paper compatibility.
The existing build compiles against Spigot’s Bukkit API, which Paper supports; the plugin uses no Paper-only API, so no Paper-specific dependency is needed.
Bumping the project and descriptor version to 1.0.2.
Updated the plugin to 1.0.2 and added a runtime adapter that uses the modern or legacy main-hand API as available.
The project compiles against Spigot’s shared Bukkit API, which Paper supports; it doesn’t use Paper-only APIs. Minecraft 26.3 compatibility isn’t verified, though—the build still targets the Spigot 1.8.8 API.
can u uppdate it to 26.3 and update the api to paper only and cross version system as well whil enables the plugin to run on every papaer version
Inspect the current build and version-sensitive code, then move the build to the Paper API for 26.3.
Expand the compatibility adapter and address cross-version behavior where the APIs allow it.
Keep the descriptor at 1.0.2 and avoid claiming one JAR works on every Paper release unless the code supports that.
The current cross-version hand adapter already handles modern and legacy inventory APIs, and XSeries resolves materials across versions. I’ll keep Java 8 bytecode and the descriptor’s missing api-version so older Paper releases aren’t rejected, switch compilation to Paper’s published 26.3 API, and route GUI material creation through the adapter. A single JAR still can’t be guaranteed across every Paper release without testing each runtime.
Switched the compile dependency from Spigot 1.8.8 to Paper’s published 26.3 pre-release API. The compatibility adapter now handles GUI material resolution as well as modern/legacy hand APIs. I kept Java 8 bytecode and left api-version unset to avoid rejecting older Paper servers.
This targets Paper 26.3, but one JAR cannot be guaranteed to run on every Paper version without testing against those server versions. The plugin version remains 1.0.2.
so can i complie it and test it?
Yes. Click Compile in the top bar (on phone: ⋮ → Compile Project), then click Compile in the window. If it succeeds, click Download and test the JAR on a Paper 26.3 server. Compatibility with other Paper versions isn’t guaranteed.
its still not workking
I need the error message to pinpoint the fix. Is it failing to compile, or does the server reject/crash the plugin when it loads? Paste the build error or the server console output around the plugin error (especially any Caused by lines), and include your Paper/Minecraft and Java versions.
Also, this plugin declares Vault as required; if Vault isn’t installed, it won’t load.
its working!!!!!!!!!!!!!!!!!! and there are no perms rigght expect for admin cmds if there are any
Yes—regular players can use the auction features without being an op. fadahaauction.use and fadahaauction.sell default to everyone, so they can open the auction house, list items, cancel listings, and claim expired items.
/ah reload is the admin command; fadahaauction.admin defaults to ops. For a player to reload, they also need fadahaauction.use.
rename the perm to DevsAuctionHouse.use .sell , etc
Rename the three permission nodes to
DevsAuctionHouse.use,.sell, and.admin.Update both the plugin declarations and command checks so they match.
Renamed and updated the permission nodes to DevsAuctionHouse.use, DevsAuctionHouse.sell, and DevsAuctionHouse.admin. The first two still default to everyone; .admin still defaults to ops. Recompile the plugin for the changes to take effect.
and the pluggin is not dame as fadah
The public plugin ID and permissions already use DevsAuctionHouse; I’m also removing Fadah from the internal package and main-class names so the project is consistently branded.
Renamed the internal package and main class from FadahAuction to DevsAuctionHouse; the project name is now DevsAuctionHouse too. The plugin ID and permissions already use that name. Recompile to test the renamed build.
no i mean that the gui is not like fadah.....shld i send yml files? or the plugin for u to make the exact thing......bt good job renamingg internal pakages
Yes—send the original plugin’s source code if you have it, especially its GUI classes and configuration files. The plugin.yml only contains plugin metadata; it won’t show how the menus look or behave.
If you don’t have the source, send the original JAR and any GUI/config YAML files, plus screenshots of the menus and what each button should do. I’ll use those to match the auction GUI in this project. Don’t include server credentials or other secrets.
yea these are the yml files
📄
categories.yml
yml
98 lines
▶
categories:
- id: building-blocks
name: '&dBuilding Blocks'
priority: 2
model-data: 0
icon: BRICKS
description:
- '&fBlocks used to make &ebeautiful &fbuildings!'
matchers:
- '%material% == "COARSE_DIRT"'
- '%material% == "TERRACOTTA"'
- '%material%.endsWith("_WOOL")'
- '%material%.endsWith("_TERRACOTTA")'
- '%material%.endsWith("_CONCRETE")'
- '%material%.endsWith("_CONCRETE_POWDER")'
- '%material% == "GLASS"'
- '%material%.endsWith("_GLASS")'
- '%material%.endsWith("_GLASS_PANE")'
- id: keys
name: '&3Crate Keys'
priority: 4
model-data: 0
icon: TRIPWIRE_HOOK
description: []
matchers:
- '%material% == "TRIPWIRE_HOOK"'
- id: combat
name: '&cCombat'
priority: 2
model-data: 0
icon: DIAMOND_SWORD
description:
- '&7▪ &fSwords'
- '&7▪ &fArmour'
- '&7▪ &fBows'
- '&7▪ &fShields'
matchers:
- '%material%.endsWith("_SWORD")'
- '%material%.endsWith("_BOOTS")'
- '%material%.endsWith("_LEGGINGS")'
- '%material%.endsWith("_CHESTPLATE")'
- '%material%.endsWith("_HELMET")'
- '%material% == "BOW"'
- id: eco-items
name: '&fEco Items Example'
priority: 3
model-data: 0
icon: BLUE_DYE
description:
- '&fAn example usage for the ecoitems hook'
matchers:
- '%ecoitems_id% == "your_custom_item"'
- id: tools
name: '&aTools'
priority: 2
model-data: 0
icon: DIAMOND_PICKAXE
description:
- '&7▪ &fPickaxes'
- '&7▪ &fAxes'
- '&7▪ &fShovels'
- '&7▪ &fHoes'
matchers:
- '%material%.endsWith("_AXE")'
- '%material%.endsWith("_PICKAXE")'
- '%material%.endsWith("_HOE")'
- '%material%.endsWith("_SHOVEL")'
- id: redstone
name: '&cRedstone'
priority: 3
model-data: 0
icon: REPEATER
description:
- '&fRedstone components.'
matchers:
- '%material%.includes("REDSTONE")'
- '%material% == "REPEATER"'
- '%material% == "COMPARATOR"'
- id: spawners-and-eggs
name: '&5Spawners and Mob Eggs'
priority: 2
model-data: 0
icon: CHICKEN_SPAWN_EGG
description:
- '&fAll Mob Spawners and Mob Spawn Eggs'
matchers:
- '%material% == "SPAWNER"'
- '%material%.endsWith("_SPAWN_EGG")'
- id: misc
name: '&eMisc'
priority: 1
model-data: 0
icon: LEATHER
description:
- '&fItems that don''t fit under any other category.'
matchers:
- 'true'
📄
config.yml
yml
117 lines
▶
# #########################################
# # Fadah #
# # Finally a Decent Auction House #
# #########################################
# Toggle with /ah toggle
enabled: true
default-max-listings: 10
log-to-file: true
# Minimal mode changes these functions:
# - Bypass sell menu and just list the item
minimal-mode: false
# This doesnt disable the update checker in console,
# only for when players with the permission 'fadah.manage.profile' join.
update-checker: true
max-listing-length:
amount: 10
unit: DAYS
default-listing-length:
amount: 2
unit: DAYS
listing-price:
min: 100.0
max: 1.0E9
formatting:
numbers: '#,###.00'
date: dd/MM/yyyy HH:mm
time:
seconds: '%ds'
minutes: '%dm, %ds'
hours: '%dh, %dm, %ds'
days: '%dd, %dh, %dm, %ds'
months: '%dm, %dd, %dh, %dm, %ds'
years: '%dy, %dm, %dd, %dh, %dm, %ds'
# What the search function should check.
search:
name: true
lore: true
type: true
# Does not include enchants on items.
enchanted-books: true
listing-adverts:
# Whether or not a listing advert should be made by default.
enabled-by-default: false
# How much it costs to advertise the listing by default.
# Overridden by the `fadah.advert-price.` permission.
default-price: 500.0
blacklists:
- '%material% == "BEDROCK"'
- '%material% == "NETHER_STAR" && %name%.includes("Menu")'
hooks:
eco-items: false
discord:
enabled: false
webhook-url: INSERT WEBHOOK URL HERE
# If this is true the webhook will only send a message when the listing has been advertised.
only-send-on-advert: false
# Allowed: EMBED, PLAIN_TEXT
message-mode: EMBED
embed:
# Allowed: SIDE, BOTTOM
image-location: SIDE
title: New Listing by %player%!
content: '%player% just listed %item% for $%price% on the auction house!'
footer: Powered by Finally a Decent Auction House
plain-text: '%player% just listed %item% for $%price% on the auction house!'
influxdb:
enabled: false
uri: http://localhost:8086
token: MyToken
org: MyOrg
bucket: Fadah
currency:
default-currency: vault
vault:
name: Money
coins-engine:
# Which currencies to use from coins engine.
currencies:
- economy: mob_coins
display-name: Mob Coins
- economy: coins
display-name: Coins
redis-economy:
# Which currencies to use from redis economy, if your using the default currency use the vault currency instead.
currencies:
- economy: dollar
display-name: Dollar
- economy: euro
display-name: Euro
player-points:
name: Points
database:
# Allowed: SQLITE, MYSQL, MARIADB, MONGO
type: SQLITE
uri: jdbc:mysql://127.0.0.1:3306/Fadah
username: username
password: password
database: Fadah
use-ssl: false
advanced:
pool-size: 10
min-idle: 10
max-lifetime: 1800000
keepalive-time: 0
connection-timeout: 5000
# A message broker is only required for x-server environments.
# This is not compatible with SQLITE database
broker:
enabled: false
# Allowed: REDIS
type: REDIS
host: localhost
port: 6379
password: myAwesomePassword
channel: fadah:cache
📄
lang.yml
yml
204 lines
▶
# #########################################
# # Fadah #
# # Language Configuration #
# #########################################
prefix: '╓FF&lSSDMC Auction House &r'
category-selected: '&e&lSELECTED'
notifications:
advert:
- '&f--------------------------------------------------'
- '&f%player% &ehas just made a new listing on the auction house!'
- '&fItem: &e%item%'
- '&fPrice: &a$%price%'
- '&7&n(Click here to view the listing!)'
- '&f--------------------------------------------------'
new-listing:
- '&f------------------------------------------------'
- '&eYou have a successfully listed an item for sale!'
- '&fItem: &e%item%'
- '&fPrice: &a$%price%'
- '&fCompletes in: &6%time%'
- '&fActive Listings: &d%current_listings%&f/&5%max_listings%'
- '&fYou have been taxed: &9%tax%% &7(&a$%price_after_tax%&7)'
- '&f------------------------------------------------'
new-item:
- '&f-------------------------------------------'
- '&eYou have a new item in your collection box!'
- '&f /ah redeem!'
- '&f-------------------------------------------'
expired-item:
- '&f-----------------------------------'
- '&eYou have expired items to collect!'
- '&f /ah expired!'
- '&f-----------------------------------'
bid-placed:
- '&f-------------------------'
- '&eYou have placed a bid!'
- '&fItem: &e%item%'
- '&fBid Amount: &a$%price%'
- '&f-------------------------'
out-bid:
- '&f-------------------------'
- '&eYou have been out-bid!'
- '&fItem: &e%item%'
- '&fBid Amount: &a$%price%'
- '&f-------------------------'
sale:
- '&f----------------------------------------------'
- '&eYou have sold an item on the Auction House!'
- '&fItem: &e%item%'
- '&fMoney Made: &a$%price%'
- '&fBuyer: &a$%buyer%'
- '&f----------------------------------------------'
watched:
- '&f-------------------------------------------------------'
- '&eA listing meeting your criteria has come on the market!'
- '&fItem: &e%item%'
- '&fPrice: &a$%price%'
- '&7&n(Click here to view the listing!)'
- '&f-------------------------------------------------------'
cancelled: '&cListing Cancelled!'
commands:
main:
description: Opens the listing browser
aliases:
- auctionhouse
- ah
- auctions
- auction
- ssdmcah
- ssdmcauction
- SSDMCah
sell:
description: Create a new listing on the auction house
aliases:
- new-listing
- create-listing
must-hold-item: '&cYou must have an item in your hand to sell!'
must-be-number: '&cThe price must be a number!'
max-listings: '&cYou have reached your max listings! (%current%/%max%)'
listing-price:
max: '&fPrice must be less than &a$%price%'
min: '&fPrice must be at least &a$%price%'
view:
description: View another players active listings
aliases:
- visit
watch:
description: Watch for listings and get notified when one gets listed
aliases:
- listen
profile:
description: View your auction profile
aliases:
- ahprofile
active-listings:
description: View your active listings
aliases:
- active
expired-items:
description: View your expired items
aliases:
- expired
collection-box:
description: View your collection box
aliases:
- redeem
history:
description: View your listing history
aliases:
- hist
help:
description: This command!
aliases: []
primary-color: '#9555FF'
highlight-color: '#9be0af'
alternative-highlight-color: '#bba4e0'
text-color: '#7c7a80'
accent-color: '#525254'
reload:
description: Reload the plugin
aliases:
- rl
success: '&aAll configuration files reloaded successfully!'
fail: '&cSome configuration files failed to reload! &7(Check console)'
remote: '&aA global configuration reload has been received!'
toggle:
description: Toggle whether people can use the auction house
aliases: []
message: '&eSSDMC &dAuctions &fhas been %status%&r&f!'
remote: '&fAuction House has been %status%&r&f from a remote server!'
enabled: '&a&lENABLED'
disabled: '&c&lDISABLED'
about:
description: Get information about the plugin
aliases: []
view-listing:
description: View a specific listing
aliases: []
search:
description: Search active listings
aliases:
- s
advert-actions:
post: Post Advert
silent: No Advert
log-actions:
listing-started: Listing Started
listing-purchased: Listing Purchased
listing-sold: Listing Sold
listing-cancelled: Listing Cancelled
listing-expired: Listing Expired
expired-item-claimed: Expired Listing Claimed
collection-box-claimed: Collection Box Item Claimed
listing-cancelled-admin: Listing Cancelled by Admins
expired-item-claimed-admin: Expired Listing Claimed by Admins
collection-box-claimed-admin: Collection Box Item Claimed by Admins
sort:
age:
name: Sort By Listing Age
descending: Oldest First
ascending: Newest First
name:
name: Sort Alphabetically By Name
descending: Descending (Z-A)
ascending: Ascending (A-Z)
price:
name: Sort By Listing Price
descending: Cheapest First (Low to High)
ascending: Most Expensive First (High to Low)
mode:
name: Sort By Listing Mode
descending: Bidding First
ascending: Buy it Now First
errors:
disabled: '&cThe Auction House is currently disabled!'
command-not-found: '&cThis command does not exist!'
must-be-player: '&cOnly players can run this command!'
restricted: '&cYou cannot sell this item!'
no-permission: '&cYou do not have permission to execute this command!'
player-not-found: '&c%player% was not found!'
invalid-usage: '&cUsage: /%syntax%'
invalid-argument: '&cInvalid argument: %cause%'
does-not-exist: '&cThis listing does not exist!'
own-listings: '&cYou cannot buy your own listing!'
too-expensive: '&cYou cannot afford this item!'
inventory-full: '&cYou don''t have any free room in your inventory!'
advert-expense: '&cYour advert failed to post because you did not have enough money!'
database-loading: '&cDatabase not connected! Please Wait'
cooldown: '&cPlease wait &f%time%&c!'
other: '&cListing this item failed! (%ex%)'
already-highest-bidder: '&cYou are already the highest bidder!'
bid-too-low: '&cThe current bid is higher than your bid!'
mcmmo-blocking: '&cYou cannot list an item while using an mcMMO ability!'
words:
your: your
none: None
starting-bid: Starting Bid
modes:
buy-it-now: BIN
bidding: Bidding
These files help, but they don’t define Fadah’s actual menu layout:
categories.ymllists category names, icons, descriptions, and item-matching rules.config.ymlcontains settings and some behavior options.lang.ymlcontains messages and command text.
I can use them to add category browsing and match the wording, but to copy the GUI’s appearance and navigation, please send screenshots of the auction menus (including what opens when you click a category or listing), or the original plugin JAR.
its 604kb
604 KB is fine—please attach the original Fadah .jar. That’ll let me inspect its GUI screens and behavior; screenshots are helpful too if you can share them.
https://modrinth.com/plugin/fadah/gallery
I’ll compare the current auction GUI with this Fadah screenshot and adjust the menu layout to match.
This screenshot helps with the look, but it doesn’t show enough to reproduce the GUI exactly—especially the category buttons and what the controls do. The YAML files give category names and icons, not inventory slot positions.
Please attach the 604 KB Fadah .jar if you have it. Otherwise, send clearer screenshots of the full menu and any category or listing screens you want matched.
i have uploaded the 2 files in projecct root
I can see two files in the project root: FadahData.db and FadahData.db.bak. I don’t see the Fadah .jar there, so I can’t inspect its GUI implementation yet.
i cant upload the jar
No problem—you don’t need to upload the jar. I can use the Fadah gallery and the two database files you added as references. The databases may show saved auction data, but screenshots are what help match the menus; send any screens you want me to reproduce that aren’t in the gallery.
these are yml files that i found
📄
collection-box.yml
yml
60 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &e%dynamic% Collection Box'
lang:
lore:
- '&8&n---------------------------'
- '&fAdded: &e%time% &fago'
- '&r '
- '&eClick To Claim!'
- '&8&n---------------------------'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "FILLER"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
confirm.yml
yml
46 lines
▶
title: '&9&lAuction House &8> &aConfirm Purchase'
lang:
confirm:
icon: LIME_CONCRETE
model-data: 0
name: '&a&lCONFIRM'
lore:
- '&7Click to confirm for &a$%price%'
cancel:
icon: RED_CONCRETE
model-data: 0
name: '&c&lCANCEL'
lore:
- '&7Click to cancel'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'17': "FILLER"
'18': "FILLER"
'20': "CANCEL"
'22': "ITEM_TO_PURCHASE"
'24': "CONFIRM"
'26': "FILLER"
'27': "FILLER"
'35': "FILLER"
'36': "FILLER"
'37': "FILLER"
'38': "FILLER"
'39': "FILLER"
'40': "FILLER"
'41': "FILLER"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
expired-listings.yml
yml
60 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &c%dynamic% Expired Listings'
lang:
lore:
- '&8&n---------------------------'
- '&fAdded: &e%time% &fago'
- '&r '
- '&eClick To Re-Claim!'
- '&8&n---------------------------'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "FILLER"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
historic-items.yml
yml
93 lines
▶
title: '&9&lAuction House &8> &c%dynamic% History' # %dynamic% = "Your" or the players name if in management mode, %username% = the players username
lang:
lore:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-price:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-buyer:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fBuyer: &3%buyer%'
- '&r'
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-seller:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fSeller: &3%seller%'
- '&r'
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Ex: 21/04/2024 22:26'
name: '&eSearch Date'
lore:
- '&fClick to search for a logs date & time!'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "SEARCH"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
main.yml
yml
122 lines
▶
title: '&9&lAuction House'
lang:
listing:
lore-body:
- '&8&n---------------------------'
- '&fSeller: &e%seller%'
- '&fCategory: &e%category%'
- '&r '
- '&f%mode%: &6$%price%'
- '&fCurrency: &9%currency%'
- '&r '
- '&fExpires In: &e%expiry%'
- '&8&n---------------------------'
mode:
buy-it-now: "Buy Now"
bidding: "Current Bid"
footer:
buy: '&aClick to buy now!'
bid: '&aClick to place a bid!'
too-expensive: '&cYou cannot afford this item!'
own-listing: '&cYou cannot buy your own listing! &8(Shift Click to Cancel)'
shulker: '&fRight Click to Preview!'
profile-button:
icon: PLAYER_HEAD
model-data: 0
name: '&e&lYour Profile'
lore:
- '&fClick to view your profile!'
filter:
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Search Query...'
name: '&3&lSearch'
lore:
- '&fClick to search for an item name/type!'
change-type:
icon: PUFFERFISH
model-data: 0
name: '&eListing Filter'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
change-direction:
icon: CLOCK
model-data: 0
name: '&eFilter Direction'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 6
layout:
'0': "SCROLLBAR_CONTROL_ONE"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "SCROLLBAR_ITEM"
'10': "FILLER"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "SCROLLBAR_ITEM"
'19': "FILLER"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "NO_ITEMS"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "SCROLLBAR_ITEM"
'28': "FILLER"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "NO_ITEMS"
'32': "NO_ITEMS"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "SCROLLBAR_ITEM"
'37': "FILLER"
'38': "PAGINATION_ITEM"
'39': "PAGINATION_ITEM"
'40': "PAGINATION_ITEM"
'41': "PAGINATION_ITEM"
'42': "PAGINATION_ITEM"
'43': "PAGINATION_ITEM"
'44': "FILLER"
'45': "SCROLLBAR_CONTROL_TWO"
'46': "FILLER"
'47': "FILTER"
'48': "PAGINATION_CONTROL_ONE"
'49': "SEARCH"
'50': "PAGINATION_CONTROL_TWO"
'51': "FILTER_DIRECTION"
'52': "FILLER"
'53': "PROFILE"
📄
misc.yml
yml
42 lines
▶
search-title: '&9&lAuction House &8> &fSearch'
no-item-found:
material: BARRIER
model-data: 0
name: '&c&lNo items found!'
lore: []
back-button:
material: FEATHER
model-data: 0
name: '&cGo Back'
lore: []
previous-button:
material: ARROW
model-data: 0
name: '&c&lPrevious Page'
lore: []
next-button:
material: ARROW
model-data: 0
name: '&a&lNext Page'
lore: []
scroll-next-button:
material: ARROW
model-data: 0
name: '&a&lScroll Categories Down'
lore: []
scroll-previous-button:
material: ARROW
model-data: 0
name: '&a&lScroll Categories Up'
lore: []
close-button:
material: BARRIER
model-data: 0
name: '&c&l✗ Close'
lore: []
border:
material: BLACK_STAINED_GLASS_PANE
model-data: 0
name: '&r '
lore: []
📄
new-listing.yml
yml
95 lines
▶
title: '&9&lAuction House &8> &3New Listing'
lang:
create:
icon: EMERALD
model-data: 0
name: '&aClick to create listing!'
lore:
- '&cClicking this button will immediately post'
- '&cyour item on the auction house for &a$%price%'
time:
icon: CLOCK
model-data: 0
name: '&aTime for listing to be active'
lore:
- '&fCurrent: &6%time%'
- '&7Left Click to Add 1 Hour'
- '&7Right Click to Remove 1 Hour'
- '&7Shift Left Click to Add 30 Minutes'
- '&7Shift Right Click to Remove 30 Minutes'
advert:
icon: OAK_SIGN
model-data: 0
name: "&eAdvertise Listing"
lore:
- '&fAdvert Price: &a$%cost%'
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
currency:
icon: GOLD_INGOT
model-data: 0
name: '&aCurrency'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
mode:
icon: HOPPER
model-data: 0
name: '&bListing Mode'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 6
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'13': "LISTING_ITEM"
'17': "FILLER"
'18': "FILLER"
'26': "FILLER"
'27': "FILLER"
'31': "LISTING_START"
'35': "FILLER"
'36': "FILLER"
'38': "LISTING_MODE"
'39': "CURRENCY"
'41': "LISTING_TIME"
'42': "LISTING_ADVERT"
'44': "FILLER"
'45': "FILLER"
'46': "FILLER"
'47': "FILLER"
'48': "FILLER"
'49': "CLOSE"
'50': "FILLER"
'51': "FILLER"
'52': "FILLER"
'53': "FILLER"
📄
place-bid.yml
yml
59 lines
▶
title: '&9&lAuction House &8> &aPlace Bid'
lang:
input:
title: "&9&lAuction House &8> &fBid Amount"
placeholder: "Ex: 10k"
adjust-bid:
icon: ANVIL
model-data: 0
name: '&3Adjust Bid Amount'
lore:
- '&fCurrent Bid: &3$%current%'
- '&fYour Bid: &a$%bid%'
- ''
- '&7Click to change'
confirm:
icon: LIME_CONCRETE
model-data: 0
name: '&a&lCONFIRM'
lore:
- '&7Click to place bid of &a$%price%'
cancel:
icon: RED_CONCRETE
model-data: 0
name: '&c&lCANCEL'
lore:
- '&7Click to cancel'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'13': "ITEM_TO_PURCHASE"
'17': "FILLER"
'18': "FILLER"
'20': "CANCEL"
'24': "CONFIRM"
'26': "FILLER"
'27': "FILLER"
'31': "ADJUST_BID"
'35': "FILLER"
'36': "FILLER"
'37': "FILLER"
'38': "FILLER"
'39': "FILLER"
'40': "FILLER"
'41': "FILLER"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
profile.yml
yml
75 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &b%dynamic% Profile'
lang:
profile-button:
icon: PLAYER_HEAD
model-data: 0
name: '&e&l%dynamic% Profile'
lore:
- '&fThis is %dynamic% profile!'
- '&fHere you will find items from the auction house relating to %username%.'
your-listings:
icon: EMERALD
model-data: 0
name: '&1%dynamic% Listings'
lore:
- '&fClick to view & manage'
- '&f%dynamic% %amount% active listings!'
collection-box:
icon: CHEST_MINECART
model-data: 0
name: '&e%dynamic% Collection Box'
lore:
- '&fClick to view & claim'
- '&f%dynamic% %amount% pending purchases!'
expired-items:
icon: ENDER_CHEST
model-data: 0
name: '&c%dynamic% Expired Listings'
lore:
- '&fClick to view & claim'
- '&f%dynamic% %amount% expired listings!'
historic-items:
icon: WRITABLE_BOOK
model-data: 0
name: '&c%dynamic% History'
lore:
- '&fClick to view'
- '&f%dynamic% history!'
size: 6
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'17': "FILLER"
'18': "FILLER"
'20': "PROFILE_SUMMARY"
'22': "PROFILE_ACTIVE_LISTINGS"
'23': "PROFILE_COLLECTION_BOX"
'24': "PROFILE_EXPIRED_LISTINGS"
'26': "FILLER"
'27': "FILLER"
'31': "PROFILE_HISTORY"
'35': "FILLER"
'36': "FILLER"
'44': "FILLER"
'45': "BACK"
'46': "FILLER"
'47': "FILLER"
'48': "FILLER"
'49': "FILLER"
'50': "FILLER"
'51': "FILLER"
'52': "FILLER"
'53': "FILLER"
📄
view-listings.yml
yml
105 lines
▶
title: '&9&lAuction House &8> &1%dynamic% Listings' # %dynamic% = "Your" or the players name if not the owner, %username% = the players username
lang:
listing:
lore-body:
- '&8&n---------------------------'
- '&fSeller: &e%seller%'
- '&fCategory: &e%category%'
- '&r '
- '&f%mode%: &6$%price%'
- '&fCurrency: &9%currency%'
- '&r '
- '&fExpires In: &e%expiry%'
- '&8&n---------------------------'
mode:
buy-it-now: "Buy Now"
bidding: "Current Bid"
footer:
buy: '&aClick to buy now!'
too-expensive: '&cYou cannot afford this item!'
own-listing: '&cYou cannot buy your own listing! &8(Shift Click to Cancel)'
shulker: '&fRight Click to Preview!'
filter:
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Search Query...'
name: '&3&lSearch'
lore:
- '&fClick to search for an item name/type!'
change-type:
icon: PUFFERFISH
model-data: 0
name: '&eListing Filter'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
change-direction:
icon: CLOCK
model-data: 0
name: '&eFilter Direction'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "FILLER"
'37': "FILTER"
'38': "FILTER_DIRECTION"
'39': "PAGINATION_CONTROL_ONE"
'40': "BACK"
'41': "PAGINATION_CONTROL_TWO"
'42': "SEARCH"
'43': "FILLER"
'44': "FILLER"
Plan:
Recreate the Fadah main menu’s 20 listing positions and six-row layout.
Map clicks to those sparse slots and move pagination to the matching bottom controls.
Preserve the existing purchase-confirmation flow.
Updated the existing auction and confirmation menus to match the supplied Fadah layouts: the main menu now uses a 54-slot inventory with 20 sparse listing slots and pagination at 48/50; confirmation uses 45 slots, with cancel at 20, the listing at 22, and confirm at 24. Listing clicks still open the purchase confirmation.
The YAMLs also describe profile, category, search, collection, expired-listing, and history screens, which aren’t implemented in the current plugin.
1 more
📄
watch.yml
yml
64 lines
▶
title: "&9&lAuction House &8> &bWatch"
lang:
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Search Query...'
name: '&3Search'
lore:
- '&fClick to add a search!'
- '&7Current: &e%current%'
min-price:
icon: IRON_NUGGET
model-data: 0
placeholder: 'Ex: 100'
name: '&3Minimum Price'
lore:
- '&fClick to add a minimum price'
- '&7Current: &e$%current%'
max-price:
icon: GOLD_NUGGET
model-data: 0
placeholder: 'Ex: 10k'
name: '&3Maximum Price'
lore:
- '&fClick to add a maximum price'
- '&7Current: &e$%current%'
start:
icon: EMERALD
model-data: 0
name: "&aStart Watching"
lore:
- "&fClick to start watching for these settings."
size: 3
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "FILLER"
'11': "SEARCH"
'12': "MIN_PRICE"
'13': "MAX_PRICE"
'14': "FILLER"
'15': "LISTING_START"
'16': "FILLER"
'17': "FILLER"
'18': "FILLER"
'19': "FILLER"
'20': "FILLER"
'21': "FILLER"
'22': "FILLER"
'23': "FILLER"
'24': "FILLER"
'25': "FILLER"
'26': "FILLER"
Added watch.yml to src/main/resources/watch.yml.
and what abt that .db and .db.bak file?
I only see watch.yml attached, and there are no .db or .db.bak files in the project. Those are database and backup files, not config files; the plugin typically creates them while running. If you want me to work with specific database files, upload them too.
no can i compille the plugin? and update the version to 1.0.0 and is the plugin ready to launch
Update the plugin’s version to
1.0.0.Check whether the project looks launch-ready.
Explain how to compile it in Kodari.
Version is now
1.0.0in bothbuild.gradleandplugin.yml.Not ready to launch yet:
plugin.ymlpoints to a main class that doesn’t exist, and the plugin uses XSeries without bundling it into the jar. Purchases also need a Vault-compatible economy plugin installed alongside Vault. The.dband.db.bakfiles aren’t used by this plugin; it saves listings toplugins/DevsAuctionHouse/listings.yml.You can compile it in Kodari: click Compile in the top bar (or on mobile, tap ⋮ → Compile Project), then click Compile in the window. A successful compile won’t by itself resolve the launch blockers above.
and i want to make a core plugin as well which will be a dependency of the plugin and what shld that core plugin have
For your Core plugin, keep it focused on reusable services that other plugins can depend on. For the Auction House, a useful first version could provide:
Shared config and messages — consistent prefixes, colors, and configurable text.
Economy access — a small API for checking, withdrawing, and depositing money through Vault.
Common utilities — item serialization, formatting, and permission checks, if multiple plugins need them.
A public API — clear methods other plugins can call, such as
core.getEconomyService().
Keep auction listings, auction commands, and auction-specific storage in the Auction House plugin. The Core should avoid becoming a grab bag of unrelated features; add something only when another plugin needs to share it.
The Auction House can declare Core as a required dependency so Core loads first. Start with the smallest useful Core API, then expand it as you build more plugins.
leave the core pluin and y cant i launch the pluin yet
Leaving the Core plugin aside. The immediate launch blocker is a main-class mismatch: plugin.yml points to com.kodari.fadahauction.FadahAuctionPlugin, but the actual class is com.kodari.devsauctionhouse.DevsAuctionHousePlugin. Bukkit won’t load the plugin until those match.
Also, plugin.yml requires Vault, so Vault must be installed on the server. XSeries is used by the plugin, but the build doesn’t clearly show it being bundled into the jar, so that may need addressing too.
These are server launch issues; the version 1.0.0 isn’t the cause.
so what shld we do now?
I’ll fix the fatal plugin.yml main-class mismatch first. Then compile; Vault must be installed on the server for this plugin to load.
Fixed the plugin.yml main-class mismatch. Compile it now: click Compile in the top bar (on mobile: ⋮ → Compile Project), then click Compile in the window. After a successful build, install the jar on a test server with Vault installed. If startup reports a missing XSeries class, that library will also need to be available at runtime.
which uild is it
Use the newest build—the one created after the plugin.yml fix. Click Compile in the top bar (phone: ⋮ → Compile Project), then click Compile in the window. When it succeeds, download that build’s JAR.
rename the pluin ersion to 1.0.0-eta
Set the Gradle project version and
plugin.ymlversion to1.0.0-eta.
Updated the plugin version to 1.0.0-eta in both build.gradle and plugin.yml.
no i mean 1.0.0-beta (capital b)
Updated the version to 1.0.0-Beta in both build.gradle and plugin.yml.
the menus are not there
I found the gap: /ah opens the auction menu, but the attached watch.yml has no GUI implementation or command to open it. I’ll wire in the Watch menu and its controls.
Plan:
Load
watch.ymland expose the menu as/ah watch.Wire its search and price inputs, start-watch action, and listing notifications.
Reopen the menu after config reloads.
The Watch menu was only a watch.yml file—it wasn’t connected to the plugin. I’ve wired it up: /ah opens the auction menu, and /ah watch opens the Watch menu with search and price filters. Starting a watch notifies you about matching new listings; watches reset when the server restarts.
Compile a fresh build for the changes, then try those commands in-game.
thee are the yml file for the menu add it to the pluin
📄
collection-box.yml
yml
60 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &e%dynamic% Collection Box'
lang:
lore:
- '&8&n---------------------------'
- '&fAdded: &e%time% &fago'
- '&r '
- '&eClick To Claim!'
- '&8&n---------------------------'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "FILLER"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
confirm.yml
yml
46 lines
▶
title: '&9&lAuction House &8> &aConfirm Purchase'
lang:
confirm:
icon: LIME_CONCRETE
model-data: 0
name: '&a&lCONFIRM'
lore:
- '&7Click to confirm for &a$%price%'
cancel:
icon: RED_CONCRETE
model-data: 0
name: '&c&lCANCEL'
lore:
- '&7Click to cancel'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'17': "FILLER"
'18': "FILLER"
'20': "CANCEL"
'22': "ITEM_TO_PURCHASE"
'24': "CONFIRM"
'26': "FILLER"
'27': "FILLER"
'35': "FILLER"
'36': "FILLER"
'37': "FILLER"
'38': "FILLER"
'39': "FILLER"
'40': "FILLER"
'41': "FILLER"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
expired-listings.yml
yml
60 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &c%dynamic% Expired Listings'
lang:
lore:
- '&8&n---------------------------'
- '&fAdded: &e%time% &fago'
- '&r '
- '&eClick To Re-Claim!'
- '&8&n---------------------------'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "FILLER"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
historic-items.yml
yml
93 lines
▶
title: '&9&lAuction House &8> &c%dynamic% History' # %dynamic% = "Your" or the players name if in management mode, %username% = the players username
lang:
lore:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-price:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-buyer:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fBuyer: &3%buyer%'
- '&r'
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
lore-with-seller:
- '&8&n---------------------------'
- '&fAction: &e%action%'
- '&r '
- '&fSeller: &3%seller%'
- '&r'
- '&fPrice: &6$%price%'
- '&r '
- '&fDate: &e%date%'
- '&8&n---------------------------'
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Ex: 21/04/2024 22:26'
name: '&eSearch Date'
lore:
- '&fClick to search for a logs date & time!'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "BACK"
'37': "FILLER"
'38': "FILLER"
'39': "PAGINATION_CONTROL_ONE"
'40': "SEARCH"
'41': "PAGINATION_CONTROL_TWO"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
main.yml
yml
122 lines
▶
title: '&9&lAuction House'
lang:
listing:
lore-body:
- '&8&n---------------------------'
- '&fSeller: &e%seller%'
- '&fCategory: &e%category%'
- '&r '
- '&f%mode%: &6$%price%'
- '&fCurrency: &9%currency%'
- '&r '
- '&fExpires In: &e%expiry%'
- '&8&n---------------------------'
mode:
buy-it-now: "Buy Now"
bidding: "Current Bid"
footer:
buy: '&aClick to buy now!'
bid: '&aClick to place a bid!'
too-expensive: '&cYou cannot afford this item!'
own-listing: '&cYou cannot buy your own listing! &8(Shift Click to Cancel)'
shulker: '&fRight Click to Preview!'
profile-button:
icon: PLAYER_HEAD
model-data: 0
name: '&e&lYour Profile'
lore:
- '&fClick to view your profile!'
filter:
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Search Query...'
name: '&3&lSearch'
lore:
- '&fClick to search for an item name/type!'
change-type:
icon: PUFFERFISH
model-data: 0
name: '&eListing Filter'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
change-direction:
icon: CLOCK
model-data: 0
name: '&eFilter Direction'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 6
layout:
'0': "SCROLLBAR_CONTROL_ONE"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "SCROLLBAR_ITEM"
'10': "FILLER"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "SCROLLBAR_ITEM"
'19': "FILLER"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "NO_ITEMS"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "SCROLLBAR_ITEM"
'28': "FILLER"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "NO_ITEMS"
'32': "NO_ITEMS"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "SCROLLBAR_ITEM"
'37': "FILLER"
'38': "PAGINATION_ITEM"
'39': "PAGINATION_ITEM"
'40': "PAGINATION_ITEM"
'41': "PAGINATION_ITEM"
'42': "PAGINATION_ITEM"
'43': "PAGINATION_ITEM"
'44': "FILLER"
'45': "SCROLLBAR_CONTROL_TWO"
'46': "FILLER"
'47': "FILTER"
'48': "PAGINATION_CONTROL_ONE"
'49': "SEARCH"
'50': "PAGINATION_CONTROL_TWO"
'51': "FILTER_DIRECTION"
'52': "FILLER"
'53': "PROFILE"
📄
misc.yml
yml
42 lines
▶
search-title: '&9&lAuction House &8> &fSearch'
no-item-found:
material: BARRIER
model-data: 0
name: '&c&lNo items found!'
lore: []
back-button:
material: FEATHER
model-data: 0
name: '&cGo Back'
lore: []
previous-button:
material: ARROW
model-data: 0
name: '&c&lPrevious Page'
lore: []
next-button:
material: ARROW
model-data: 0
name: '&a&lNext Page'
lore: []
scroll-next-button:
material: ARROW
model-data: 0
name: '&a&lScroll Categories Down'
lore: []
scroll-previous-button:
material: ARROW
model-data: 0
name: '&a&lScroll Categories Up'
lore: []
close-button:
material: BARRIER
model-data: 0
name: '&c&l✗ Close'
lore: []
border:
material: BLACK_STAINED_GLASS_PANE
model-data: 0
name: '&r '
lore: []
📄
new-listing.yml
yml
95 lines
▶
title: '&9&lAuction House &8> &3New Listing'
lang:
create:
icon: EMERALD
model-data: 0
name: '&aClick to create listing!'
lore:
- '&cClicking this button will immediately post'
- '&cyour item on the auction house for &a$%price%'
time:
icon: CLOCK
model-data: 0
name: '&aTime for listing to be active'
lore:
- '&fCurrent: &6%time%'
- '&7Left Click to Add 1 Hour'
- '&7Right Click to Remove 1 Hour'
- '&7Shift Left Click to Add 30 Minutes'
- '&7Shift Right Click to Remove 30 Minutes'
advert:
icon: OAK_SIGN
model-data: 0
name: "&eAdvertise Listing"
lore:
- '&fAdvert Price: &a$%cost%'
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
currency:
icon: GOLD_INGOT
model-data: 0
name: '&aCurrency'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
mode:
icon: HOPPER
model-data: 0
name: '&bListing Mode'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 6
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'13': "LISTING_ITEM"
'17': "FILLER"
'18': "FILLER"
'26': "FILLER"
'27': "FILLER"
'31': "LISTING_START"
'35': "FILLER"
'36': "FILLER"
'38': "LISTING_MODE"
'39': "CURRENCY"
'41': "LISTING_TIME"
'42': "LISTING_ADVERT"
'44': "FILLER"
'45': "FILLER"
'46': "FILLER"
'47': "FILLER"
'48': "FILLER"
'49': "CLOSE"
'50': "FILLER"
'51': "FILLER"
'52': "FILLER"
'53': "FILLER"
📄
place-bid.yml
yml
59 lines
▶
title: '&9&lAuction House &8> &aPlace Bid'
lang:
input:
title: "&9&lAuction House &8> &fBid Amount"
placeholder: "Ex: 10k"
adjust-bid:
icon: ANVIL
model-data: 0
name: '&3Adjust Bid Amount'
lore:
- '&fCurrent Bid: &3$%current%'
- '&fYour Bid: &a$%bid%'
- ''
- '&7Click to change'
confirm:
icon: LIME_CONCRETE
model-data: 0
name: '&a&lCONFIRM'
lore:
- '&7Click to place bid of &a$%price%'
cancel:
icon: RED_CONCRETE
model-data: 0
name: '&c&lCANCEL'
lore:
- '&7Click to cancel'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'13': "ITEM_TO_PURCHASE"
'17': "FILLER"
'18': "FILLER"
'20': "CANCEL"
'24': "CONFIRM"
'26': "FILLER"
'27': "FILLER"
'31': "ADJUST_BID"
'35': "FILLER"
'36': "FILLER"
'37': "FILLER"
'38': "FILLER"
'39': "FILLER"
'40': "FILLER"
'41': "FILLER"
'42': "FILLER"
'43': "FILLER"
'44': "FILLER"
📄
profile.yml
yml
75 lines
▶
# %dynamic% = "Your" or the players name if in management mode, %username% = the players username
title: '&9&lAuction House &8> &b%dynamic% Profile'
lang:
profile-button:
icon: PLAYER_HEAD
model-data: 0
name: '&e&l%dynamic% Profile'
lore:
- '&fThis is %dynamic% profile!'
- '&fHere you will find items from the auction house relating to %username%.'
your-listings:
icon: EMERALD
model-data: 0
name: '&1%dynamic% Listings'
lore:
- '&fClick to view & manage'
- '&f%dynamic% %amount% active listings!'
collection-box:
icon: CHEST_MINECART
model-data: 0
name: '&e%dynamic% Collection Box'
lore:
- '&fClick to view & claim'
- '&f%dynamic% %amount% pending purchases!'
expired-items:
icon: ENDER_CHEST
model-data: 0
name: '&c%dynamic% Expired Listings'
lore:
- '&fClick to view & claim'
- '&f%dynamic% %amount% expired listings!'
historic-items:
icon: WRITABLE_BOOK
model-data: 0
name: '&c%dynamic% History'
lore:
- '&fClick to view'
- '&f%dynamic% history!'
size: 6
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'17': "FILLER"
'18': "FILLER"
'20': "PROFILE_SUMMARY"
'22': "PROFILE_ACTIVE_LISTINGS"
'23': "PROFILE_COLLECTION_BOX"
'24': "PROFILE_EXPIRED_LISTINGS"
'26': "FILLER"
'27': "FILLER"
'31': "PROFILE_HISTORY"
'35': "FILLER"
'36': "FILLER"
'44': "FILLER"
'45': "BACK"
'46': "FILLER"
'47': "FILLER"
'48': "FILLER"
'49': "FILLER"
'50': "FILLER"
'51': "FILLER"
'52': "FILLER"
'53': "FILLER"
📄
view-listings.yml
yml
105 lines
▶
title: '&9&lAuction House &8> &1%dynamic% Listings' # %dynamic% = "Your" or the players name if not the owner, %username% = the players username
lang:
listing:
lore-body:
- '&8&n---------------------------'
- '&fSeller: &e%seller%'
- '&fCategory: &e%category%'
- '&r '
- '&f%mode%: &6$%price%'
- '&fCurrency: &9%currency%'
- '&r '
- '&fExpires In: &e%expiry%'
- '&8&n---------------------------'
mode:
buy-it-now: "Buy Now"
bidding: "Current Bid"
footer:
buy: '&aClick to buy now!'
too-expensive: '&cYou cannot afford this item!'
own-listing: '&cYou cannot buy your own listing! &8(Shift Click to Cancel)'
shulker: '&fRight Click to Preview!'
filter:
search:
icon: OAK_SIGN
model-data: 0
placeholder: 'Search Query...'
name: '&3&lSearch'
lore:
- '&fClick to search for an item name/type!'
change-type:
icon: PUFFERFISH
model-data: 0
name: '&eListing Filter'
lore:
- '&7Left Click to cycle up'
- '&7Right Click to cycle down'
- '&8-------------------------'
- '&f%previous%'
- '&8> &e%current%'
- '&f%next%'
- '&8-------------------------'
change-direction:
icon: CLOCK
model-data: 0
name: '&eFilter Direction'
lore:
- '&7Click To Toggle'
- '&8-------------------------'
- '%first%'
- '%second%'
- '&8-------------------------'
options:
selected: '&8> &e%option%'
not-selected: '&f%option%'
size: 5
layout:
'0': "FILLER"
'1': "FILLER"
'2': "FILLER"
'3': "FILLER"
'4': "FILLER"
'5': "FILLER"
'6': "FILLER"
'7': "FILLER"
'8': "FILLER"
'9': "FILLER"
'10': "PAGINATION_ITEM"
'11': "PAGINATION_ITEM"
'12': "PAGINATION_ITEM"
'13': "PAGINATION_ITEM"
'14': "PAGINATION_ITEM"
'15': "PAGINATION_ITEM"
'16': "PAGINATION_ITEM"
'17': "FILLER"
'18': "FILLER"
'19': "PAGINATION_ITEM"
'20': "PAGINATION_ITEM"
'21': "PAGINATION_ITEM"
'22': "NO_ITEMS"
'23': "PAGINATION_ITEM"
'24': "PAGINATION_ITEM"
'25': "PAGINATION_ITEM"
'26': "FILLER"
'27': "FILLER"
'28': "PAGINATION_ITEM"
'29': "PAGINATION_ITEM"
'30': "PAGINATION_ITEM"
'31': "PAGINATION_ITEM"
'32': "PAGINATION_ITEM"
'33': "PAGINATION_ITEM"
'34': "PAGINATION_ITEM"
'35': "FILLER"
'36': "FILLER"
'37': "FILTER"
'38': "FILTER_DIRECTION"
'39': "PAGINATION_CONTROL_ONE"
'40': "BACK"
'41': "PAGINATION_CONTROL_TWO"
'42': "SEARCH"
'43': "FILLER"
'44': "FILLER"
Plan:
Add the ten attached menu configuration files to the plugin’s resources.
Check how far the existing plugin can actually load and use those menus, and point out any that still need GUI behavior implemented.
Added all ten YAML files to the plugin and configured startup to copy them into plugins/DevsAuctionHouse/ without overwriting existing files.
Important: This adds the menu layouts as config files; it doesn’t make those menus appear in-game yet. The plugin still needs GUI behavior implemented for them.
still the gui isnt iimplemented
Implement the missing profile menu from
profile.yml, including working active-listing and expired-listing views.Wire it to
/ah profileand add the profile button to the auction GUI; connect reload and click handling.Show honest empty states for collection/history, which the current backend does not store, and make expired-item claiming safe.
Implemented the profile GUI. Open it with /ah profile or the new profile button in the auction menu. It shows your active and expired listings, with controls to cancel or claim them. Collection and history screens show clear empty-state messages because those features aren’t stored by the current backend.
package com.kodari.devsauctionhouse;
import com.kodari.devsauctionhouse.command.AuctionCommand;
import com.kodari.devsauctionhouse.economy.EconomyHook;
import com.kodari.devsauctionhouse.gui.AuctionGui;
import com.kodari.devsauctionhouse.gui.ProfileMenu;
import com.kodari.devsauctionhouse.gui.WatchMenu;
import com.kodari.devsauctionhouse.listener.AuctionListener;
import com.kodari.devsauctionhouse.manager.AuctionManager;
import com.kodari.devsauctionhouse.message.MessageService;
import org.bukkit.command.PluginCommand;
import org.bukkit.plugin.java.JavaPlugin;
public final class DevsAuctionHousePlugin extends JavaPlugin {
private EconomyHook economyHook;
private AuctionManager auctionManager;
private MessageService messages;
private AuctionGui auctionGui;
private ProfileMenu profileMenu;
private WatchMenu watchMenu;
@Override
public void onEnable() {
saveDefaultConfig();
saveResourceIfMissing("lang.yml");
saveResourceIfMissing("categories.yml");
saveResourceIfMissing("watch.yml");
saveResourceIfMissing("collection-box.yml");
saveResourceIfMissing("confirm.yml");
saveResourceIfMissing("expired-listings.yml");
saveResourceIfMissing("historic-items.yml");
saveResourceIfMissing("main.yml");
saveResourceIfMissing("misc.yml");
saveResourceIfMissing("new-listing.yml");
saveResourceIfMissing("place-bid.yml");
saveResourceIfMissing("profile.yml");
saveResourceIfMissing("view-listings.yml");
this.messages = new MessageService(this);
this.economyHook = new EconomyHook(this);
this.auctionManager = new AuctionManager(this, economyHook);
this.auctionManager.load();
this.auctionGui = new AuctionGui(this, auctionManager, messages);
this.profileMenu = new ProfileMenu(this, auctionManager, messages, auctionGui);
this.watchMenu = new WatchMenu(this, messages);
AuctionCommand command = new AuctionCommand(this, auctionManager, auctionGui, profileMenu, watchMenu, messages);
PluginCommand auctionCommand = getCommand("ah");
if (auctionCommand != null) {
auctionCommand.setExecutor(command);
auctionCommand.setTabCompleter(command);
}
getServer().getPluginManager().registerEvents(new AuctionListener(auctionGui, profileMenu, watchMenu), this);
}
@Override
public void onDisable() {
if (auctionManager != null) {
auctionManager.save();
}
}
public EconomyHook getEconomyHook() {
return economyHook;
}
private void saveResourceIfMissing(String resource) {
if (!new java.io.File(getDataFolder(), resource).exists()) {
saveResource(resource, false);
}
}
}