AuctionHouse-Legacy 1.8.13

An AuctionHouse plugin for 1.12.2 with a familiar interface

  1. klugemonkey
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.12
    for the 1.13.x/1.14.x version click here: https://www.spigotmc.org/resources/auctionhouse.61836/
    for the 1.8.8 version click here: https://www.spigotmc.org/resources/auctionhouse-retro.69278/

    AuctionHouse-Legacy 1.8.13

    [​IMG]

    Overview:

    AuctionHouse allows players to list items for sale on an auction house accessible with the /ah command. The plugin is new code and only shares a similar look and feel as the inactive plugin resource AuctionHouse.

    [​IMG]

    Features:

    • FREE!
    • List items in the auction house
    • View items matching a search filter based on name, type, lore, enchants, or seller
    • Sort chronologically or by price
    • Show items you are selling
    • Cancel items
    • Collect cancelled/expired items
    • Drop unclaimed items at player's feet
    • Automatically clean up abandoned items
    • Show and clear recently sold items
    • Hover over item to show time remaining and enchants
    • Charge a flat and/or percentage based fee for listing an item (with confirmation menu)
    • Tax sellers a percentage of revenue for each sale
    • Blacklist items by name, type, lore, enchants, damage and unbreakable flag
    • Wildcard blacklisting of all items/blocks by omitting the item type and specifying lore, or enchants (can ban selling soulbound and cursed items)
    • Regex blacklisting on item names with regex:<expr>
    • Optional Back/Exit button calls a command to return to another menu
    • Click on a special sign to open the auction house
    • Click on certain named block entities to open the auction house (chests, shulker boxes, dispensers, droppers, hoppers, furnaces, enchanting tables, brewing stands)
    • Click on custom named entities to open the auction house
    • Console command support for custom menu and NPC plugins
    • Internationalization Support
    • Customize messages, button materials and sounds
    • Support for HeadDatabase heads as buttons with hdb:<id>
    • Support for custom skull textures as buttons with texture:<base64 data>
    • Supports player head for the player listings button with auctionhouse player_head
    • Logging all transactions to separate log file
    • Announce listings to all players
    • Discord integration
    • Rewriting of String UUIDs in NBT (Seller -> Buyer)
    • Multi-world support with simple world grouping
    • This legacy version specifically supports Minecraft 1.12.2
    Video:



    Commands:
    /ah reload - reloads the auctionhouse configuration
    /ah - open the auction house
    /ah <player> - open the auction house for a player (console only)
    /ah menu - open the auction house in menu mode
    /ah menu <player> - open the auction house in menu mode for a player (console only)
    /ah search <filter> - view items matching search filter
    /ah help - show help for all the commands
    /ah sell <price> - sell the item you are holding in hand
    /ah selling - view the items you are selling
    /ah sold - view the items you have sold recently
    /ah expired - view your expired items to return
    /ah cancel - cancel all your auctions
    /ah return - return all your cancelled/expired items
    Permissions:
    auctionhouse.reload - enables reloading the plugin
    auctionhouse.use - enables /ah command
    auctionhouse.menu - enables /ah menu command
    auctionhouse.search - enables /ah search command
    auctionhouse.help - enables /ah help command
    auctionhouse.sell - enables /ah sell command
    auctionhouse.selling - enables /ah selling command
    auctionhouse.sold - enables /ah sold command
    auctionhouse.expired - enables /ah expired command
    auctionhouse.cancel - enables /ah cancel command
    auctionhouse.return - enables /ah return command
    auctionhouse.cancel.others - enables cancelling other's auctions
    auctionhouse.auctions.# - sets maximum listings

    *Note: the plugin will take the maximum set value of the setting in the config.yml, permissions and meta.
    Meta:
    auctions - sets the number of auctions a player can list​

    To use meta, you need to have a compatible permissions plugin that supports setting and removal of meta such as PermissionsEx or LuckPerms.

    For PermissionsEx use:
    /pex user <user> set auctions <value>
    /pex group <group> set auctions <value>
    For LuckPerms use:
    /lp user <user> meta set auctions <value>
    /lp group <group> meta set auctions <value>

    For GroupManager use:
    /manuaddv <user> auctions <value>
    /mangaddv <group> auctions <value>

    Configuration:
    Code (Text):

    #
    # AuctionHouse config.yml
    #
    locale: en_us
    chatHook: true
    decimal_format: '#,##0.00'
    strict: false

    auction:
      listingPrice: 0.0
      listingRate: 0.0
      # listingDuration is how long an item can be listed
      listingDuration: 7d0h0m
      # expiredDuratin is how long an item shows as expired
      expiredDuration: 14d0h0m
      # unclaimedDuration is how long an item will be kept
      # it will try to return unclaimed items automatically
      unclaimedDuration: 90d0h0m
      # cleanupDuration is how often items will be destroyed
      # once they are past the unclaimedDuration
      cleanupDuration: 0d24h0m
      # soldDuration is how long sold items will be kept
      soldDuration: 365d0h0m
      preventCreative: true
      preventSpectator: true
      maxSellPrice: 100000.00
      salesTax: 0.0
      allowDamagedItems: false
      defaultMaxListings: 45
      sortOrder: 'oldest'
      announce: false
      discord: false
      discord_channel: 'auctionhouse'
      multiworld: false
      groupWorlds: false
      replaceUUIDs: false
      replacePlayerNames: false
      dropAtFeet: false

    blacklist:
    0:
      item: 'BEDROCK'
    1:
      item: 'BARRIER'
    2:
      item: 'COMMAND'
    3:
      item: 'STRUCTURE_BLOCK'
    4:
      item: EGG
      unbreakable: true
    5:
      item: IRON_SWORD
      damage: 1
    example:
      name: '\u00a7cVorpal Sword'
      item: 'DIAMOND_SWORD'
      lore:
        - 'Special Item'
        - 'Does not list in AuctionHouse'
      enchantments:
        - {ench: 'SHARPNESS', level: 10}
        - {ench: 'UNBREAKING', level: 3}
        - {ench: 'LOOTING', level: 3}
        - {ench: 'FIRE_ASPECT', level: 2}

    sounds:
      click: 'ui.button.click'
      fail: 'entity.villager.no'
      drop: 'entity.player.burp'

    buttons:
      exit: 'TEXTURE:eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTI5NDg4MWYzMzQwOGU4OTY0ZDI1NWZkOGViMjFhZTY5ODhiMmNjYTg5OTRkMTU3OTk5NmE2ZjEzMmJjNDI5YyJ9fX0=\'
      back: 'IRON_DOOR'
      previous: 'PAPER'
      sort_listings: 'DOUBLE_PLANT'
      next: 'PAPER'
      info: 'BOOK'
      howto: 'EMERALD'
      return_all: 'FLOWER_POT'
      player_listings: 'PLAYER_HEAD'
      expired_listings: 'POISONOUS_POTATO'
      sold_items: 'GOLD_INGOT'
      clear: 'BARRIER'
      confirm: 'STAINED_GLASS_PANE:5'
      cancel: 'STAINED_GLASS_PANE:14'

    triggers:
      sign: '[AuctionHouse]'
      block_name: 'Auction House'
      entity_name: 'Auction House'

    commands:
      exit: msg %player% Exiting AuctionHouse

    log:
      listed: true
      sold: true
      cancelled: true
      returned: true
      dropped: true
      purged: true

    disabled-worlds: []

    configVersion: 16
     

    Known Issues:
    • There is no support for drag-and-drop of items.
    • There is no database support
    • Users should supply localized translation files
    • Per user maximum listings are not supported by all permissions plugins, and may require additional configuration
    Dependencies:
    • Vault (version 1.5+)
    • An appropriate Economy Plugin
    • An appropriate Permissions Plugin
    Terms of Service:
    The plugin is provided AS-IS.

    Please report all issues by starting a conversation. If you post in the discussion forum, it may get overlooked as we are getting more discussion now.

    Disclaimer:
    This plugin currently supports version 1.12.2. Features may break if used with other versions of Minecraft than intended.

    [​IMG]
    It takes a lot of tasty coffee to keep cranking out quality code.
    Please donate if you like my plugins...
    Ethon6, eUipKh and TiroZit like this.

