This commit is contained in:
2026-06-23 18:06:43 -04:00
commit c712003509
87 changed files with 4340 additions and 0 deletions
+168
View File
@@ -0,0 +1,168 @@
settings:
debug: false
command-prefix: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ&#7A4A2A&lʙ&#8B6B35&lᴀ&#A8873F&lɢ&#D4AF37&lᴍ&#B9C63F&l&r <#6A3F24>»"
allow-seller-self-purchase: false
require-inventory-space-to-buy: false
chat-price-timeout-seconds: 45
click-debounce-millis: 350
listing-expire-check-seconds: 60
default-sort: "NEWEST"
storage:
sqlite-file: "auctionhouse.db"
import-legacy-yaml: true
economy:
enabled: true
require-economy: true
provider: "Vault"
instant-seller-payment: true
listing-fee:
enabled: false
amount: 0.0
sales-tax:
enabled: false
percent: 0.0
price:
min: 1.0
max: 1000000000.0
listings:
default-duration-seconds: 604800
allow-cancel-active-listings: true
reclaim-admin-removed-items: true
cleanup-claimed-after-days: 30
listing-limits:
default: 5
permissions:
- permission: "premiumah.limit.10"
amount: 10
- permission: "premiumah.limit.25"
amount: 25
- permission: "premiumah.limit.50"
amount: 50
item-restrictions:
mode: "BLACKLIST"
materials:
- BEDROCK
- BARRIER
- COMMAND_BLOCK
- CHAIN_COMMAND_BLOCK
- REPEATING_COMMAND_BLOCK
- STRUCTURE_BLOCK
- STRUCTURE_VOID
- JIGSAW
- DEBUG_STICK
claims:
buyer-full-inventory-action: "CLAIM"
seller-payment-action: "INSTANT"
sounds:
enabled: true
open: "BLOCK_CHEST_OPEN"
click: "UI_BUTTON_CLICK"
success: "ENTITY_PLAYER_LEVELUP"
fail: "ENTITY_VILLAGER_NO"
gui:
filler:
enabled: true
material: "BROWN_STAINED_GLASS_PANE"
name: " "
titles:
main: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ &#D4AF37&lᴀᴜᴄᴛɪᴏɴs"
browse: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ <#D4AF37>Auctions <#7A4A2A>• Page {page}"
my-listings: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ <#D4AF37>My Listings <#7A4A2A>• Page {page}"
claims: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ <#B9C63F>Claims <#7A4A2A>• Page {page}"
sell: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ <#D4AF37>Create Listing"
confirm-buy: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ <#D4AF37>Confirm Purchase"
admin: "&#3A2416&lᴅ&#4A2D1B&lɪ&#5A351F&lʀ&#6A3F24&lᴛ <#C1432E>Admin <#7A4A2A>• Page {page}"
size:
main: 45
browse: 54
my-listings: 54
claims: 54
sell: 54
confirm-buy: 27
listing-slots:
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 28
- 29
- 30
- 31
- 32
- 33
- 34
buttons:
browse:
material: "CHEST"
name: "<#D4AF37>Browse Auctions"
lore:
- "<#C7BCA8>View every active listing."
- "<#B9C63F>Click to browse."
sell:
material: "EMERALD"
name: "<#B9C63F>Sell Held Item"
lore:
- "<#C7BCA8>Create a listing from your hand."
- "<#D4AF37>GUI flow with price confirmation."
my-listings:
material: "BOOK"
name: "<#A8873F>My Listings"
lore:
- "<#C7BCA8>Manage your active listings."
claims:
material: "ENDER_CHEST"
name: "<#B9C63F>Claims"
lore:
- "<#C7BCA8>Reclaim expired or undelivered items."
admin:
material: "ANVIL"
name: "<#C1432E>Admin Panel"
lore:
- "<#C7BCA8>Moderate active listings."
close:
material: "BARRIER"
name: "<#C1432E>Close"
back:
material: "ARROW"
name: "<#D4AF37>Back"
next:
material: "SPECTRAL_ARROW"
name: "<#B9C63F>Next Page"
previous:
material: "ARROW"
name: "<#D4AF37>Previous Page"
sort:
material: "HOPPER"
name: "<#A8873F>Sort: <#D4AF37>{sort}"
lore:
- "<#C7BCA8>Click to rotate sorting."
filter:
material: "COMPASS"
name: "<#A8873F>Filter: <#D4AF37>{filter}"
lore:
- "<#C7BCA8>Shift-click a listing to filter."
- "<#C7BCA8>Right-click to clear filter."
confirm:
material: "LIME_STAINED_GLASS_PANE"
name: "<#B9C63F>Confirm"
cancel:
material: "RED_STAINED_GLASS_PANE"
name: "<#C1432E>Cancel"
+65
View File
@@ -0,0 +1,65 @@
messages:
no-permission: "{prefix} <#C1432E>You do not have permission."
player-only: "{prefix} <#C1432E>Only players can use that."
economy-unavailable: "{prefix} <#C1432E>The auction economy is unavailable. Try again later."
no-item-in-hand: "{prefix} <#C1432E>Hold the item you want to list."
invalid-price: "{prefix} <#C1432E>Enter a valid positive price."
invalid-sort: "{prefix} <#C1432E>Use newest, oldest, lowest_price, or highest_price."
price-too-low: "{prefix} <#C1432E>The minimum listing price is <#D4AF37>{min}<#C1432E>."
price-too-high: "{prefix} <#C1432E>The maximum listing price is <#D4AF37>{max}<#C1432E>."
item-blocked: "{prefix} <#C1432E>That item cannot be listed."
listing-limit: "{prefix} <#C1432E>You have reached your active listing limit of <#D4AF37>{limit}<#C1432E>."
listing-created: "{prefix} <#B9C63F>Listed <#D4AF37>{item} <#B9C63F>for <#D4AF37>{price}<#B9C63F>."
listing-created-fee: "{prefix} <#B9C63F>Listed <#D4AF37>{item} <#B9C63F>for <#D4AF37>{price}<#B9C63F>. Fee charged: <#D4AF37>{fee}<#B9C63F>."
listing-cancelled: "{prefix} <#D4AF37>Your listing was cancelled and moved to claims."
listing-expired: "{prefix} <#D4AF37>A listing expired and was moved to your claims."
listing-removed-admin: "{prefix} <#D4AF37>Listing <#A8873F>{id} <#D4AF37>was removed."
listing-no-longer-available: "{prefix} <#C1432E>That listing is no longer available."
cannot-buy-own: "{prefix} <#C1432E>You cannot buy your own listing."
not-enough-money: "{prefix} <#C1432E>You need <#D4AF37>{price}<#C1432E> to buy this."
purchase-success: "{prefix} <#B9C63F>You bought <#D4AF37>{item} <#B9C63F>for <#D4AF37>{price}<#B9C63F>."
purchase-claim: "{prefix} <#B9C63F>Purchase complete. Your inventory was full, so the item was moved to claims."
sold-notify: "{prefix} <#B9C63F>Your listing sold to <#D4AF37>{buyer} <#B9C63F>for <#D4AF37>{price}<#B9C63F>."
inventory-full: "{prefix} <#C1432E>Your inventory is full."
item-reclaimed: "{prefix} <#B9C63F>Claimed <#D4AF37>{item}<#B9C63F>."
nothing-to-claim: "{prefix} <#D4AF37>You do not have anything to claim."
reload-complete: "{prefix} <#B9C63F>Configuration, messages, and SQLite storage were reloaded."
listing-not-found: "{prefix} <#C1432E>Listing not found."
admin-help: "{prefix} <#D4AF37>/ahadmin reload<#7A4A2A>, <#D4AF37>/ahadmin remove <id><#7A4A2A>, <#D4AF37>/ahadmin view <player><#7A4A2A>, <#D4AF37>/ahadmin forceexpire <id>"
price-prompt: "{prefix} <#D4AF37>Type the listing price in chat. Type <#B9C63F>cancel <#D4AF37>to stop."
price-prompt-cancelled: "{prefix} <#D4AF37>Listing price entry cancelled."
price-prompt-timeout: "{prefix} <#C1432E>Listing price entry timed out."
price-set: "{prefix} <#B9C63F>Price set to <#D4AF37>{price}<#B9C63F>."
usage-sell: "{prefix} <#D4AF37>Usage: /ah sell <price>"
storage-save-failed: "{prefix} <#C1432E>Storage could not be saved. Check console."
seller-paid-claim: "{prefix} <#B9C63F>Your sale funds were moved to claims."
gui-lore:
listing:
- "<#7A4A2A>Seller: <#C7BCA8>{seller}"
- "<#7A4A2A>Price: <#B9C63F>{price}"
- "<#7A4A2A>Remaining: <#D4AF37>{remaining}"
- "<#7A4A2A>ID: <#A8873F>{id}"
- ""
- "<#B9C63F>Click to inspect and buy."
- "<#C1432E>Admin right-click removes."
my-listing:
- "<#7A4A2A>Price: <#B9C63F>{price}"
- "<#7A4A2A>Remaining: <#D4AF37>{remaining}"
- "<#7A4A2A>ID: <#A8873F>{id}"
- ""
- "<#D4AF37>Click to cancel and reclaim."
claim:
- "<#7A4A2A>Reason: <#C7BCA8>{reason}"
- "<#7A4A2A>From Listing: <#A8873F>{id}"
- "<#7A4A2A>Added: <#D4AF37>{age} ago"
- ""
- "<#B9C63F>Click to claim."
confirm-buy:
- "<#7A4A2A>Seller: <#C7BCA8>{seller}"
- "<#7A4A2A>Price: <#B9C63F>{price}"
- "<#7A4A2A>ID: <#A8873F>{id}"
sell-item:
- "<#7A4A2A>Price: <#B9C63F>{price}"
- "<#7A4A2A>Fee: <#D4AF37>{fee}"
- ""
- "<#C7BCA8>Use Set Price, then Confirm."
+64
View File
@@ -0,0 +1,64 @@
name: DirtAuctions
version: 1.0.0
main: com.yourname.premiumah.PremiumAHPlugin
api-version: '1.21'
author: yourname
description: Premium GUI-first auction house for Paper SMP servers.
softdepend:
- Vault
- CMI
commands:
ah:
description: Open the Dirt Auctions GUI.
usage: /ah [browse|sell|listings|expired|claims|sort]
aliases:
- auctionhouse
- auctions
ahadmin:
description: Dirt Auctions administration.
usage: /ahadmin <reload|remove|view|forceexpire|help>
permissions:
premiumah.use:
description: Allows opening the auction house.
default: true
premiumah.sell:
description: Allows creating auction listings.
default: true
premiumah.buy:
description: Allows buying listings.
default: true
premiumah.listings:
description: Allows opening personal listings.
default: true
premiumah.expired:
description: Allows reclaiming expired and claimable items.
default: true
premiumah.admin:
description: Full Dirt Auctions administration.
default: op
children:
premiumah.admin.remove: true
premiumah.admin.reload: true
premiumah.admin.view: true
premiumah.admin.forceexpire: true
premiumah.admin.remove:
description: Allows removing listings.
default: op
premiumah.admin.reload:
description: Allows reloading Dirt Auctions.
default: op
premiumah.admin.view:
description: Allows viewing player listings.
default: op
premiumah.admin.forceexpire:
description: Allows expiring listings.
default: op
premiumah.bypass.restrictions:
description: Bypass configured item and price restrictions.
default: op
premiumah.bypass.fees:
description: Bypass listing fees.
default: op
premiumah.bypass.tax:
description: Bypass sales tax.
default: op