[INACTIVE][ECON] SignShop v1.1 - Commandless Multi-World Player Owned Shops [860] iConomy

Discussion in 'Inactive/Unsupported Plugins' started by Ne0nx3r0, May 3, 2011.

  1. Offline


    Development on this plugin has stopped.
    Commandless Player Owned Shops
    Current Version:​
    v1.1 [860] June 19th, 2011

    *Requires iConomy (v5.0)​

    Some notes about upgrading from < 1.0:
    1. config.yml is the new messages.yml, you can delete messages.yml
    2. BACK UP YOUR sellers.yml BEFORE MAKING ANY CHANGES OR UPDATING (sorry, wanted to make that clear.)
    Create signs to sell goods from a chest you specify; allow your players to setup and run their own shops!

    Supported Signs:
    Supported Signs (open)

    [Buy] - Buys an item fro the shop chest for the price specified on the 4th line
    [Sell] - Sells an item to the shop chest for the price specified on the 4th line
    [Donate] - Gives an item to the shop chest
    [Slot] - Gives a random item from the selected chest items (not the entire inventory) to the player
    [DeviceOn] - Turns a lever on
    [DeviceOff] - Turns a lever off
    [DeviceToggle] - Toggles a lever
    [Device] - Temporarily turns on a lever
    *[gBuy] - Buys an item from the shop, but the owner receives no money
    *[gSell] - Sells an item to the shop, and the player receives money, but not from the owner.
    *[iBuy] - Buy an item from the "shop", but really the item is created from scratch whether the shop has it in stock or not.
    *[iSell] - Sells an item to the "shop", but really the item just disappears.
    *[Day] - Turns the time to day
    *[Night] - Turns the time to night
    *[Rain] - Turns on rain + thunder
    *[ClearSkies] - Turns off rain + thunder
    *[Repair] - Repairs the current item
    *[Heal] - Fully heals the player

    *Must be OP/SignShop.Admin to create

    Usage (open)

    1. Create a sign. Line 1 needs to be [Buy] (or whatever type of sign). Line 4 needs to be the price (aka 50, 50.25) of your item(s). lines 2&3 can describe your item(s), or be blank.
    2. While holding redstone, click on the sign. (you should get a message)
    3. Find a chest you want to use as your storage, put ONLY the items you want the sign to sell in it. For example, if you have a stack of 64 Cobblestone and want to sell two at a time, put only two in the chest.
    4. Click on the chest with redstone. (you should get a message)
    5. Put all of your cobblestone in the chest
    6. Now players can click on your sign (no redstone needed), purchase the cobbletone two at a time! (right click to buy without confirmation dialog)
    Note - One chest can maintain multiple signs, just take everything out and set the new sign up, then put all the items for both signs in so the shop has something to sell.

    Permissions Nodes:
    Permissions Nodes (open)

    • SignShop.Signs.*
    • SignShop.Admin.*

    Version 1.1
    • Bug fix - creates the plugin directory if needed.
    Changelog (open)
    Version 1.1
    • Bug fix - creates the plugin directory if needed.
    Version 1.0
    • Added localization, scheduled saving, custom signs, better localized logging, backing up of sellers.yml, proof of god, etc.
    Version 0.7.2
    • Lost to the world
    Version 0.7.1
    • Bug fix for iSell/iBuy signs
    Version 0.7
    • Added a small gaggle of new sign operations, small bug fixes. updated messages.yml
    Version 0.6.1
    • Moved gBuy/gSell to OP/Admin operations, as gBuy is exploitable.
    Version 0.6
    • Added gBuy/gSell signs, renamed config.yml to messages.yml
    Version 0.5.4
    • Bug fix for slot shops
    Version 0.5.3
    • Bug fix, added check/msg for missing chests
    Version 0.5.2
    • Bug/exploit fix - cancels event if the user does't have enough items
    Version 0.5.1
    • Bug fix for signs clicked with less than 3 characters
    Version 0.5
    • Added Permissions support, added configurable messages, added [Redstone] sign. Set plugin to respect events being cancelled. Various bug fixes and code maintenance.
    Version 0.4.2
    • Bug fix with confirmation messages showing the owners name instead of the players name
    Version 0.4.1
    • Bug fix with [Sell] signs paying shop owners
    Version 0.4
    • iConomy 5.0 support, also added Sell, Donate, Slot, iBuy, iSell signs
    Version 0.3.1
    • Bug fix
    Version 0.3
    • iConomy 5.0 compatibility, also signs now need [Buy] to be the first line. (Making room for [Sell], [Donate] signs)
    Version 0.2
    • Added yml persistence
    Version 0.1
    • Initial release

    Known Issues:
    • Conflicts with Essentials; disable signs in the essentials config before adding this plugin.
    Coming soon:
    • Extra storage (still working on it... infinite storage would be better, and might be possible ;))
    • I develop this plugin because I enjoy it and want to give back to this community; however if you are interested in supporting it's future I gladly accept donations via PayPal, and BitCoin.
    Do you like this plugin? Click like so I know! ; )
  2. Offline


    I'm going to take a look at updating this tonight with the 815 build; with any luck that will hold until a recommended build comes out. (to be fair it works fine, if you are using the RB)
  3. Offline


    815 is the build for 1.6.4, and this pisses me off that they haven't done a single build for 1.6.5, because a quite major tool bug is fixed in 1.6.5...
  4. Offline


    We're supposed to be hiding on 1.5 :p
  5. Offline


    It doesn't work for me with the RB. 803
  6. Offline


    What error are you getting?
  7. Offline


    So hopefully a 815 version by tomorrow? :)
  8. Offline


    Actually on 815 I'm not seeing any errors; I did have to recreate some signs on my test server... I'll need to play with it some more.
  9. Offline


    actually, it works if you hit a sign twice, but not if you right click it once
  10. Offline


    I'm getting this error when starting the server:

    2011-05-26 18:04:52 [SEVERE] Error occurred while enabling SignShop v0.6.0 (Is it up to date?): For input string: "NewWorld"
    java.lang.NumberFormatException: For input string: "NewWorld"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    at java.lang.Integer.parseInt(Integer.java:481)
    at java.lang.Integer.parseInt(Integer.java:514)
    at Ne0nx3r0.SignShop.Storage.Load(Storage.java:47)
    at Ne0nx3r0.SignShop.Storage.<init>(Storage.java:22)
    at Ne0nx3r0.SignShop.SignShop.onEnable(SignShop.java:53)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    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:265)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    I think this started happening when I updated to the latest build for Bukkit. It also throws an error when I try to click a sign.
    Also 'NewWorld' is my world name

    I'm using your newest download now. It still does this same thing.
    You have my personal favorite and easiest to use shop plugin so I'd like to get it working :(
  11. Offline


    Can someone show me an example of what a buy sign looks like? I'm getting a headache because I've tried a bazillion times.
  12. Offline


    Can you PM me the lines from your sellers.yml? At least the first few sets, it seems like there's an issue with how it's storing the data.

    Should be

    Line 1: [Buy]
    Line 2: Whatever
    Line 3: Whatever
    Line 4: 10.0

    and make sure you are clicking on it while holding redstone

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


    It doesn't appear to be working on Build 818 and I don't seem to be getting any errors in CONSOLE or 'server.log'
    EDIT: Don't Worry, I'm an idiot!
  14. Offline


    ahm its possible that the plugin dont support double chests?
  15. Offline


    I like the link to the image, heh.

    I've been meaning to add this to the plugin; I may steal the MinecartMania's setup for double chests.
  16. Offline


  17. Odd shop, i cant add to the sign -> 1 stack of item for 50 coins for example, if i put 6 stacks in the chest -> it gives all for 50 coins.
  18. Offline


    Read the instructions again; you need to put in only the amount you want to sell when you initially setup the store.
  19. so when i create the shop, i put the 50 coins for sugar cane example., before hitting with redstone i put 1 stack of cane inside, then create shop, then add rest of stacks and it will sell 1 stack per 50 coins not all?
  20. Offline


    First off I'd like to say, I love the plugin. It seems like a nice, easy way for players to buy and sell from each other, which I've wanted for a while. I didn't spot my particular issue mentioned in the thread, so I apologize if it's a repeat. But, it'd be great if there were a way to limit how far the chest can be, because players can link to any chest in the world (including another players) and essentially sell themselves other players' chest contents for free. This seems like a pretty significant exploit.
  21. Offline


    The plugin should respect cancelled events; so if you have a protection plugin that prevents the chest from being opened/clicked it wont create the shop.
  22. Offline


    I'm able to buy items from a chest locked with LWC that I don't own.
  23. Offline


    its not letting me link up the sign and the chest
  24. How you you del a sign shop????
  25. Offline


    omg thanks for adding the[gBuy] and [iBuy] this is the plugin i was looking for ages now.. THANKS :D

    Please make a video tut for all the supported signs.. v_v makes it much easier to understand..

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


    essentials economy?
  27. Offline


    Trying to make iBuy and iSell shops as soon as I click the sign with redstone it says I'm selling or buy infinitely for 500 dollars, no item name. I try to then go click on a chest with the item in it and it says nothing. I then try to use the sign, somehow it sells me a block of air and boom internal server error and my player is corrupted.
  28. Offline


    That's impressive. I'll see what I can find out tomorrow, I suppose I'll roll back the link to 0.6.1 for now.
  29. Offline


    So what's the difference between [gBuy] and [iBuy]?
  30. Offline


    With gBuy, the items have to exist in the chest.

    After some tinkering, this is indeed my fault; I've corrected the issue in 0.7.1.

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


    What quick and effective support you offer. You could teach Logitech a thing or two.

Share This Page