AuctionHouse-Legacy 2.0.8

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 2.0.8

    [​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 with cap
    • Set min and max prices
    • 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
    • Set cooldown between listings
    • This legacy version specifically supports Minecraft 1.12.2
    Video:


    Thanks to Viktor over at server.pro for the 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
    #
    # this is the locale to use (requires xx_xx.json file)
    locale: en_us
    # disabling this disables Meta for max listings
    chatHook: true
    # this is the format for currency display
    decimal_format: '#,##0.00'
    # enabling this will check for hacked menu items in other inventories
    strict: false
    # this is how often the menus should update (20 = 1 second)
    updateTicks: 20

    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
      action_bar: false
      discord: false
      discord_channel: 'auctionhouse'
      multiworld: false
      groupWorlds: false
      replaceUUIDs: false
      replacePlayerNames: false
      dropAtFeet: false
      showSeconds: true

    announce:
      chat:
        listings: true
        purchases: true
      action_bar:
        listings: false
        purchases: 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: 24
     

    DiscordSRV Support:
    This plugin currently supports DiscordSRV 1.18+ integration. To configure for DiscordSRV, you need to set discord: true in the config.yml and set the discord_channel: 'auctionhouse', where auctionhouse represents the in-game channel name you will configured in DiscordSRV's config.yml.
    Usually this can be achieved by adding an additional entry into the Channels: section of DiscordSRV's config.yml using the same numeric channel as the global one. It might look something like the following with the actual number matching what is given in Discord.
    Code (Text):

    # Channel links from game to Discord
    # syntax is Channels: {"in-game channel name": "numerical channel ID from Discord", "another in-game channel name": "another numerical channel ID from Discord"}
    # The first channel pair specified in this config option will be the "main" channel, used for sending player joins/quits/deaths/achievements/etc
    #
    Channels: {"global": "123456789012345678", "auctionhouse": "123456789012345678"}
     

    Known Issues:
    • There is no support for drag-and-drop of items.
    • There is no external database support - it uses SQLite.
    • 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 Spigot version 1.12.2. Features may break if used with other versions of Spigot than intended.
    Ethon6, eUipKh and TiroZit like this.

Recent Updates

  1. Bug Fixes
  2. Bug Fix for Menu Mode
  3. Small Bug Fixes

Recent Reviews

  1. HeavenCrafter
    HeavenCrafter
    5/5,
    Version: 2.0.8
    This has by far been one of the most impressive fork/remake of the original. DiscordSRV support, active in development and bug fixes. And, ITS FREE. What more could you possibly need out of a plugin?
    1. klugemonkey
      Author's Response
      its not a fork of the original, but a fork of the 1.13+ version that is a completely new code base developed using same concept and look and feel...
  2. MTC
    MTC
    5/5,
    Version: 2.0.5
    Just wanted to say thank you for keeping this version up to date! Very cool pal keep it up :D
  3. xNekio
    xNekio
    5/5,
    Version: 1.9.1
    Recommend this auction house, very optimized and author always try ti help you, such an amazing support :)
  4. conpopKR
    conpopKR
    5/5,
    Version: 1.8.17
    Please check to Error
    [17:58:59] [Server thread/INFO]: [AuctionHouse] Disabling AuctionHouse v1.8.17
    [17:58:59] [Server thread/ERROR]: Error occurred while disabling AuctionHouse v1.8.17 (Is it up to date?)
    java.lang.NullPointerException: null
    at com.spawnchunk.auctionhouse.AuctionHouse.onDisable(AuctionHouse.java:176) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:266) ~[JavaPlugin.class:git-CatServer-1.12.2-fa590fd]
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:352) [JavaPluginLoader.class:git-CatServer-1.12.2-fa590fd]
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:422) [SimplePluginManager.class:git-CatServer-1.12.2-fa590fd]
    at com.spawnchunk.auctionhouse.AuctionHouse.onEnable(AuctionHouse.java:131) [AuctionHouse-Legacy-1.8.17.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [JavaPlugin.class:git-CatServer-1.12.2-fa590fd]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:328) [JavaPluginLoader.class:git-CatServer-1.12.2-fa590fd]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [SimplePluginManager.class:git-CatServer-1.12.2-fa590fd]
    at com.rylinaux.plugman.util.PluginUtil.load(PluginUtil.java:366) [PlugMan.jar:?]
    at com.rylinaux.plugman.command.LoadCommand.execute(LoadCommand.java:114) [PlugMan.jar:?]
    at com.rylinaux.plugman.PlugManCommandHandler.onCommand(PlugManCommandHandler.java:95) [PlugMan.jar:?]
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [PluginCommand.class:git-CatServer-1.12.2-fa590fd]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:142) [SimpleCommandMap.class:git-CatServer-1.12.2-fa590fd]
    at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:706) [CraftServer.class:git-CatServer-1.12.2-fa590fd]
    at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1593) [pa.class:?]
    at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1438) [pa.class:?]
    at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
    at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
    at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_211]
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_211]
    at net.minecraft.util.Util.func_181617_a(Util.java:50) [h.class:?]
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:841) [MinecraftServer.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472) [nz.class:?]
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:778) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:632) [MinecraftServer.class:?]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_211]
    1. klugemonkey
      Author's Response
      Yeh, I'm not even going to address this. This is not the place to post an error log. Post it in the Discussion.
  5. DenisSmalik
    DenisSmalik
    5/5,
    Version: 1.8.13
    Good plugin, but I don't understand how to prohibit the sale of enchanted golden apples in an auction, have already tried everything.
    1. klugemonkey
      Author's Response
      Should just be able to add into the blacklist in the config.yml.
  6. 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.
  7. 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.
  8. 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.
  9. 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!"
  10. TiroZit
    TiroZit
    5/5,
    Version: 1.6.6
    The best plugin among the same alternatives.
    ...................................