Recent Updates

  1. Bug Fix
  2. Feature Parity Release (Beta 1)
  3. Fix Regression Issue

Recent Reviews

  1. LWJErri
    LWJErri
    5/5,
    Version: 1.8.13
    Great plugin!

    If I have in config.yml is the default value of 25 items, then to give the higher rank the more items I need to give him the right

    auctionhouse.56.VIP or auctionhouse.56.# or auctionhouse.VIP.56?
    1. klugemonkey
      Author's Response
      Changed in the latest 1.8.x release. It gets the highest of all the values in config.yml, permissions or meta. So if you set config.yml to 25 items, you would set either a player or group permission for auctionhouse.auctions.56.
  2. ClaytonLegend
    ClaytonLegend
    3/5,
    Version: 1.7.15a
    [18:12:54] [Server thread/INFO]: Leonardo issued server command: /ah sell 5000
    [18:12:54] [Server thread/ERROR]: null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ah' in plugin AuctionHouse v1.7.15a
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:641) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1385) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1220) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_222]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_222]
    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot.jar:git-Spigot-596221b-9a1fc1e]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222]
    Caused by: java.lang.NoSuchMethodError: net.md_5.bungee.api.chat.ComponentBuilder.append([Lnet/md_5/bungee/api/chat/BaseComponent;)Lnet/md_5/bungee/api/chat/ComponentBuilder;
    at com.spawnchunk.auctionhouse.util.MessageUtil.translateItem(MessageUtil.java:129) ~[?:?]
    at com.spawnchunk.auctionhouse.util.MessageUtil.sendMessage(MessageUtil.java:105) ~[?:?]
    at com.spawnchunk.auctionhouse.modules.Auctions.completeListing(Auctions.java:438) ~[?:?]
    at com.spawnchunk.auctionhouse.modules.Auctions.sellItemInHand(Auctions.java:409) ~[?:?]
    at com.spawnchunk.auctionhouse.commands.AHCommand.onCommand(AHCommand.java:187) ~[?:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-596221b-9a1fc1e]
    ... 15 more
    1. klugemonkey
      Author's Response
      Please report any issues in the discussion forum or start a conversation directly. Updating to a more recent build of Spigot 1.12.2 would solve this issue, or use the latest 1.7.17a build with legacy support for client-side translations.
  3. TG_Vulcano
    TG_Vulcano
    5/5,
    Version: 1.7.15
    1. klugemonkey
      Author's Response
      Please report any issues in the discussion forum or start a conversation directly. Updating to a more recent build of Spigot 1.12.2 would solve this issue, or use the latest 1.7.17a build with legacy support for client-side translations.
  4. nate9790
    nate9790
    5/5,
    Version: 1.7.3
    works seemingly perfect for 1.12.2, considering the alternatives mainly only premium for free!
    1. klugemonkey
      Author's Response
      "Blows the competition out of the water!"
  5. TiroZit
    TiroZit
    5/5,
    Version: 1.6.6
    The best plugin among the same alternatives.
    ...................................
  6. Nostra
    Nostra
    5/5,
    Version: 1.6.5
    omg this plugin perfect for 1.12.2 ty very a ton of time i lov you hell yea :-)
  7. Gida
    Gida
    5/5,
    Version: 1.5.4a
    Good plugin, but server restart will delete the database. PaperSpigot 1.12.2. _
    1. klugemonkey
      Author's Response
      Fixed in the updated beta 1.5.4b version.
  8. Ethon6
    Ethon6
    5/5,
    Version: 1.5.4a
    Woooh nice :) Plz update to 1.14 :) This same like General Shop. Okey that better than this, but this free, and have same features.
    1. klugemonkey
      Author's Response
      AuctionHouse-Legacy is a back-port of the AuctionHouse plugin for 1.12.2. Please use the AuctionHouse plugin for support on 1.13.2 and 1.14.