Inactive [ECON] BetterShop 2.0 - A 'Better' Server-wide Shop - Spout compatible :) [1240]

Discussion in 'Inactive/Unsupported Plugins' started by jascotty2, Jul 6, 2011.

  1. Offline

    jascotty2

    BetterShop - The "better" global command-based shop
    Version: 2.0
    Download: (static jar) BetterShop.jar
    download page with older versions


    BetterShop is now primarily on BukkitDev

    (you can still come this forum for some help, though)


    this plugin (original concept) was first made by jjfs85 here
    however, he stopped development (that i know of) once i started

    Features:
    plugin support
    for economy, currently dependent on one of:
    Permissions support

    Help support

    configurable
    Fully configurable colors and message text in config.yml file
    shoplist can have text alignment (read config for more info): <item> <l(eft-aligned)> <buy and sell info>
    - uses minecraft font character spacing, so is very close to perfectly aligned in chat
    shoplist can optionally not show listing tail (or head, but recommended to leave <page> of <pages>)
    Items can be colored in the new itemsdb.yml file
    also in itemsdb.yml: kits!
    - define your own kits that the shop can sell
    - three examples provided, edit and add to your liking
    Configurable Options:
    -max pagesize when printing shoplist
    -whether to broadcast all transactions publicly
    -name of the pricelist file/table
    -customsort: a custom sorting order, so you can have items at the top of the shop list
    -allowbuyillegal: if someone without BetterShop.admin.illegal can buy illegal items
    -whether maxstack should be honored
    -if used tools can be bought back
    -default color for items
    - and more!

    shop flexibility
    shopcheck will run a name comparison check, and return all matching items
    Item sub-type support for dye colors, cloth colors, etc: magentacloth = 35:2 = cloth:magenta
    "all" is a valid amount when buying or selling: "/sell cobblestone all" or "/sell all cobblestone"
    damaged tools can be resold for an adjusted value of sellprice*(1-(damage/maxdamage))
    buystack can be given multiple items, or number of stacks: "/buystack wool 5" or "/buystack wool blackdye reddye"
    shopsellall can be given multiple items (/sell all cobble gravel flint dirt)
    plural-insensitive items: if not found, will check if plural & remove "s"
    not just items can be bought anymore: can now buy LivingEntities, like dogs (wolf)
    signs can be used for buying & selling
    - first line: [BetterShop] (not case-sensitive)
    - second line: action: buy [amt], buyall, buystack, sell [amt], sellall, sellstack
    - third line: item (name, id, etc)
    - fourth line: unused (was going to make price, but decided on pricecheck instead)
    - to activate, someone with BetterShop.admin.makesign must left-click the sign.. the first line will change color when active
    - left-click for price check (or activate), right-click to buy/sell
    - if a unauthorized player destroys a block a sign is on, is canceled
    item categories
    - can search for items by category (in shoplist)
    players using Spout (if installed & enabled) can use a GUI Menu for buying & selling
    - default button is 'b'
    - displays items in shop in top half
    - item detail below with # in stock, buy/sell price, & buttons to buy & sell
    - amount to buy/sell can be set in text box or with up/down buttons

    administration
    Every item and subtype can be priced differently
    Disable buying or selling of an item by giving it a price of -1 (0 makes it free)
    command aliases to stop carpal tunnel
    many commands have sub-aliases.. eg. shoplist kits will run shoplistkits
    MySQL pricelist support
    MySQL pricelist can be cached for a given timespan (decreases table selects) (flatfile is cached until manually updated)
    Transaction records (MySQL or flatfile as .csv)
    Downloads mysql-bin.jar dependency automatically
    buy/sell cap in program set to 999,999,999 (not that you'd be using that much, but the cap is to prevent other errors)
    if encounters errors while editing a player's account, will attempt to reload iConomy (i've had issuses with it before)(may remove in a future update.. seems to work better now)
    can backup the current pricelist: /shop backup
    can restore from backup: /shop restore <file>
    can import new prices in a batch from a csv (or old yml format) : /shop import <file>
    on start, can check the download page to see if there is an update available
    shop can be given a finite stock from which to buy & sell
    /shop ver[sion] to check the current version & see if there's an update
    /shop update to manually download & install the most recent version
    MinecraftIM support: forward errors or all messages
    checks for missing & unused configuration nodes
    strings have default values if missing
    auto error reporting added (can be disabled)
    custom message you can send with the error report
    help main page integration can be disabled
    global shop can be disabled & only allow signs to be used
    can use permissions to define discounts for certain users
    - uses nodes in "BetterShop.discount.xxxx"​
    - nodes defined in config under discountGroups​
    - ex: discountGroups:​
    VIP: 10 # gives 10% discount to players with BetterShop.discount.VIP​

    Version 2.0 - 9/24/11
    near-complete rewrite
    - more modular, should be easier to add new features
    added region-based shop support
    - just main shop for now
    - config modes:
    - - shop.commandShop: global
    - - - regions are areas where command-based shop access is disabled
    - - shop.commandShop: regions
    - - - globally disabled, except for within regions
    - - shop.commandShop: both
    - - - allows command-based shop access from anywhere
    - - shop.commandShop: none
    - - - cannot use commands (or spout) to use the shop
    - regions are defined by first selecting a region in worldguard
    - - after regions have been defined, can put the WorldEdit.jar in the lib folder
    now checks from 2 mirrors (still on git)
    - not really needed, but the code behind it looks cleaner
    finally adopted some license to support open development.
    - now the source is licenced under the GNU General Public License
    - http://www.gnu.org/licenses/gpl.txt
    added pages menu option (default) so spout scrolling goes by page, not column
    added a fix for a spout button error
    fixed a spout error where may show amount stock can sell, not buy
    added category switching (spout)
    - can use 'cycle' for a button to cycle through the categories (shows more per-page)
    - or use 'tabbed' for buttons at the top that can be selected
    chest shop interface added :D
    - to define a chest, point at the chest & type "/shop chest define"
    - automatically detects double-chests
    - multiple users can use the same chest shop
    - - each user gets a customized chest screen
    - - items in the display show either max stack, or max of that item the user can afford
    - setting for "chestSellBar", which allows selling to a chest which is full (without buying anything)
    tnt explosion cancelation settings for sign/chest shop added
    - should be more efficient than prior method
    commandlog format moved in config & added more formatting options
    updated Register methods (fixes iCo6 errors)
    added a rudimentary spell check routine
    - if an item name doesn't match at first, and there is 1 match for closeness, returns that item
    sign shop handling rewrote
    - should be more efficient
    - can now define custom prices for transactions
    - - 4th line contains cost, doen't have to just be a number
    - - - "1.23", "$1.23", "1.23 Dollars", "$1.23 total" are all acceptable
    - - for a given amount, define the total cost
    - - if using "sellall" or "buyall", define unit cost
    categories have been implemented in buy & sell
    - can sell all items in a category, or buy an amount of each item in a category
    - ex. "/sellall food"
    sign & chest shops are protected from endermenv (if shop.(sign & chest)DestroyProtection = true)
    sql routines updated for foreign locales

    Full changelog can be found in the readme on git

    Support development!
    if you really like this & don't want to see it go by the wayside, [​IMG]
    (i make no money maintaining plugins)
    if you can't donate, at least a "like" would help ;)
     
  2. Offline

    Pomme72

    OMG GUY. I'm LOVIN YOU <3
     
  3. Offline

    Giinger

    Why is it saying that I am missing a dependency? I have iConomy, is spoutcraft server mod needed?
     
  4. Offline

    superrawr

    No you're not missing anything. I'm getting the same error as well. I believe it is a problem with it detecting iConomy version 6.
     
  5. Offline

    Pomme72

  6. Offline

    ToitagL


    Yep, here too !
     
  7. Offline

    jascotty2

    the problem with the spout crashes is with spout itself
    i've put in a pull request to fix it, but no idea when will be fixed & released
     
  8. Offline

    superrawr

    jascotty2, I believe there's an issue with BetterShop detecting iConomy 6? It keeps telling me I'm missing a dependancy. I've talked to a few other people, and they're saying the same thing. Is this planned to be fixed soon?
     
  9. Offline

    WaffeSS

    Can you fix the bug below ???


    Eg:


    I bought 64 or only 1 "Iron Ingot" or any item in store, the first transaction don't loss my money, my money don't decrease, the same bug for selling, the first transaction don't give money to my account...

    Bug is, the first transaction made in shop for buy/sell dont decrease or increase money...

    only after the second transaction, the store receives or sends money to the player...
     
  10. Offline

    comwiz27

    i dont think that is it as i disabled Spout essentials and it still gave a unknown command message using 1240 and bettershop 2.0.5 spout essentials 3.7.1 so u might want to check on that ill see if i see any thing diffent but thats not exactly true from my testing
     
  11. Offline

    iliektnt

    can this be used to set different shops in different regions?

    also, any ideas on why it would go black screen with changing the shops 'page' when using the shop gui?
     
  12. Offline

    jascotty2

    that's the (eventual) intention, whenever i'm not too busy & get back to this :)

    no, not seen the gui go blank from changing the screen.. i'd assume a spoutcraft issue [creeper]
     
  13. Offline

    WhiteDragon

    what type of shop system is this? Is it a person to person shop or person to server?
     
  14. Offline

    Tubbytoad42

    The GUI doesn't work fully with the newest version of spout/spoutcraft. The list of items appears on the GUI but the details and buy/sell that normally appear at the bottom of the screen do not appear, it just remains blank.
     
  15. Offline

    skidookid22

    when r u updating this plugin
     
  16. Offline

    Chaznuts

    Love the plugin. My players and I use it on a daily basis. I worked out many of the problems myself, but there is one that I could not get to work correctly that has to do with items sharing the same main ID.

    Taking something like wood, for example. I can buy each different type of wood, no problem.. BUT if I attempt to buy, say, a birch log WHILE i already have a spruce log in my inventory, it will announce and charge me for a birch log BUT give me a spruce log. Works the same way for other things that use SubIDs.

    Most of the things are manageable.. they do not differ in prices too much, with exception to Lapis Lazuli. It is considered a dye, and while most dyes are cheap and plentiful, I configured Lapis to be more expensive, so I disabled Lapis from the shop completely for the time being.

    Also (for some reason) if you try to simply buy "wool" it announces there aren't enough in stock, but if you try to purchase "whitewool" (alias to wool), it works fine.. strange little glitches but they're there.

    Anyways, there are very few bugs in the plugin and I really enjoy it. Would be nice to get these minor glitches worked out. Thanks for your contribution! :D
     
  17. Offline

    Stephen92

    Says bettershop is missing a dependency, but I have iconomy 6.0.7?
     
  18. Offline

    Tquila

    If you have the buy error, update to the latest DEV build of Bukkit and it should work.
     
  19. Offline

    cocojustin

    when ever i type /shopbuy stone(or anyitems) or /shopbuy stone 64
    it says SHOP: [STONE] cannot be bought :'(
     
  20. Offline

    Thunder Peel

    From what I'm assuming, this + Spout gives shop an actual GUI, what I've been searching for.
    My question is, how do I get a shop GUI in-game?
    I have both this plug-in and Spout for my server.
    *EDIT*
    Nevermind, playing from a cracked account I can't use Spoutcraft to use the GUI.
     
  21. Offline

    TnT

    For the love of all that you hold holey, buy the damn game.
     
    jascotty2 likes this.
  22. Offline

    Schlumpf

    Please update this again and keep up development :/
    It's the best Shop Plugin here on Bukkit, please fix the Issues and update it! I would love you :)
     
  23. Offline

    Nick22

    When i try to buy an Eye of Ender it says "You tried to buy 1 too many... you7 can only hold 0 Eye of Ender more!". (My inventory was not filled.) What does this mean?
     
  24. Offline

    Schlumpf

    Please Update this awesome Plugin! Please!
    I really need it with the Spout feature :)
     
  25. Offline

    RebornSheep

    [​IMG]

    This is what i get when i open the GUI with Spoucraft
    I have just updated to the latest version.
     
    static829 likes this.
  26. Offline

    jascotty2

    well, sorry for the longer-than-anticipated absence from bukkit, but i'm back :)

    Version 2.1.0 (finally)
    • items & entities updated for 1.0 (craftbukkit 1597)
    • fixed a bug with added items sometimes registering -1 max
    • added discount selling options, but recommend leaving at default
    • removed bukkit command-based permissions.. user.* wasn't working
    • changed permissions error handling.. shouldn't spam more than one error for a nested command
      • - (and none for a usage lookup)
    • added option to replace econ with exp or total exp (which is used in enchantments)
    • removed ftp stats tracking snippet (added in 1.6.7)
    • fixed non-data items, like pistons..
    • fixed a new spout item gui display error (added an enable delay timer)
    • fixed an itemstack addition bug with data values
    • fixed sign buy/sell with categories
    • other bugfixes
     
  27. Offline

    ben1996123

    Works with CB1718, minecraft 1.1! :D
     
  28. Offline

    Dplayz187

  29. Offline

    rudedoggx

    Can I set it up so that you can only use the Spout interface in a specific region?
     
  30. Offline

    jascotty2

    for now, only if you have a region defined from which the shop is only accessible from
    (eg. if you're using region-based shops)
     
  31. Offline

    dannybtw

    For some reason i keep getting "bettershop is missing a dependancy" we have groupmanager and i cant find a list of what could be wrong. it wasnt working i then installed the plugin globalshop and it suddenly worked we added all the items and it was working then the next time i logged into the server, everytime i tried to to buy or sell an item i got the missing dependancy message again please help.

    using latest bukkit build
     

Share This Page