AuctionHouse-Legacy 2.1.7

An AuctionHouse plugin for 1.9.4 - 1.12.2 with a familiar interface

  1. klugemonkey
    Native Minecraft Version:
    Legacy (< 1.13)
    Tested Minecraft Versions:
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    for the 1.13.2+ 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.1.7

    [​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!
    • Sell items in the auction house
    • List server items in the auction house (one-time or unlimited)
    • 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
    • Restrict items by name, type, lore, enchants, damage and unbreakable flag
    • Restrict wildcard items/blocks by omitting the item type and specifying lore, or enchants (can ban selling soulbound and cursed items)
    • Restrict item names using Regex 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.9.4, 1.10.2, 1.11.2 and 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 list <price> [count] - list the item as server
    /ah ulist <price> [count] - list the item as server with unlimited buying
    /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 (default: true)
    auctionhouse.menu - enables /ah menu command
    auctionhouse.search - enables /ah search command (default: true)
    auctionhouse.help - enables /ah help command (default: true)
    auctionhouse.sell - enables /ah sell command (default: true)
    auctionhouse.list - enables /ah list command
    auctionhouse.ulist - enables /ah ulist command
    auctionhouse.selling - enables /ah selling command (default: true)
    auctionhouse.sold - enables /ah sold command (default: true)
    auctionhouse.expired - enables /ah expired command (default: true)
    auctionhouse.cancel - enables /ah cancel command (default: true)
    auctionhouse.return - enables /ah return command (default: true)
    auctionhouse.cancel.others - enables cancelling other's auctions
    auctionhouse.trigger.block - enables block triggers for menu
    auctionhouse.trigger.entity - enables entity triggers for menu
    auctionhouse.trigger.sign - enables sign triggers for menu
    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_version: 29
    locale: en_us
    decimal_format: "#,##0.00"
    strict: false
    economy: vault
    chatHook: true
    updateTicks: 20

    auction:
      listingPrice: 0.00
      listingRate: 0.00
      listingCooldown: 0d0h0m0s
      listingDuration: 7d0h0m
      expiredDuration: 14d0h0m
      unclaimedDuration: 90d0h0m
      cleanupDuration: 0d24h0m
      soldDuration: 365d0h0m
      unclaimedCheckDuration: 0d0h5m
      unclaimedCheckOnWorldChange: true
      preventCreative: true
      preventSpectator: true
      minSellPrice: 0.00
      maxSellPrice: 100000.00
      salesTax: 0.00
      maxSalesTax: 100000.00
      allowDamagedItems: false
      defaultMaxListings: 5
      # oldest, newest, highest_price, lowest_price
      sortOrder: 'oldest'
      announce: false
      action_bar: true
      discord: false
      discord_channel: 'auctionhouse'
      multiworld: false
      groupWorlds: false
      replaceUUIDs: false
      replacePlayerNames: false
      dropAtFeet: false
      showSeconds: true
      spawnerInfo: true
      integerPrice: false
      showRepairCost: true

    announce:
      chat:
        listings: true
        purchases: true
      action_bar:
        listings: false
        purchases: false

    restricted_items:
      0:
        item: 'BEDROCK'
      1:
        item: 'BARRIER'
      2:
        item: 'COMMAND'
      example:
        name: '\u00a7cVorpal Sword'
        item: 'DIAMOND_SWORD'
        lore:
          - 'Special Item'
          - 'Does not list in AuctionHouse'
        enchantments:
          - {ench: 'DAMAGE_ALL', level: 10}
          - {ench: 'DURABILITY', level: 3}
          - {ench: 'LOOT_BONUS_MOBS', level: 3}
          - {ench: 'FIRE_ASPECT', level: 2}
        unbreakable: true
    sounds:
      click: 'ui.button.click'
      fail: 'entity.villager.no'
      drop: 'entity.player.burp'
      sold: 'block.note.pling'

    buttons:
      exit: 'IRON_DOOR'
      back: 'IRON_DOOR'
      previous: 'PAPER'
      sort_listings: 'DOUBLE_PLANT'
      next: 'PAPER'
      info: 'BOOK'
      howto: 'EMERALD'
      return_all: 'FLOWER_POT'
      player_listings: 'DIAMOND'
      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: []
     

    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. Placeholder Support
  3. Bug Fixes

Recent Reviews

  1. TheViNaiDexYT
    TheViNaiDexYT
    5/5,
    Version: 2.1-rc6
    Coolest plugin I've seen! By the way, is there a Russian translation? I probably just looked badly :(
  2. AZFire
    AZFire
    5/5,
    Version: 2.1-rc4
    Very very cool. I found this plugin being used by SkyCade and was interested in what it was. I did some research and found it, it's much better than CrazyAuctions. I'm glad I found it when I did :)
  3. Arkhnen
    Arkhnen
    5/5,
    Version: 2.1-rc3
    klugemonkey not only created a perfect auction plugin but also takes a lot of his time to listen to it's users, take feedback, add requested features and keep support for older versions of Minecraft. Big thanks man!
  4. Ruizox
    Ruizox
    5/5,
    Version: 2.0.8
    Great plugin!
    Amazing free auction house plugin, it's simple, efficient and very useful.
  5. 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
  6. 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 :)
  7. 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.
  8. 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.
  9. 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.
  10. 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.