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


    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

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

    Help support

    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

    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 ""​
    - nodes defined in config under discountGroups​
    - ex: discountGroups:​
    VIP: 10 # gives 10% discount to players with​

    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
    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


  3. Offline


    BetterShop is not working for the latest recomended bukkit build: 1.1-R4
  4. Offline


    I am currently using Vault for currency. Will this plug in work with it?
  5. Offline


    yep, vault compatibility added back with 2.1.3
  6. Offline


    I absolutely love this plugin and am so happy its still up, i would So greatly appreciate it if you would continue updating it to 1.2.5 and above! Out of all Shop Plugins i have to say this one takes the cake, nice and simple and to the point with awesome easy to use features, don't stop the developement.
  7. Offline


    Try this one:
    <Edit by Moderator: Redacted multiupload url>

    only vault support
    no worldguard regions support (maybe it works)
    updates and about button removed
    credits goes to jascotty2

    Supports 1412 Client
    Spout 1179
    Mc 1.2.5

    Last edited by a moderator: Mar 28, 2019
  8. Offline


    I installed it but if i try to sell or buy anything its saying its missing a dependency, i have tryed all 4 dependency's that you support please help
  9. Offline


    What version for Beta 1.5_01?
  10. Offline


    I use spout for this plugin, but if i add a item it just shows a text over the text witch is there allready D:
    The Buttons doesnt work even..
  11. Offline


    can someone make a default configuration of all the items to save me time so I don't have to do /shopadd for EVERY SINGLE ITEM?

    I've never heard of a shop plugin that sells mobs... I'm pretty sure that's your problem

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  12. Offline


    Hello, all.. It's been a while since i've been coding, but thinking of getting back at it.
    I'm planning on doing a full rewrite of bettershop (codename BetterShop3), writing for better optimizations, less layers of unnecessary abstraction, etc
    if all works out, should be easier to debug, add new features, less config, use less memory, run quicker, and so on..

    So: while i'm working on this, I'm curious as to what you, the server owner or shop user, want to see in a shop plugin
    post replies to this thread with new suggestions, or 'like' suggestions that you want to see implemented - more votes gives greater priority
    I'll post some examples after this post that bettershop2 does, and if you want those to remain, 'like' them

    1. - MySql Backend for pricelist

    2. - kits of items that can be bought collectively

    3 - legal / illegal items that require special permissions to buy

    planned: player - created shops: a sign above or behind a chest that sells/buys from the player using the chest for inventory (uses same syntax from global shop signs)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  13. Offline


    Yay! Good to see you back, jascotty2. I'm the one who submitted the pull request for BetterShop2 on github. I'd be happy to help on the new project.

    The features we primarily use:
    • Global command shop
    • Restriction of the global command shop to WorldEdit/WorldGuard-defined regions
    • Buy/sell all manner of blocks and items
    • Mob eggs (which are currently bugged)
    +1 for chest shops. We don't use any of the above three listed current features.
  14. Offline


    All I would be happy with is a GUI shop.
    UltraMC likes this.
  15. Offline


    uhm. it says [failed to debit] on the console. help?

    So on the console, it says [Failed To Debit] whenever I buy something through /shopbuy. It would not take any money away from my balance. I use iConomy, the latest version and I am trying with BOSeconomy
  16. Offline


    any news on the rewrite? :)
  17. Offline


    heres a suggestion-- easier configuration like a small word doc or .yml format. ex:
    - id: 1
    - sell: 1
    - buy: 3
  18. Offline


    i intend on re-using the csv format (that can be used with office or openoffice), but i could also bring back the yml format

    also - i'm adding multilingual capabilities, for additional expansion ;)
    current english file:
    (not all messages are there yet; still working on that portion)

    working at it when i can find time, and have been using git to transfer changes between my desktop and laptop
    - check out progress here:

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 17, 2016
  19. Ok so i am using Iconomy and Vault in conjunction. I am having an issue, when i sell stuff chars get the money, but when they buy stuff it doesnt debit there accounts.

    Also in things i would like to see for a non scrambled price editing file. i.e. A simple notepad file i can name items and price them then load from inside the server.
    As well as a sightly better defined shop area. I notice when i set a chest to become a shop ppl can use the shop from anywhere in the world.
  20. Offline


  21. Offline


    Speaking as an admunsterererter, I would like to see two things in there mainly. An option to buy by item number as well as item name (For guys who can't type), but most importantly I'd like to see some Hex ID ability put in there, so we can get them dern monster heads up for sale :)

Share This Page