[ECON] ChestShop 3.7.18 (iConomyChestShop) - Chest&sign shop for economy plugins [1.8]

Discussion in 'Archived: Plugin Releases' started by Acrobot, Feb 12, 2011.

  1. Offline

    Acrobot

    An easy way to create shops - no protection plugin needed!
    You don't need to be on-line to earn money anymore!
    [​IMG]
    I've put a LOT of effort into making this plugin,
    you can donate if you appreciate my effort =)

    Requirements:
    - An economy plugin supported by Register or Vault, for example iConomy, BOSEconomy or Essentials Eco.
    Optional:
    - For additional economy plugin support - Vault
    - For Permissions: bPermissions, PEX, or any other permission plugin
    - For additional protection: LWC, Lockette, Deadbolt
    - For other item names (aliases): OddItem


    Setup:
    Copy the .jar file from the .zip you downloaded into /plugins folder.
    You can also copy the example files if you want to generate statistics page.

    Translations:
    You can change the plugin's language, here's a list of all user-made translations.
    If you want to update or submit a translation, feel free to PM me.
    Translations (open)

    Arabic - Attarhsase2
    Bulgarian - Muff1Ncho
    Czech - LordPgsa
    Chinese (Simplified) - tab415263
    Danish - Cannafix
    Dutch - speedlegs
    French- DragonSlayer875
    German - RasCas
    Hungarian - Anachen
    Indonesian - Yahya98
    Italian - Massimo1993
    Korean - Zwing87
    Norwegian - _AlexN_ and TheUnkownGamer
    Polish - Holls1
    Portugese (Brasil) - FelipeMarques14
    Russian - VADemon from http://minemania.ru/
    Slovak - LordPgsa
    Slovenian - jEErc
    Spanish - thxaaaa
    Swedish - Maxell
    Turkish - Developer
    Traditional Chinese - hellboyincs
    Vietnamese - etrubi1 from http://minevn.com/


    Permissions:
    How to create a ChestShop?
    - Place a chest, if you haven't already.
    - Place a sign 1 block near the chest (for example, above the chest)
    - On the sign, write:

    [​IMG]
    (Item name can actually be item ID or alias)
    First line will be filled in by the plugin automatically.
    Price is a combination of buy and sell price.
    You have to have B near buy price (people buy from you), and S near sell price (people sell to you).
    If you have both B and S, separate them with a colon - :
    For example:
    [​IMG]

    means that AcrobotPL wants to sell 64 diamonds for 10 currency, and buy them back from you for 5 currency.
    Also, if you put "free" instead of price, it is free to buy or sell :)

    - Now, when you finish editing the sign, if LWC is turned on in config, shop will be automatically created.
    Also, if your default protection is turned on in the config, people won't be able to break chest, sign or the block the sign is on.

    What is an Admin Shop?
    Admin shop is the shop that doesn't require a chest, because it has infinite stock.
    If you sell to it, the items will disappear, and if you buy from it, items will magically appear.
    To create one, you have to be Admin/OP. Just put "Admin Shop" (or anything specified in config file) on the first line of the sign.

    Restricting shops to some groups or regions
    You can either use permissions, or you can just put a sign ABOVE shop sign (you need to be in that group to create the sign) to restrict it to players with ChestShop.group.groupName permission
    The syntax is:
    [restricted]
    firstGroupName
    2ndGroupName
    3rdGroupName
    Only those groups will be able to use that shop

    To restrict a shop to some regions:
    - If you're using Towny, turn TOWNY_INTEGRATION on. Residents will be able to create shops in economy plots (either their or, if specified in config, any)
    - If you're using WorldGuard, you can use an experimental "chestshop" flag. Turn WORLDGUARD_INTEGRATION on and flag a region. (f.e. /region flag ChestShopRegion chestshop allow)

    Do you want to limit the maximum prices for items?
    Well, there's an app.... wait, not that : P
    You can use an experimental feature in ChestShop.
    In your config.yml, add lines like:
    max-buy-price-5: 14
    max-sell-price-5: 15

    That means that the maximum price for items BOUGHT by PLAYER is 14, and items SOLD by PLAYER using the shop is 15.

    You can also use a global setting, like this:
    max-sell-price: 200

    That means that the maximum price for items SOLD to PLAYER is 200 (if there is, for example, a max-sell-price-5 found, it will be used instead of the global sell price)

    USING SHOPS
    You could buy and sell by right and left clicking the sign for a long time.
    Now it's the only way to use the shops.
    It's SIMPLE!
    Just LEFT-CLICK to SELL to shop, and
    RIGHT-CLICK to BUY from shop.
    (This can be changed in the config file)

    DESTROYING SHOPS
    If you want to delete your old shop, simply SNEAK and destroy the sign.
    It's that easy =)

    STOCKING THE SHOPS
    You can either open the chest and stock it up, or click on your own sign - it will open chest's inventory (that way you can have chests not openable by other people for sure :D)

    ItemInfo command
    It's a simple command that shows item information.
    If you use it without any arguments, it shows you information about the item you're holding.
    If you specify item id or item name after the command, it will show you information about that item.

    Source code
    ChestShop is Open-Source =)
    You can find its code on https://github.com/Acrobot/ChestShop-3


    Thanks to:
    - kali876, ziomekYOYO and Herocraft server for testing the plugin and finding every little bug =)
    - Everyone who uses this plugin - really big thanks for this, I never thought it will be so popular
    - Everyone who provided translation - many people's lives will be easier now
    - @Nijikokun for Register
    - @LennardF1989 for awesome Persistence Reimplemented
    - @Temaska for fixing the plugin while I was on holidays
    - @VADemon for providing a great support for other users
    - @Euthyphro for his patience and really good bug spotting
    - vagrant326 for making a great price sheet
    - Epics for his great help
    :)
    If something's not working
    You can't change the sign color - that breaks the formatting.
    If that's not the issue, please give me this information, so I can help you faster.
    - CraftBukkit version (type /version in chat)
    - ChestShop version (type /csversion in chat)
    - Your economy plugin (iConomy? BOSEconomy? other one?)
    - Have you got any Permission plugin? Which one?

    [​IMG]
    Changelog (open)

    Changelog can be found on BukkitDev - http://dev.bukkit.org/server-mods/chestshop/files/
     
  2. Offline

    Acrobot

  3. Dont know if i've already posted, using latest version of ICCS and IC (non beta / dev's)

    And when i make admin shop using
    AdminShop
    adminshop
    Adminshop
    admin shop
    Admin Shop

    either combo, it still says "SELLEr HAS NOT ENOUGH MONEY"

    I've tried making a bank account eastonch1
    and it still says it can't find the account.
     
  4. Offline

    ray0911

    in 3.0 beta how do I set it to use iconomy rather than boseconomy?
     
  5. Offline

    Acrobot

    @ray0911
    Not possible yet, might be possible in the future (I had problems with this)

    @eastonch
    Set - serverAccountName: ""
     
  6. Offline

    riuthamus

    I am okay with that! :p just kidding, seriously i love this plugin. It is the only one we use and officially support!
     
  7. Huh?

    edit: ah. fixed #solved
     
  8. Offline

    Mhalkyer

    Well, I certainly wouldn't make it required (IE on by default). Plus the custom 'sweep every X minutes' would help keep lag down. Please add o' wise one =)
     
  9. Offline

    Emmett97

    Edit: Fixed
     
  10. Offline

    Donny

    Change log for betas please =)

    (or atleast the difference between beta 5 and 6)
     
  11. Offline

    Matt Gill

    Is this working on build 953?
     
  12. Offline

    Acrobot

  13. Offline

    jonassm

    @Acrobot Could it be possible to hide the chest? Like make it invincible so only you can see it?
    LOVE ur plugin btw!
     
  14. Offline

    Niklas4G

    MyGerman Traslation for ChestShop 3/Beta 6!

    Code:
    prefix: "&a[Shop] &f"
    iteminfo: "&aItem Information:&f"
    options: "&aVerfuegbare Optionen: "
    ACCESS_DENIED: "Du hast keine Rechte das zu tun!"
    NOT_ENOUGH_MONEY: "Du hast nicht genug Geld!"
    NOT_ENOUGH_MONEY_SHOP: "Geschaeftsleiter hat nicht mehr genug Geld!"
    NO_BUYING_HERE: "Du kannst hier nichts kaufen!"
    NO_SELLING_HERE: "Du kannst hier nichts verkaufen!"
    NOT_ENOUGH_SPACE_IN_INVENTORY: "Du hast nicht mehr genug Platz im Inventar!"
    NOT_ENOUGH_SPACE_IN_CHEST: "Es ist nicht mehr genug Platz in der Truhe!"
    NOT_ENOUGH_ITEMS_TO_SELL: "Du hast nicht mehr genug Items, um zu verkaufen!"
    NOT_ENOUGH_STOCK: "Dieser Laden hat keine Sachen mehr zu verkaufen."
    NOT_ENOUGH_STOCK_IN_YOUR_SHOP: "Dein %material Geschaeft ist ausverkauft!"
    YOU_BOUGHT_FROM_SHOP: "Du hast %amount %item von %owner fuer %price gekauft."
    SOMEBODY_BOUGHT_FROM_YOUR_SHOP: "%buyer hat %amount %item fuer %price von dir abgekauft."
    YOU_SOLD_TO_SHOP: "Du hast %amount %item an %buyer fuer %price verkauft."
    SOMEBODY_SOLD_TO_YOUR_SHOP: "%seller hat %amount %item fuer %price an dich verkauft."
    YOU_CANNOT_CREATE_SHOP: "Du kannst nicht solch einen Shop eroeffnen!"
    NO_CHEST_DETECTED: "Chest wurde nicht gefunden!"
    ANOTHER_SHOP_DETECTED: "Von einem anderen Spieler wurde eine Chest erkannt!"
    CANNOT_ACCESS_THE_CHEST: "Du hast keine Rechte fuer diese Truhe!"
    PROTECTED_SHOP: "Truhe wurde mit LWC erfolgreich abgeschlossen!"
    SHOP_CREATED: "Shop wurde erfolgreich eroeffnet!"
    NO_PERMISSION: "Du hast nicht die Permissions um das zu tuhen."
    NAME_TOO_LONG: "Dein Name ist zu Lang. Warte auf ein Update!"
    INCORRECT_ITEM_ID: "Deine ID ist Leider Falsch!"
     
  15. Offline

    Acrobot

    @jonassm
    That is actually a nice idea, however, it would be VERY, VERY complicated. I will try it, though :)

    @Niklas4G
    Thanks :)
     
  16. Offline

    Hemolicious

    Please reply the new conversation. ;)
     
  17. Offline

    Hemolicious

    Fine,so let me make this public. Hello guys,I am revamping my server (starting from beginning) and I am now stuck at ChestShop plugin,since my console says this:

    151 recipes
    16 achievements
    16:13:10 [INFO] Starting minecraft server version Beta 1.7_01
    16:13:10 [INFO] Loading properties
    16:13:10 [INFO] Starting Minecraft server on 5.30.169.48:25565
    16:13:10 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    16:13:10 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    16:13:10 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    16:13:10 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    16:13:10 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-896-
    g394e893-b946jnks (MC: 1.7_01)
    16:13:10 [SEVERE] Could not load 'plugins\iConomyChestShop.jar' in folder 'plugi
    ns':
    java.lang.ExceptionInInitializerError
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:176)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:175)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: Error
    constructing com.avaje.ebeaninternal.server.core.DefaultServerFactory
    at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFac
    tory.java:114)
    at com.avaje.ebean.EbeanServerFactory.<clinit>(EbeanServerFactory.java:5
    7)
    ... 10 more
    Caused by: java.lang.IllegalArgumentException: Error constructing com.avaje.ebea
    ninternal.server.core.DefaultServerFactory
    at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:107)

    at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:94)
    at com.avaje.ebean.EbeanServerFactory.createServerFactory(EbeanServerFac
    tory.java:112)
    ... 11 more
    Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:\Users\P
    avl├şk\Desktop\Bukkit Server\craftbukkit.jar (SystÚm nem¨×e nalÚzt uvedenou cest
    u)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigL
    oader.java:121)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.load(XmlConfigLoa
    der.java:78)
    at com.avaje.ebeaninternal.server.core.DefaultServerFactory.<init>(Defau
    ltServerFactory.java:91)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.avaje.ebeaninternal.api.ClassUtil.newInstance(ClassUtil.java:104)

    ... 13 more
    Caused by: java.io.FileNotFoundException: C:\Users\Pavl├şk\Desktop\Bukkit Server
    \craftbukkit.jar (SystÚm nem¨×e nalÚzt uvedenou cestu)
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.checkJar(XmlConfi
    gLoader.java:176)
    at com.avaje.ebeaninternal.server.core.XmlConfigLoader.search(XmlConfigL
    oader.java:110)
    ... 22 more
    16:13:11 [INFO] [Permissions] (Yeti) was initialized.
    16:13:11 [INFO] [Permissions] version [3.1.6] (Yeti) loaded
    16:13:11 [INFO] Preparing level "world"
    16:13:11 [INFO] Preparing start region for level 0 (Seed: -2570845279070799360)
    16:13:11 [INFO] Preparing start region for level 1 (Seed: -2570845279070799360)
    16:13:12 [INFO] Preparing spawn area: 20%
    16:13:12 [INFO] [AutoAnnouncer] Permissions support enabled!
    16:13:12 [INFO] [AutoAnnouncer] Settings Loaded (2 announces).
    16:13:12 [INFO] [AutoAnnouncer] Scheduled every 5 minutes!
    16:13:12 [INFO] [AutoAnnouncer] v1.3-06.25 is enabled!
    16:13:12 [INFO] [AutoAnnouncer] Developed by: [Sharkiller]
    16:13:12 [INFO] [AutoReplace] version 1.9.1 is enabled.
    16:13:12 [INFO] Backup v1.6 was sucessfully loaded!
    16:13:12 [INFO] [BBROTHER] ------------------------------------
    16:13:12 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of
    BigBrother!
    16:13:12 [INFO] [BBROTHER] Please note that, since this is far from complete, th
    ere will be many bugs.
    16:13:12 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bu
    gs.nexisonline.net/bb
    16:13:12 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for up
    dates and build notifications.
    16:13:12 [INFO] [BBROTHER] ------------------------------------
    16:13:13 [INFO] [BBROTHER] Building `bbdata` table...
    16:13:13 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    16:13:13 [INFO] [BBROTHER] Building `bbworlds` table...
    16:13:13 [INFO] [BBROTHER] Building `bbusers` table...
    16:13:13 [INFO] [BBROTHER] Permissions enabled using: Permissions v3.1.6
    16:13:13 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    16:13:13 [INFO] [BBROTHER] BigBrother 1.9-SNAPSHOT (build #569) enabled!
    16:13:13 [INFO] [BuddyUp] v1.2.1 enabled!
    16:13:13 [INFO] Loading ColoredSigns
    16:13:13 [INFO] CommandBook 1.5.2 enabled.
    16:13:13 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some feat
    ures have been disabled to be compatible with poorly written server wrappers.
    16:13:13 [INFO] CommandBook: 0 banned name(s) loaded.
    16:13:13 [INFO] CommandBook: 1 kit(s) loaded.
    16:13:13 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    16:13:13 [INFO] CommandHelper 3.1.1 enabled
    16:13:13 [INFO] CommandHelper: Permissions plugin detected! Using Permissions pl
    ugin for permissions.
    16:13:13 [INFO] [CommandHelper]: 0 alias(es) defined.
    16:13:13 [INFO] [DelayedStop] Enabling Delayed Stop v0.17
    16:13:13 [INFO] [DelayedStop] Permission system found
    16:13:13 [INFO] [DelayedStop] version 0.17 enabled
    16:13:13 [INFO] FenceStack version 1.13 loaded.
    16:13:13 [INFO] [FullChest] version 3 booted.
    16:13:13 [INFO] [FullChest] DISPENSERS NOT ENABLED!!!!
    16:13:13 [INFO] [Humiliation] Permissions enabled.
    16:13:13 [INFO] [Humiliation] version 0.8 is enabled!
    16:13:13 [INFO] [iChat] Found Permissions (v3.1.6)
    16:13:13 [INFO] iChat (v2.3.1) enabled
    16:13:13 [INFO] [iConomy] Logging is currently disabled.
    16:13:13 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    16:13:13 [INFO] [iConomy] Developed by: [Nijikokun]
    16:13:13 [INFO] [iConomy] hooked into Permissions.
    16:13:13 [INFO] SuperPowers v0.8 loaded!
    16:13:13 [INFO] WorldEdit 4.6 enabled.
    16:13:13 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    16:13:13 [INFO] [Factions v1.3.5] === INIT START ===
    16:13:13 [INFO] [Factions v1.3.5] Loading conf from disk
    16:13:13 [INFO] [Factions v1.3.5] Loading players from disk
    16:13:13 [INFO] [Factions v1.3.5] Loading factions from disk
    16:13:13 [INFO] [Factions v1.3.5] Loading board from disk
    16:13:13 [INFO] [Factions v1.3.5] Found and will use plugin Permissions v3.1.6
    16:13:13 [INFO] [Factions v1.3.5] === INIT DONE (Took 93ms) ===
    16:13:13 [INFO] Done (0.249s)! For help, type "help" or "?"
    16:13:16 [INFO] [BBROTHER] Removed 0 old records because of age in 0h00m00s.
    16:13:18 [INFO] [BuddyUp] Successfully hooked into Permissions.

    Everything is UP TO DATE! (CB:953) - Any possible solution? Thanks for further explanation ;-D
     
  18. Offline

    Acrobot

  19. Offline

    Senlarus

    @Acrobot
    I'm running iConomy, Permissions and LWC.

    I just upgraded from iConomyChestShop2.75 to the new 3.0 Beta 6 and updated my permissions nodes. Now one of my members is having an issue creating a shop.

    I have tried updating my config file to enable and disable LWC protection and it doesn't make a difference.

    Code:
    REVERSE_BUTTONS: true
                   #If true, people will buy with left-click and sell with right-click.
    
    SERVER_ECONOMY_ACCOUNT: ""
                   #Economy account's name you want Admin Shops to be assigned to
    
    LOG_TO_FILE: false
                   #If true, plugin will log transactions in its own file
    
    LOG_TO_CONSOLE: false
                   #Do you want ChestShop's messages to show up in console?
    
    USE_DATABASE: false
                   #If true, plugin will log transactions in EBean database
    
    ADMIN_SHOP_NAME: "Admin Shop"
                   #First line of your admin shop should look like this
    
    GENERATE_STATISTICS_PAGE: true
                   #If true, plugin will generate shop statistics webpage.
    
    STATISTICS_PAGE_PATH: "plugins/ChestShop/website.html"
                   #Where should your generated website be saved?
    
    RECORD_TIME_TO_LIVE: 600
                   #How long should transaction information be stored?
    
    USE_BUILT_IN_PROTECTION: false
                   #Do you want to use built-in protection?
    
    PROTECT_CHEST_WITH_LWC: true
                   #Do you want to protect shop chests with LWC?
    
    PROTECT_SIGN_WITH_LWC: false
                   #Do you want to protect shop signs with LWC?
    Here are the steps to recreate:
    1. Place a new chest(LWC protection is default on new chests so it is automatically protected)
    2. Place a sign above the chest
      1. Glenkills
      2. 10
      3. B 10
      4. Dirt
    3. Sign pops off the wall and says "You don't have permissions to access this chest"

    Here is a work around we discovered:
    Once you place the chest use /lwc to remove the protection then place the sign, the sign then adds the protection.

    Thanks for your insight and for a great plugin!
     
  20. Offline

    Acrobot

    @Senlarus
    Hmm, thanks for the information. I will test and fix it :)
     
  21. Offline

    pyros

    Im using this in conjunction with bettershop, which also allows /buy, is there anyway to disable this command on this plugin seeing as it has multiple aliases?
    Thanks
     
  22. Offline

    Ötker

    Can somebody post me a AdminShop layout for free items?
    AdminShop
    64
    dontknowwhattoputhere
    331 for example
     
  23. Offline

    Acrobot

    @Ötker
    Admin Shop
    64
    B free
    331

    @pyros
    Sure!
    Open iConomyChestShop.jar with WinRAR/whatever and open plugin.yml file. Change name from "buy" to, for example, buyCS, then save the file back to the .jar
     
  24. Offline

    Ötker

    Acrobot thank you very much it works : D
     
  25. Offline

    Acrobot

  26. Offline

    Vikom Media

    For whatever reason only admins are able to use the sign shops, i have the permissions set like so:

    Code:
    Builder:
            info:
                prefix: '&fBuilder'
                suffix: '&7'
                build: True
                interact: True
            inheritance:
              - 'Guests'
            permissions:
              - 'invite'
              - 'join'
              - 'lastseen'
              - 'ping'
              - 'modtrs.command.modreq'
              - 'modtrs.command.modlist'
              - 'lwc.protect'
              - 'iConomyChestShop.shop.*'
              - 'iConomyChestShop.command.iteminfo'
              - 'tip.list'
              - 'residence.create'
    I've also tried with
    -iConomyChestShop.shop.buy
    -iConomyChestShop.shop.sell
    -iConomyChestShop.shop.create
    Individually

    I'm currently using ChestShop 3 Beta7
     
  27. Offline

    Acrobot

    @Vikom Media
    As the name says, it's "ChestShop", not "iConomyChestShop" :)
    Just change it to ChestShop.shop.*
    (ItemInfo doesn't have a permission node in ChestShop)
     
  28. Offline

    Vikom Media

    OH
    THANKS
     
  29. Offline

    Stardoc

    Hi !
    ChestShop works fine, but sorry .... i can not understand the function: Generating html Page

    I find no setting in the config !? No html was generated !

    Here my config

    Code:
    maxPrice: -1
    minPrice: -1
    #maxPrice - maximum buy/sell price
    #minPrice - minimum buy/sell price
    
    reverseButtons: false
    sell: true
    distance: 1
    position: 'ANY'
    protection: true
    
    #reverseButtons - If true, people buy with left click and sell with right click.
    #sell - Do you want to let people create/use shops, that buy things from players?
    #distance - Distance between the chest and the sign. (Warning, chests that aren't exactly that far WON'T work as shops)
    #position - Position of the chest, relative to the sign. ANY for anything in radius of 1 block, other: goo.gl/YItRO
    #protection - Do you want to use built-in shop protection?
    
    LWCprotection: true
    signLWCprotection: false
    
    #LWCprotection - Do you want to protect the chests with LWC?
    #signLWCprotection - Do you want to protection signs with LWC? (Warning, gives LWC message when using shop!)
    
    log: true
    logToFile: false
    logFilePath: "plugins/iConomyChestShop/iConomyChestShop.log"
    
    #log - Do you want to log transactions and shop creating?
    #logToFile - Do you want to save the log to file? (Warning, this lags a bit - I reccomend turning this off, as server.log will have these informations too.)
    #logFilePath - Path to log file.
    
    sneakMode: true
    allowUsedItemsToBeSold: false
    stackUnstackableItems: false
    
    #sneakMode - Do you want to let people to shop using left mouse button, and destroy the shop signs when sneaking?
    #allowUsedItemsToBeSold - Do you want to let people sell used tools to the shop? (Warning, the tools will be "fresh" if player sells them. NOT RECCOMENDED)
    #stackUnstackableItems - Do you want to stack all items in chest?
    
    useDB: true
    howLongToStoreInformationInDB: 600
    intervalBetweenTransactions: 100
    
    #useDB - Do you want to use bukkit's built-in database to log the transactions? (Must be turned on, if you want to generate price list)
    #howLongToStoreInformationInDB - How old the transation must be before being deleted? (In seconds)
    #intervalBetweenTransaction - How often can one person buy or sell to the shop? (In miliseconds: 1000ms = 1 sec)
    
    generateTransactionList: true
    intervalBetweenGeneratingTransactionList: 5
    showUnusedItemsInGeneratedList: true
    
    #generateTransactionList - Do you want to generate average price, amount of bought, sold items page? (Currently in ALPHA state)
    #intervalBetweenGeneratingTransactionList - Interval between generating the list. (In seconds)
    #showUnusedItemsInGeneratedList - Do you want to show items, that were not bought/sold on the list?
    
    separatingLineAfterTransaction: false
    doNotRemoveSignIfNotCorrect: false
    serverAccountName: "Schatzkammer"
    #separatingLineAfterTransaction - Do you want to show a line in the chat after transaction?
    #doNotRemoveSignIfNotCorrect - Do you want to keep the sign, if it's not correct?
    #serverAccountName - Account of the server to use with AdminShops, blank if you don't want to use one
    
    #Messages:
    showOutOfStock: true
    showMoneyAfterTransaction: true
     
    #showOutOfStock - Do you want to show "Out of stock" messages?
    #showMoneyAfterTransaction - Do you want to show your balance after transaction?
     
    # If you want to translate this file, do it yourself, or copy the "lang:" part from another translation.
    # Prefix will be dispayed at the beggining of every message.
    # You can use terms like <buyer>, <amount> or <item> in messages, however
    # only certain messagess offer this.
    #
    # <buyer> - nick of the person who bought from shop.
    # <seller> - nick of the person who sold to shop.
    # <owner> - nick of the person who own the shop.
    # <amount> - amount of item
    # <item> - name of item
    # <money> - amount of money with iConomy currency
    # <cost> - cost of the item
    #
    # You can always use hMod colors, like
    # &1, &f etc...
    # For example: This is my&6 golden text.
    
    #MAXIMUM OF 55 CHARACTERS WITH PREFIX!
    
    #Experimental: Try changing the prefix to '                          &a[Shop] &f                                             '
    #The text will be centered!
    lang:
        prefix: '&a[Shop] &f'
        Somebody_sold_items_to_your_shop: '<seller> sold <amount> <item> for <cost> to your shop!'
        Somebody_bought_items_from_your_shop: '<buyer> bought <amount> <item> for <cost>!'
        Your_shop_is_out_of_stock: 'Your <item> shop is out of stock!'
        You_cannot_use_your_own_shop: "You can't use your own shop!"
    
        You_bought_items: 'You bought <amount> <item> from <owner> for <cost>.'
    
        Your_inventory_is_full: 'Your inventory is full!'
        You_have_got_not_enough_money: "You don't have enough money!"
        Shop_is_out_of_stock: 'This shop is out of stock!'
    
        You_have_not_enough_items: 'You have not enough items to sell!'
        You_sold_items: "You sold <amount> <item> for <cost> to <owner>'s shop."
        Chest_is_full: 'This chest is full!'
    
        Seller_has_not_enough_money: "Seller has not enough money!"
        Seller_has_no_account: "Seller's account doesn't exist!"
        No_selling_to_this_shop: "Shop owner doesn't want you to sell here!"
        No_buying_from_this_shop: "Shop owner doesn't want you to buy here!"
    
        Your_balance: 'After transaction you have <money>.'
    
        Shop_is_created: 'Your shop has been successfully created!'
        Shop_cannot_be_created: "You have no chest set up!"
        Shop_was_LWC_protected: "Your shop was successfully protected with LWC."
    
        Mode_changed_to_sell: 'Mode set to selling!'
        Mode_changed_to_buy: 'Mode set to buying!'
    
        You_tried_to_steal: "Don't steal!"
        wait: "&4Wait!"
    
        iteminfo: "&aItem ID and names:"
        incorrectID: "Incorrect item ID!"
        Couldnt_fit_on_sign: "Couldn't fit something on the sign!"
        Negative_price: "Can't make shop with negative buy/sell price!"
        Incorrect_price: "This price is too high/low!"
        Incorrect_item_amount: "The item amount you specified is invalid!"
    What i must do, that i become this online html page ?
     
  30. Offline

    Senlarus

    Yes, I downloaded and tested and its working great! Thanks again! :)
     
  31. Offline

    Acrobot

    @Stardoc
    Yes, it is broken in iConomyChestShop.
    It works correctly in ChestShop - you need to put your files in plugins/ChetShop/HTML - like in the .zip
    And then turn database and page generating on.
     

Share This Page