[INACTIVE][ECON] LocalShops - Please Close this Thread

Discussion in 'Inactive/Unsupported Plugins' started by Jonbas, Mar 1, 2011.

  1. Offline

    Jonbas

    LocalShops has moved to a new thread. Please go here.

    Thank you for all of your support and feedback.

    -Jonbas
     
  2. Offline

    LokeDK

    I got the same issue, but then noticed that the .zip download is still containing the version 1.1b. Downloading the .jar (1.4b) solved the issue.

    Looking forward to experimenting with this. It looks as just what my server needs.
     
  3. Offline

    iPWNtehN00B

    Just tried that for my issue and it worked great thanks :)
    I love this plugin!

    Thanks heaps!
     
  4. Offline

    Wulfspider

    I am getting the same error as Quenaros and using the same setup minus iMonster.

    Also, notice that it is showing it as version 1.1b, when I downloaded 1.4b.

    Edit: Ahhh, I see that the full download zip is outdated, the .jar link is 1.4b. Seems to be working fine now.
     
  5. Offline

    KrisEike

    Very nice plugin, and helpfull developer! =D
     
  6. Offline

    Quenaros

    Thanks that fixed it.
    Now I have another problem. If I buy/sell stuff it doesn't update my iConomy account or check if I have enough coins :/

    [​IMG]
     
  7. Offline

    Maskur

    From what I read it sounds pretty good and it doesn't need MySQL which is a big plus for me. Now if it would be possible to add NPCs, I would definitly use your plugin!
     
  8. Offline

    Jonbas

    That's because you are an owner or manager of the shop. If you own the shop you already own what's in it, so you don't pay for it. (looks like i need to fix the message)
    --- merged: Mar 4, 2011 4:56 PM ---
    I've linked to the source on the first page. You're welcome to fork it and do your thing. But what benefit would MySQL give us? We're only dealing with a couple KB of data max.
    --- merged: Mar 4, 2011 4:59 PM ---
    Sounds like your iConomy crashed. it was happening to me a lot until I renamed their jar to iConomy.jar (instead of whatever it was when I downloaded it.) You'll have to stop your server and restart.
    --- merged: Mar 4, 2011 5:01 PM ---
    Sorry about the .zip I've updated it now.
     
  9. i have been recently using the NPCTrader plugin, simply because it was the only one that had a local effect, and a simple buy/sell ability that was restricted to permitted owners. However, the NPCTrader development isn't going in the direction that i was hoping for.
    THIS is exactly what i'm looking for :D I just need the customizable size for the shops, and all of the necessities will be done. NPC's aren't needed for me, although they do add a nice touch.
    I have also been worried about users selling damaged items for instant repair. How hard would it be to restrict it so that items that are over 50% damaged (or a configurable value), are not bought by the shop? THAT would make my (and prolly many more people's ) day.

    Just curious... i know with the iConomy iCShop, there was a height issue, where shops reached from bedrock to sky. Just wanting to make sure that wasn't a problem here :)
     
  10. Offline

    Jonbas

    Shops have a width and a height. (Currently they are 10x10x3) In the next minor update (coming out in about 30 mintues) I'll give you the ability to set the width and height for all shops in the map.

    A minimum health is something I can add in later. I'll plan on that for the next more major update when I try including individual shop sizes.
    --- merged: Mar 4, 2011 5:37 PM ---
    Just released version 1.5b (the jar and the zip are both updated) Minor fix with the messages you get when you buy and sell if you own the shop, and added the properties: shop-width and shop-height.

    For now shops are square, but i'll add custom shapes at some point.
     
  11. Offline

    contex

    I've linked to the source on the first page. You're welcome to fork it and do your thing. But what benefit would MySQL give us? We're only dealing with a couple KB of data max.
    --- merged: Mar 4, 2011 4:59 PM ---

    True, but I'd like it to manageable through a website, anyhow thanks for creating the plugin! I'll work my way to MySQL myself :)
     
  12. Offline

    Volander

    When I buy and sell stuff I dont get the money taken from or given to my iConomy account.

    - Volander
     
  13. Offline

    Jonbas

    Are you the owner or manager of the shop?
     
  14. Offline

    Volander

    None of them, but I should still be deducted money when I buy right? and get money when I sell (from the shop to me if I sell stuff to the shop)
     
  15. Offline

    Jonbas

    Which version of LocalShops are you using? Also, which player used the command /shop create to make that shop?

    If you are able to, can you post the content of the shop file that you are trying to buy and sell from? (plugins/LocalShops/shops/shopname.shop)

    The person that used the command /shop create is the shop owner. It is their bank account that gets used anytime someone buys or sells from the shop. So, if I were to go into their shop and buy something I would pay them for it.

    If you are the owner of the shop and buy or sell from it, you do not pay yourself for the item.
     
  16. Offline

    Volander

    AHHH, I need to RTFM, when I'm shop owner I dont get or recieve money from making transactions with the shop... go shoot me..
     
  17. Offline

    iPWNtehN00B

    Just updated to 1.5 and whenever I try and sell something I get told "An internal error occurred while attempting to perform this command".

    Also, when I add things to the shop then try and buy them, I'm told the shop doesn't stock the item I just added.

    How can I fix this?
     
  18. Offline

    wankerpants

    When I do any /shop sell commands I get this error in the console and ""An internal error occurred while attempting to perform this command"

    Code:
    17:11:04 [INFO] Starting minecraft server version Beta 1.3
    17:11:04 [INFO] Loading properties
    17:11:04 [INFO] Starting Minecraft server on *:25565
    17:11:04 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-493-g8b5496e-b493jnks (MC: 1.3)
    17:11:04 [INFO] Preparing level "world"
    17:11:04 [INFO] Preparing start region
    17:11:05 [INFO] LocalShops: Permissions not found.
    17:11:06 [INFO] [iConomy] Logging is currently disabled.
    17:11:06 [INFO] [iConomy] v4.3 (Lind) loaded.
    17:11:06 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    17:11:06 [INFO] LocalShops: Attached to iConomy.
    17:11:06 [INFO] LocalShops: iConomy found.
    17:11:06 [INFO] LocalShops: Loaded 1 shop(s).
    17:11:06 [INFO] LocalShops: version 1.5b is enabled!
    17:11:06 [INFO] Done (0.216s)! For help, type "help" or "?"
    17:11:15 [INFO] 143 recipes
    17:11:15 [INFO] player [/1.2.3.4:01234] logged in with entity id 250
    17:11:27 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin LocalShops v1.5b
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:33)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:183)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:619)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:582)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:576)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            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:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at net.centerleft.localshops.Shop$Item.access$4(Shop.java:58)
            at net.centerleft.localshops.Shop.itemSellAmount(Shop.java:242)
            at net.centerleft.localshops.Commands.sellItemShop(Commands.java:416)
            at net.centerleft.localshops.LocalShops.onCommand(LocalShops.java:165)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:31)
            ... 12 more
    

    I think the error is just not having money in shop account to buy the item. could be wrong though.
     
  19. Offline

    FLOKER

    Great plugin! I'll use it definately for my upcoming server.

    An additional idea would be giving limits for the /shop set sell - command. So that you as a shop-owner wants to buy e.g. wool from your customers. To prevent that they sell their wool until you are busted you could add a maximum value of e.g. 40 so that you will only buy wool from your customers until your stock reaches 40.

    All in all great plugin! Any ideas of making it in a visual way instead of command-based?

    Waves'
     
  20. tis working well :D

    Is i missing something, or is there no way to move a shop? :S
     
  21. Offline

    iPWNtehN00B

    Anybody have any ideas?
     
  22. Offline

    korbat

    Hello,

    I installed this plugin and i get a whole bunch of errors when i try some commands like: /reload shop.
    And if i want to create a shop it gives: An internal error occured while attempting to perform this command! :(
    And if i try again to make a shop it says: could not create shop, it overlaps with shop ...!!! :(
    And i even can't see in the files that there are shops created
    and if i try to use: /shop destroy it says: you must be in a shop to use: /shop destroy, but i am standing in a shop!!!
    please can somebody help me??? :(
    i really want this plugin working.

    send a mail to: matthias.temme@live.nl

    Thanks, korbat
     
  23. Offline

    unrivaledneo

    I got it working, the .zip didnt contain the right shop version but the standalone jar did and works perfect.
     
  24. Offline

    Phaedrus

    I'm looking forward to setting this up. Looks fantastic.
     
  25. hmm... is it in teh plans to put a cap on the number of items a shop can hold? (I'm wanting to setup a system where users can buy a shop license, and depending on their license, they can hold X number of items in their shops globally)
     
  26. If you add NPCs (that can be placed anywhere in the store) then I would love you forever.

    It would be even nicer if they'd tell a custom-set message to you when you walked into the shop.
     
  27. Offline

    Hoddie54

    CB Build: 440
    iConomy: 4.3.(3)
    Code:
    2011-03-05 13:41:56 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin LocalShops v1.5b
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:638)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
    at java.util.ArrayList.rangeCheck(ArrayList.java:571)
    at java.util.ArrayList.get(ArrayList.java:349)
    at net.centerleft.localshops.Commands.addItemShop(Commands.java:603)
    at net.centerleft.localshops.LocalShops.onCommand(LocalShops.java:167)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more
     
  28. Offline

    HoppyDragon

    Having the same error with CB #493
     
  29. Offline

    Anihilatore

    It says that It cant find iConomy =(
     
  30. Offline

    SplenectomY

    Can someone break down for me what the individual shop properties files control? Specifically:

    unlimited=(true/false)
    1=0,5;1,2;1,63 - (note, I know this means stone is purchaseable for 5 and sellable for 2 and there is 63 stock, but what does the number 0 represent?)

    Thanks in advance.
     
  31. Offline

    Jotschie

    @ SplenectomY:
    unlimited stands for the money a shop pays to a player when selling stuff.
    If you turn it to false (standard), money is deducted from the owner's account.
    If you turn it to true, the shop owner doesn't lose any money when someone is selling goods to his shop.
    I hope that I am right with this, that's how it worked for iCShop...

    Another thing:

    It would be great if there was an option for disabling the usage of a stock in the individual shop properties file.
    Then it would be possible to create a shop simliar to a global shop, but with the important aspect that the player still has to be physically in the shop...
     

Share This Page