[INACTIVE][ECON] LocalShops v3.1.1 (Fifth Avenue) - Economy Based Player Shops [935]

Discussion in 'Inactive/Unsupported Plugins' started by cereal, May 13, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    cereal

    LocalShops
    Economy Based Player Shops

    Version: 3.1.1 (Fifth Avenue)

    LocalShops allows players to create and manage physical shops - literal player-defined cuboids - in which they can directly participate in a server economy!

    Version 3 includes masses of bug fixes, tweaks and improvements, including a brand new item search engine, allowing players to use, manage and create shops with more ease that ever before.

    Features:
    • Player owned and operated physical shops!
    • Shops can be managed by multiple players.
    • Create a Free Market in which the players directly control economic values of items!
    Download LocalShops (JAR)
    Source Code
    Issue Tracker (Bug Reports & Feature Requests)

    Requirements:
    Got Issues or Problems?

    We're happy to help with any issues or problems you may have, but please help us as we make every effort to help you! If you're experiencing errors, or funkiness please do the following:
    1. Verify that your versions meet the requirements in the Requirements Section
    2. You can reproduce the bug
    3. Use kind words in your post!
    Awesome, now in the post please include the following information:

    • Version of Bukkit
    • Version of LocalShops
    • Version of Permissions
    • Which Economic Plugin you are using (and version number)
    • Description of issue, error, or shenanigan
    • Steps to reproduce issue, error, or shenanigan
    • Log files (as much as you can provide the better)
    Commands: [required] <optional>
    • /shop
      • Displays a list of player commands
    • /shop select
      • Select a cuboid area for a shop to occupy. Used in conjunction with both the create and move commands. Using the select command a second time will cancel the selection process.
    • /shop create [shop name]
      • Creates a shop of the default sized (specified in the configuration file) at your location.
      • If used after the select command - assuming the player didn’t cancel the selection process, possess enough money to create a shop (also specified in the configuration file) and the selection is smaller than the maximum allowed area (again, specified in the configuration file) - a shop will be created that fills the specified area.
      • Remember, shops are created in a 3D space - selecting two blocks on the floor will likely result in the creation of a shop that is a single block tall, which isn’t particularly useful to anyone.

        Any characters may be used for a shop name, including spaces and punctuation.
    • /shop info <id>
      • Used while standing in a shop, this command will return information about that specific shop. If a shop ID is added to the end, it will return information about another shop without the player needing to be physically in it.

        Use either this command or list to get shop IDs.
    • /shop browse <buy|sell>
      • Shows a list of items currently in the shop and if provided either buy or sell as an argument it will only show those for to buy or sell (from the players perspective).
    • /shop find [item name|id]
      • Finds nearby shops that either buy or sell the item sorted by distance with the cost per item.
    • /shop list
      • Lists all shops in the current world that the player owns, along with their unique IDs and names.
    • /shop move [id]
      • Moves the specified shop to a new location. The select command can be used prior to this command, allowing the shop to be moved to a new cuboid specified by the player.

        Both list and info will return shop IDs, in addition to other information.
    • /shop destroy
      • Destroys the shop the player is currently standing inside. The owner of the shop will receive anything that was left in stock, inventory space permitting.
    • /shop add <item name>
      • Used without an item name on the end, adds the stack of items that the player is currently holding.

        If an item name is specified, that item will be added to the shop, with a stock of 0.
    • /shop remove <item name>
      • Used without an item name, removes the item that the player is currently holding from the shop, and returns all remaining stock to the owner.

        If an item name is specified, it works in the same way, but for the specified item instead of the held item.

        In order to remove a certain amount of items from a shop (and not stop the shop from stocking the item), the player must use the buy command. Owners and managers of a shop are not charged for removing items in this manner.
    • /shop buy [item name] <amount>
      /buy [item name] <amount>
      • Purchases a specified item from a shop. If the player uses ‘all’ in place of an amount, the shop will attempt to fill the player’s inventory with the specified item, money (and item stock) permitting.
    • /shop sell <item name> <amount>
      /sell <item name> <amount>
      • Used without an item name and amount defined, sells the stack of items the player is currently holding.

        With an item name defined, a specific item (a single item) is sold to the shop. If the player uses ‘all’ in place of an amount, all instances of that item in his inventory will be sold.
    • /shop set
      • Help page - displays a list of set commands.
    • /shop set buy [item name] [price] <bundle size>
      • Used to set the price and bundle size of items that the shop will be able to buy or purchased from customers.

        Both this command and the set sell command below are set from the perspective of the shop, not the customer; in contrast the buy and sell commands are always from the perspective of the customer.
    • /shop set sell [item name] [price] <bundle size>
      • Sets the price and bundle size of items that can be sold to the customer.
    • /shop set manager +/-[player name]
      ex: /shop set manager -cerealk +Mineral
      • Adds or removes managers from the player’s shop. A manage is able to add/remove items, set prices and set maximum amounts. He cannot move the shop, destroy the shop, nor add/remove managers.
    • /shop set minbalance [amount]
      • Sets a shops minimum balance that must remain in the account at all times. Helps prevent players from selling to a shop and completely bankrupting the owner.
    • /shop set max [item name] [max amount]
      • Used to set a maximum stock limit for a specified item. Note that the owner of the shop will still be able to add items above the maximum stock level, but the shop will not buy items from players if the current stock level is higher than the maximum specified amount.
    • /shop set notification
      • Toggles if the shop owner is to receive periodic transaction notifications via chat.
    • /shop set owner [player name]
      • Changes the shop owner to another player.
    • /shop set unlimited money
      Requires a special permission node: localshops.admin
      • Sets the shop to have unlimited money - useful for a server shop buying items from players. The money from items sold to the shop while this is toggled on will go to whoever is set as the shop owner. If the owner is set to a player that doesn’t exist (ServerBank, for example) the creator of the shop won’t get the money from item sales.
    • /shop set unlimited stock
      Requires a special permission node: localshops.admin
      • Sets a shop to have an unlimited amount of all stocked items - keep in mind that items still need to be added to the shop for them to appear in the shop’s inventory.
    Permissions:
    A word of caution with Permissions, Managers by default cannot use shops! Managers should have both the manager and user permissions, similar with Admins.
    • localshops.user.*
      • Users can buy and sell to shops but not make or manage them.
      • Sub nodes are:
        • localshops.user.buy
        • localshops.user.sell
        • localshops.user.browse
    • localshops.manager.*
      • Owners and Managers can create, move or destroy shops and manage shops (using the set commands)
      • Sub nodes are:
        • localshops.manager.add
        • localshops.manager.create
        • localshops.manager.destroy
        • localshops.manager.move
        • localshops.manager.remove
        • localshops.manager.select
        • localshops.manager.set
        • localshops.manager.set.owner
    • localshops.admin
      • Allows administrative access to override manager permissions.
    • localshops.free.create
      • Removes the cost associated with creating a shop.
    • localshops.free.move
      • Removes the cost associated with moving a shop.
    Configuration File:
    See this post for the configuration file!

    Example/Instruction Videos:
    See this post for the example & instruction videos!

    Third Party Tools & Utilities:
    ShopEditor - The GUI for Editing Shops (Windows only :()

    Reporting:

    LocalShops reports minimal anonymous data to provide general usage tracking. No personal or server information is ever transmitted. The following data is provided:
    • Plugin Name (this will always be LocalShops)
    • Plugin Version
    • Bukkit Version (the full Bukkit version string)
    • Operating System
      • Name
      • Version
      • Architecture
    • Java Version
    This data helps us understand the environments in which LocalShops is used within, however you are more than welcome to disable it by setting "report-stats" in the configuration file to false.


    Internet Relay Chat:
    We idle on EsperNet! Come join us (along with pretty much the rest of the Bukkit crew).
    • Server: irc.esper.net
    • Port: 6667
    • Channel: #localshops
    Credits / LocalShops Team:
    Please do not send support messages directly to any of us. While we appreciate your desire to solve problems or get answers, it isn't appropriate and our answers could easily help others!
    Changelog:

    Version 3.1.1
    • Fix detection of BOSEconomy
    • Fix "/shop buy all" not properly functioning
    Version 3.1.0
    • Out of Beta!
    • Features:
      • Permissions updated, is not mandatory
        • Will only restrict admin commands to ops without Permissions
      • Sorting of /shop browse and /shop list
      • New command: /shop find
        • Used to find nearby shops that sell an item
      • Transaction notification for shop owners
    • Bug Fixes:
      • Economy sanity checks
      • /shop select Message clarify usage (bare hands)
      • Sanity checks on corrupt shop files
      • /shop sell all now sells all items instead of a single stack
      • Refactored Commands (now each in their own class)
      • Remove players from memory on PLAYER_KICK and PLAYER_QUIT events
      • Notification for insufficient funds
      • Owner & creator information is now shown in /shop info for all situations
      • Match criteria updated
        • Wool, Cactus Green, Cactus, Glowstone Dust
    Version 3.0.3-Beta
    • Fixed money exploit
    • Fix typo on selling or buying 0 items
    • Redstone Dust match criteria updated
    • Soul Sand match criteria updated
    View all changes here!

    Configuration File:
    The configuration file for LocalShops is located at plugins/LocalShops/localshops.properties and can easily be modified. See the following information about each variable and its purpose and valid values.
    • uuid=Random
      • Used for reporting.
    • debug=false
      • Value can be true or false. If true, logs verbose debugging information to console.
    • shops-per-player=-1
      • Maximum number of shops each player can have, unlimited is -1.
    • report-stats=true
      • Value can be true or false. If true, anonymous information will be collected, see Reporting section.
    • log-transactions=true
      • Value can be true or false. If true, logs transactions.
    • max-damage=35
      • Maximum damage percentage an item can have to be added to a shop (it will be sold repaired). Default is 35 (or, 65% or more of the 'health' of the item is remaining).
    • charge-for-shop=true
      • Enables charging for creating & moving shops.
    • shop-cost=100
      • Cost of creating a shop.
    • move-cost=100
      • Cost of moving a shop.
    • shop-height=3
      • Default shop height.
    • shop-width=10
      • Default shop width.
    • max-height=10
      • Maximum shop height.
    • max-width=30
      • Maximum shop width.
    • shop-notification=true
      • If true, shop transaction notices will occur. Note: this is a global configuration!
    • shop-notification-timer=300
      • Number of seconds between transaction notifications, default is 5 minutes.
    • shop-transaction-max-size=100
      • Maximum number of transactions that a store will store for notification purposes. Limited to 100 by default to prevent infinite memory usage.
    • search-max-distance=150
      • Maximum number of meters away from a player to include in shop find results (should be renamed to find-max-distance and will likely happen in the near future).
    BOSEconomy Support:
    BOSEconomy does not provide support for major or minor values and ONLY supports whole numbers. The result is that all orders are rounded up to the next whole number to ensure that the Shop Owners obtain the proper monetary value. Here are some examples:
    • Stone selling for 1.30 each...
      • A player purchases 1 and the total price is 1.30 and is thus rounded to 2 (we goto the next whole number, there is NO rounding down)
      • A player purchases 100 and the total price is 130 and thus there is no rounding to do.
    How to enable Debugging & Obtain the Logs:
    1. Locate the LocalShops properties file, it is located in the folder "plugins/LocalShops/" and is named "localshops.properties".
    2. Find the line that starts with "debug=" and set the value (portion after the equals) to true.
      1. You should now have "debug=true"
    3. Remove your old server logs (we will want a fresh slate to start with). The server log is "server.log", either delete it or move/rename it.
    4. Start the Bukkit, and perform the actions to cause the error.
    5. Stop Bukkit.
    6. Locate "server.log" in the Bukkit main directory and attach it to your forum post!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
    Thumbz, Mitsugaru, Stalker and 9 others like this.
  2. Offline

    Qanthelas

    Thank you so much for keeping this project going! I really like the way shops work in this plugin :)

    I am also getting a shop file moved to /broken-shops because of 'bad Item Data' so I figured I'd post here. So far I only have one shop (I was still in the testing phase with LocalShops when you guys took over development for it) and basically it is 'the mod shop' where everything has unlimited quantity and you can buy stuff is either 1) useful or 2) can't be found elsewhere (like sponge, ore, etc.)

    Here is the error in server.log on start up:

    Code:
    2011-05-14 20:08:37 [WARNING] [LocalShops] Shop File "plugins\LocalShops\shops\GeneralStore.shop" has bad Item Data (78:0), Error moving to "plugins/LocalShops/broken-shops/"
    2011-05-14 20:08:37 [WARNING] [LocalShops] Failed to load Shop file: "GeneralStore.shop"
    2011-05-14 20:08:37 [INFO] [LocalShops] Loaded with 0 shop(s)
     
  3. Offline

    TheBarkingFrog

    I love this already, it's exactly the shop plugin I needed
    I do have one error however. When I use the /shop set buy and /shop set sell commands I get an internal error message. For example using - /shop set buy wool 1 64 = give me an internal error.
    server log:
    Code:
    2011-05-15 01:51:43 [INFO] [LocalShops] TheBarkingFrog issued: set buy 48 64 100
    2011-05-15 01:51:43 [INFO] [LocalShops] Command issued: set buy 48 64 100
    2011-05-15 01:51:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin LocalShops v3.0.3-Beta
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:278)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:682)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:645)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:639)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:372)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NoClassDefFoundError: com/earth2me/essentials/api/Economy
        at net.centerleft.localshops.modules.economy.Economy_Essentials.format(Economy_Essentials.java:141)
        at net.centerleft.localshops.modules.economy.EconomyManager.format(EconomyManager.java:61)
        at net.centerleft.localshops.Commands.shopSetBuy(Commands.java:2278)
        at net.centerleft.localshops.Commands.shopSetBuy(Commands.java:2351)
        at net.centerleft.localshops.Commands.shopSet(Commands.java:2009)
        at net.centerleft.localshops.LocalShops.onCommand(LocalShops.java:213)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.earth2me.essentials.api.Economy
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 19 more
    I'm not sure if i'm doing something wrong here or what. Using cb: 766 and economy is BOSEconomy
     
  4. Offline

    cereal

    Could you get a startup log of the server for me I'd appreciate it.
     
  5. Offline

    xPeetey

    This plugin update is so awesome I made a video tutorial for it :D you deserve [diamond][diamond][diamond][diamond][diamond][diamond][diamond]
     
  6. Offline

    MetalMadness

    I have an issue.

    I was wondering if you can include a pricelist in the config files or something.

    Thanks

    Also, I want it to be only 1 shop for the whole server. So can you add that only permissions can view /shop create, destroy, etc?
     
  7. Offline

    Jeyge

    If you don't want them to create or anything else then just give everyone:
    • localshops.user.buy
    • localshops.user.sell
     
  8. Offline

    NickBrahz

    Still unable to use this plugin on CB766...
    Code:
    2011-05-14 18:31:18 [SEVERE] null loading LocalShops v3.0.3-Beta (Is it up to date?)
    java.lang.NullPointerException
        at net.centerleft.localshops.ShopData.loadShop(ShopData.java:347)
        at net.centerleft.localshops.ShopData.loadShops(ShopData.java:119)
        at net.centerleft.localshops.LocalShops.onEnable(LocalShops.java:110)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:287)
        at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadall.java:19)
        at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:46)
        at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:41)
        at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:434)
        at com.earth2me.essentials.Essentials.onCommand(Essentials.java:317)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  9. Offline

    TheBarkingFrog

    @cereal Sure
    Code:
    2011-05-15 10:12:44 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-15 10:12:44 [INFO] Loading properties
    2011-05-15 10:12:44 [INFO] Starting Minecraft server on *:25565
    2011-05-15 10:12:44 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks (MC: 1.5_02)
    2011-05-15 10:12:44 [INFO] Preparing level "world"
    2011-05-15 10:12:44 [INFO] Preparing start region
    2011-05-15 10:12:45 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-15 10:12:45 [INFO] [Blacksmith] enabled.
    2011-05-15 10:12:45 [INFO] BOSEconomy: Located Phoenix Permissions 2.7.3.
    2011-05-15 10:12:45 [INFO] BOSEconomy 0.6.2 enabled.
    2011-05-15 10:12:45 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-05-15 10:12:45 [INFO] Loaded EssentialsProtect build 2.2.8 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-05-15 10:12:45 [INFO] FLT Detector detected Permissions.
    2011-05-15 10:12:45 [INFO] FLTDetector version 1.2.1 by <Soxra> has been enabled!
    2011-05-15 10:12:45 [INFO] [Gastronomic]: Permissions enabled.
    2011-05-15 10:12:45 [INFO] [Gastronomic] version [1.33] (Wholesome) loaded
    2011-05-15 10:12:45 [INFO] Honeypot: Permissions plugin found, using that.
    2011-05-15 10:12:45 [INFO] Honeypot: Didn't find MCBans plugin, using default.
    2011-05-15 10:12:45 [INFO] Honeypot revision 6 by Argomirr succesfully loaded.
    2011-05-15 10:12:45 [INFO] [LocalShops] ShopData.loadShops(File shopsDir)
    2011-05-15 10:12:45 [INFO] [LocalShops] Loading Shop file "plugins\LocalShops\shops\35ef7550-cb4a-48c9-bd54-2e311d16117f.shop".
    2011-05-15 10:12:45 [INFO] [LocalShops] Loaded Shop "Admin" at [-91, 64, 1], [-79, 66, 6] 2 items - 35ef7550-cb4a-48c9-bd54-2e311d16117f
    2011-05-15 10:12:45 [INFO] [LocalShops] Adding Shop "Admin" at [-91, 64, 1], [-79, 66, 6] 2 items - 35ef7550-cb4a-48c9-bd54-2e311d16117f
    2011-05-15 10:12:45 [INFO] [LocalShops] Loaded with 1 shop(s)
    2011-05-15 10:12:45 [INFO] [LocalShops] Version 3.0.3-Beta is enabled: abc6a9bb-5ef9-4fa0-a071-d392d9a77afd
    2011-05-15 10:12:45 [INFO] [LocalShops] BOSEconomy hooked.
    2011-05-15 10:12:45 [INFO] [LocalShops] Loading BOSEconomy: Yes
    2011-05-15 10:12:45 [INFO] [LocalShops] Essentials Economy hooked.
    2011-05-15 10:12:45 [INFO] [LocalShops] Essentials Economy: Yes
    2011-05-15 10:12:45 [INFO] [LocalShops] Loading iConomy 4: No
    2011-05-15 10:12:45 [INFO] [LocalShops] Loading iConomy 5: No
    2011-05-15 10:12:45 [INFO] Lockette version 1.3.6 is being enabled!  Yay!  (Core version 1.0)
    2011-05-15 10:12:45 [INFO] Lockette: Detected craftbukkit build [766] ok.
    2011-05-15 10:12:45 [INFO] [Permissions] version [2.7.3] (Phoenix)  loaded
    2011-05-15 10:12:45 [INFO] [LocalShops] Attached to Permissions
    2011-05-15 10:12:45 [INFO] Lockette: Linked to Permissions plugin version 2.7.3
    2011-05-15 10:12:45 [INFO] Lockette: Ready to protect your containers.
    2011-05-15 10:12:45 [INFO] [Prefixer] v2.2 has been enabled.
    2011-05-15 10:12:45 [INFO] [SpawnControl] version [0.8.1] loaded
    2011-05-15 10:12:45 [INFO] [VanishNoPickup] 1.7 enabled.
    2011-05-15 10:12:45 [INFO] [WolfPound] - Version 0.12 Enabled
    2011-05-15 10:12:45 [INFO] [WolfPound] using BOSEconomy!
    2011-05-15 10:12:45 [INFO] [WolfPound] using Permissions
    2011-05-15 10:12:45 [INFO] WorldEdit 4.4 enabled.
    2011-05-15 10:12:45 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-15 10:12:45 [INFO] Done (0.147s)! For help, type "help" or "?"
    
    This is what you mean right?

    -------------Edit----------
    Hm, well completely removing essentials seemed to fix it. Something to do with essentials econ, maybe?
     
  10. Offline

    xjustinjx

    So, in my localshops, everything my shop is buying/selling has 6 zero's at the end of it (400.000000) BOSEconomy doesnt even use a decimal point :p how can i remove those very annoying zero's. Thanks.

    Essentials econ F**ks everything up, i just went into localshops.jar yesterday, and deleted all .class files that said essentialseco in the name. and then localshops worked like a pro. well, i have a lot of decimal points in the shops now. but they are all 0's and are just a bit of an eye sore :p BUT IT WORKED! lolz

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 16, 2016
  11. Offline

    cereal

    Impressive...but that will only fuck more shit up and I don't support modified versions of my releases (I'm shocked it didn't crash).

    Yup it sure does. It'll get fixed in the next version.

    That's exactly what I needed to see! You had two issues. One, you had two Economies (though they weren't conflicting, it just chose to use Essentials over BOSEconomy (don't know which you actually use). Secondly, you had an outdated version of Essentials which was causing the error.

    Price lists aren't exactly the point of this plugin...at all. And I'm missing the point on the permissions sentence, but read the 1st post and you'll see all the Permissions are broken down to the individual components which you can easily restrict or allow access the specific portions you want enabled.

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

    NickBrahz

    @cereal need some help, using CB766 but for some reason Localshops will not start up
    Code:
    2011-05-14 18:31:18 [SEVERE] null loading LocalShops v3.0.3-Beta (Is it up to date?)
    java.lang.NullPointerException
        at net.centerleft.localshops.ShopData.loadShop(ShopData.java:347)
        at net.centerleft.localshops.ShopData.loadShops(ShopData.java:119)
        at net.centerleft.localshops.LocalShops.onEnable(LocalShops.java:110)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:632)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:218)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:116)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:94)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:287)
        at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadall.java:19)
        at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:46)
        at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:41)
        at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:434)
        at com.earth2me.essentials.Essentials.onCommand(Essentials.java:317)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  13. Offline

    TheBarkingFrog

    Thanks, you were right, it's working perfectly now :D
    About using 2 economies, I'm using BOSEconomy as primary, so i don't know why Essentials Econ is showing up. Do you know a way to disable that, or does it really matter?
     
  14. Offline

    Zane B.

    it's an essentials error, look at the middle, try updating, but i suggest using something that doesnt try to TAKE EVERYTHING OVER, like Commandbook, by sk89q.
     
  15. Offline

    NickBrahz

    Ok i switched to CommandBook, but now i get this error message
    Code:
    2011-05-15 14:37:06 [INFO] [LocalShops] Permissions found.
    2011-05-15 14:37:06 [SEVERE] null loading LocalShops v3.0.3-Beta (Is it up to date?)
    java.lang.NullPointerException
        at net.centerleft.localshops.ShopData.loadShop(ShopData.java:347)
        at net.centerleft.localshops.ShopData.loadShops(ShopData.java:119)
        at net.centerleft.localshops.LocalShops.onEnable(LocalShops.java:110)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  16. Offline

    Qanthelas

    Just a quick update: I was getting errors in the server.log about my shop and things about "has bad Item Data (78:0)" and "has bad Item Data (09:0)" so I just removed the two offending entries and now the shop seems to work again :)

    Bukkit: RB 740
    localshops 3.0.3

    Shop was originally made in localshops 2.2.1
     
  17. Offline

    Zane B.

    try taking out all the ur plugins except localshops, and your economy plugin and see if u still get an erroe]r
     
  18. Offline

    NickBrahz

    Tried running with just Localshops + iConomy, same error
     
  19. Offline

    Zane B.

    Latest iconomy?
     
  20. Offline

    cereal

    Please enable debugging (see How to enable Debugging & Obtain the Logs) and attach the log files after you've done that. It will certainly help out quite a bit!
     
  21. Offline

    haisan

    As earlier, "/shop list buy", "/shop list sell", do I use?
    Do you have a command instead?
     
  22. Offline

    cereal

    /shop browse buy and /show browse sell
     
  23. Offline

    haisan

    Thanks for the reply right away!:)
     
  24. Offline

    Alicard

    Hey i'm having a problem with buying and selling. I'm using the latest local shops jar download and server build 740. All commands work except the ones that buy and sell. I'm set as an admin currently however I don't think that matters right? At this point I just installed the mod and haven't had a chance to get someone else test it to see what happens for them but I will tomorrow.
    Any tips would be much appreciated!
     
  25. Offline

    haisan

    "Dark Green Wool" is a "Light Green Wool", and "Blue Wool" is a "Light Blue Wool" is recognized incorrectly. As well "Cactus Green" is "Cactus" becoming.:(
     
  26. Offline

    fugue2005

    no more /shop reload?

    and /shop browse is no longer alphabetical?
     
  27. Offline

    Masau

    Can you sort /shop list and /shop browse alphabetically?
     
  28. Offline

    Flameshocker

    you should add /shop list buy and /shop list sell :)
     
  29. Offline

    SirNasty

    So is there anyway that i could set the shop to sell and buy everything and have all items but not have to add them all myself?
     
  30. Offline

    NEO

    @cereal

    My users before updating to 3.0+ used localshops for storage, they just never set the item up for sale and would remove it later. Now they say they cant remove items unless there for sale. I was wondering if this was a bug, or just part of how localshops works now.
     
  31. Offline

    cereal

    Looking into that...doing some bug fixes as we speak ;)
     
Thread Status:
Not open for further replies.

Share This Page