Bukkit AuctionHouse 1.7.12

An AuctionHouse plugin with a familiar interface.

  1. klugemonkey updated AuctionHouse with a new update entry:

    New Features!

    Read the rest of this update entry...
     
  2. Use the 1.3.1 version. Only change from the 1.3.0 was that listingDuration defaults were getting over written by the config upgrade and now it should work fine (default at 1 week).
     
    • Like Like x 1
  3. Would it be possible to let it tell us what was purchased?
    (without having to go into /ah and hover over the gold bar)

    " <player> purchased your market listing of . 16x iron ore, you've earned $5 "

    Screenshot 2018-12-07 at 17.40.35.png
     
  4. How can I make the newest stuff list first by default, for all players?
    Screenshot 2018-12-07 at 18.01.51.png
     
  5. Back with another question, we use plugin itemJoin that gives a netherstar that's our menu, it's an item they cannot move from their inventory and all that stuff, they shouldn't be able to sell it. however, when i test it, i can sell it.

    Code (Text):

    blacklist:
      '0':
        item: minecraft:bedrock
      '1':
        item: minecraft:barrier
      '2':
        item: minecraft:command_block
      '3':
        item: minecraft:structure_block
      '4':
        name: '&6 &4&l1MB &r&6Menu '
        item: minecraft:nether_star
        lore:
        - '&7 Right Click to open /menu '
        enchantments:
        - ench: minecraft:sharpness
          level: 10
        - ench: minecraft:unbreaking
          level: 4
        - ench: minecraft:looting
          level: 4
        - ench: minecraft:fire_aspect
          level: 4
    i used example: first, and tried to set it, but that didnt' work, then i assumed maybe i should make it item '4', but that didn't work.
    the below screenshot is how it's listed in the plugin itemJoin, and how it looks when you have in your inventory:
    Screenshot 2018-12-07 at 18.05.47.png
    Screenshot 2018-12-07 at 18.08.31.png

    Here's how i have it setup in the config of this plugin, but i can still sell it, what am i doing wrong? :)
    Screenshot 2018-12-07 at 18.06.51.png
     
  6. You can set the chronological=false in the config.yml.
     
  7. Hmm, might not be resolving & to a section symbol. Might have to put in the actual section symbol or \u00a7 ?
     
  8. Also, you probably want to remove the enchantments or it's not going to match
     
  9. Mmm... The enchantments listed in the config are part of the item we're blacklisting? I thought that was like an example on how to block certain enchantment books from being sold.
     
  10. Thank you!

    Will do!

    Will try this next..

    [back]

    Code (Text):

      '4':
        name: '§6 §4§l1MB §r§6Menu '
        item: minecraft:nether_star
        lore:
        - '§7 Right Click to open /menu '
    that worked.
    Ok next server restart ill include the update.
     
  11. klugemonkey updated AuctionHouse with a new update entry:

    Small Changes

    Read the rest of this update entry...
     
  12. OK, hopefully this last change for the day.
     
  13. Code (Text):

    [21:19:38 ERROR]: Could not pass event TabCompleteEvent to AuctionHouse v1.3.1
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.craftbukkit.v1_13_R2.CraftServer.tabComplete(CraftServer.java:1671) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.craftbukkit.v1_13_R2.command.BukkitCommandWrapper.getSuggestions(BukkitCommandWrapper.java:49) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:68) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:379) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:516) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PacketPlayInTabComplete.a(SourceFile:36) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PacketPlayInTabComplete.a(SourceFile:9) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
            at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
            at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at java.lang.Thread.run(Thread.java:834) [?:?]
    Caused by: java.lang.UnsupportedOperationException
            at java.util.AbstractList.add(AbstractList.java:153) ~[?:?]
            at java.util.AbstractList.add(AbstractList.java:111) ~[?:?]
            at com.spawnchunk.auctionhouse.listeners.CommandListener.onTabComplete(CommandListener.java:37) ~[?:?]
            at jdk.internal.reflect.GeneratedMethodAccessor214.invoke(Unknown Source) ~[?:?]
            at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
            at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            ... 19 more
    [21:19:38 ERROR]: Could not pass event TabCompleteEvent to AuctionHouse v1.3.1
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:308) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.craftbukkit.v1_13_R2.CraftServer.tabComplete(CraftServer.java:1671) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at org.bukkit.craftbukkit.v1_13_R2.command.BukkitCommandWrapper.getSuggestions(BukkitCommandWrapper.java:49) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at com.mojang.brigadier.tree.ArgumentCommandNode.listSuggestions(ArgumentCommandNode.java:68) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at com.mojang.brigadier.CommandDispatcher.getCompletionSuggestions(CommandDispatcher.java:379) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:516) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PacketPlayInTabComplete.a(SourceFile:36) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PacketPlayInTabComplete.a(SourceFile:9) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
            at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
            at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:900) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:835) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:733) [spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            at java.lang.Thread.run(Thread.java:834) [?:?]
    Caused by: java.lang.UnsupportedOperationException
            at java.util.AbstractList.add(AbstractList.java:153) ~[?:?]
            at java.util.AbstractList.add(AbstractList.java:111) ~[?:?]
            at com.spawnchunk.auctionhouse.listeners.CommandListener.onTabComplete(CommandListener.java:37) ~[?:?]
            at jdk.internal.reflect.GeneratedMethodAccessor214.invoke(Unknown Source) ~[?:?]
            at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
            at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) ~[spigot-1.13.2-java11.jar:git-Spigot-e769fe4-068dab5]
            ... 19 more
    Code (Text):

    >about
    [21:21:10 INFO]: This server is running CraftBukkit version git-Spigot-e769fe4-068dab5 (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT)
    [21:21:10 INFO]: You are running the latest version
    >about auctionhouse
    [21:21:12 INFO]: AuctionHouse version 1.3.1
    [21:21:12 INFO]: Author: klugemonkey
    sorry
     
  14. Whoops. Well, it only happens if you have reload perms at least. It's that problem with using Arrays.asList() being final when initializing a List of Strings. I'll post an update.
     
    • Informative Informative x 1
    • Friendly Friendly x 1
  15. Awesome updates!

    Perhaps a silly question, but is it possible to do two things?

    a.
    Display the prices without the .00 at the end? Some younger kids get confused and think it's super expensive, we never had the 'behind the decimal' showing so I wouldn't mind if it wasn't there.

    and
    b.
    Would it be possible to disallow say something for 15,50 to be sold, so they have to sell it for either 15 or 16, in other words; not allow cents


    Screenshot 2018-12-09 at 14.07.16.png
     
  16. Awesome, it's showing what someone purchased, thank you.
    Would it also be possible to have the chat say: You've listed 64x iron ingots for $50 on the auction house..

    Also, you see how the colors are $50 in &b?
    Screenshot 2018-12-09 at 14.21.47.png

    for the person who purchased it, the $ is missing and it's in red. Just fyi.

    Screenshot 2018-12-09 at 14.21.57.png

    could it tell the person who just bought it what they got too?
    You purchased 16 tropical fish for $50


    Another thing I noticed,
    I wanted to diff the two .json files, and noticed after the last update the json file for msgs was reset completely. All my customizations for the phrases are gone and i have to redo them. Did i goof up myself or does the plugin reset the msgs file on each startup or upgrade?
     
  17. Seems like mrfloris is giving you a nice feedback for a nice future plugin. Love it!
    So tired of the other AuctionHouse plugin that probably never will be updated..


    My question is - would it be possible to add like auctionhouse.sell.x for allowing player to only sell x amount of items in AH. Like; rank 1 - allow to sell 1 item. Rank 2 - allow to sell 2 items, etc.
     
  18. You can modify the permissions to auction.sell.[number] or auction.[number], its more easy to config permissions in game