Premium Shop - a simple, intuitive shop plugin [Paid]

Discussion in 'Resource Discussion' started by SnowGears, Jul 19, 2015.

  1. Yes, sorry. The API that I used for this has been abandoned by its developer. I am working on a fix for this.
     
  2. Hello, I may have asked before but can't see it. Can we sell map art using this plug in?
     
  3. It's not abandoned. I didn't know it needed an update. I'll get that updated some time today ^_^ Just double checked it, and it doesn't need an update still. NMS is still on 1_12_R1 which I updated on BitBucket back in July of last year (after your last update to this plugin).

    I even posted a temp fix for users of this Shop resource at that time https://www.spigotmc.org/threads/shop-a-simple-intuitive-shop-plugin-paid.79064/page-95#post-2522967
     
    #2083 BillyGalbreath, Jan 12, 2018
    Last edited: Jan 12, 2018
    • Like Like x 1
  4. Ah, sorry.

    I didn't mean to call you out publicly on that. ;)
    Would you mind hosting it on a repo that is accessible through maven? It can get annoying cloning the project into my local, setting it up with maven, and then using that on every machine to build on. Or if there is a better way maybe I'm missing something?
     
  5. I'm really interested in this plug in if it's capable of selling map art through it. @SnowGears
     
  6. Dieses Geschäft bietet derzeit 9 zusätzliche Traktion ehat permission for normal player ?
     
  7. this shop is currently able to provide 9 more traction pleace help normal player can not buy
     
  8. Sure. My last maven server went down and I just never got around to setting my new one up for this. It requires running BuildTools due to the nature of it all :3 I'll go ahead and get that setup now and post a link when it's ready ^_^

    Edit: Ok, it's all setup and ready for use \o/

    Code (Text):

    <dependencies>
        <dependency>
            <groupId>net.pl3x.bukkit.chatapi</groupId>
            <artifactId>ChatComponentAPI</artifactId>
            <version>1.12</version>
            <scope>compile</scope>
        </dependency>
    </dependencies>
    <repositories>
        <repository>
            <id>pl3x-repo</id>
            <url>http://pl3x.net/jenkins/plugin/repository/everything/</url>
        </repository>
    </repositories>
    More details are in the official thread about in case you need the shading bits again. https://www.spigotmc.org/threads/chatcomponent-api-for-craftbukkit-cb-1-8-1-12-1.158879/
     
    #2088 BillyGalbreath, Jan 13, 2018
    Last edited: Jan 13, 2018
    • Useful Useful x 1
  9. how made it i can buy in shop when i owner and admin normal player not can buy
     
  10. Wow, awesome! Thanks a lot!
     
  11. how made it i can buy in shop when i owner and admin normal player not can buy how can i fix it
     
  12. Ok let me specify, can we sell maps using this plug in? I'm not talking about empty maps. I want to sell used maps. I'm not sure why I'm being ignored, so I wanted to elaborate.
     
  13. normal player can not buy
     
  14. How this plugin works is it will sell whatever is inside the chest. So, if you setup a shop that sells map items, then it will sell map items that are inside the chest. It will cycle through them from the top let slot going right then down to next row, etc. So, if you want to sell a certain art/map then stock the chest with that map item.

    Note, some items will not work this way because they have special hard coded cases which were found to be more common situations. Like selling enchanted items/books, monster eggs, etc. These will actually store the NBT data in the config for the shop and will only sell that specific item that fully matches that NBT. Any other items in the chest will simply not sell. So for example, if I make a shop using a diamond sword with sharpness 5 and then stock it with diamond swords with sharpness 4, none of those will sell and the shop will report it as out of stock.

    Here is some sample data from two shops I made:
    Code (Text):
    shops:
      BillyGalbreath (0b54d4f1-8ce9-46b3-a723-4ffdeeae3d7d):
        '1':
          location: world,-228,72,15
          price: 1.0
          amount: 1
          type: sell
          displayType: LARGE_ITEM
          item:
            ==: org.bukkit.inventory.ItemStack
            type: MAP
        '2':
          location: world,-228,72,17
          price: 100.0
          amount: 1
          type: sell
          item:
            ==: org.bukkit.inventory.ItemStack
            type: DIAMOND_SWORD
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              enchants:
                DAMAGE_ALL: 5
              repair-cost: 1
    Notice the first shop is a map shop. I created it using a filled map of the surrounding area, but it doesnt store any specific data/nbt about that. This means it will sell any map item I put in it (as long as the map isn't an EMPTY_MAP item). The second shop is a shop selling a diamond sword with sharpness 5 enchantment. The nbt of the enchantment (the meta stuff) is stored so only diamond swords with exact matching enchantments will sell.

    Another thing to notice is the repair cost of the sword is also saved. This means I cannot sell diamond swords with sharpness 5 from this shop if the repair cost is not the same (so, finding a matching sword in a loot chest (repair cost 0), or repairing a sword (repair cost 2+), etc, will change this value and will not let that sword be sold). I do believe this is being fixed in the next release (correct me if I'm wrong @SnowGears) so that shops will ignore repair cost tags.

    I hope that helps clarify. ^_^
     
    • Like Like x 1
  15. PhanaticD

    Patron

  16. Looks like hacked client doing some nasties with skull nbt data in the creative menu.
     
  17. PhanaticD

    Patron

    u sure? i would think its just the GUI loading the skull for menu icons on the main thread
     
  18. No, not sure. I disabled both the GUI and the creative inventory due to the nature of them being so easily exploitable from malicious end users. The stack does look similar to the creative skull exploit, though, which is why I am assuming so.