[INACTIVE][ECON] SignShops v1.2 - Commandless Multi-World Player Owned Shops (iConomy) [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Specops343, Jun 30, 2011.

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

    Specops343

    [​IMG]
    Commandless Player Owned Shops
    Current Version:​
    v1.2 [1000] June 30th, 2011
    Download | Mirror | Source Code (Jar)


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

    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:

    Nodes (open)

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


    Video (open)






    Changelog:
    Version 1.2
    • Updated by me, Specops343
    • Updated to latest RB
    Version 1.1
    • Bug fix - creates the plugin directory if needed.
    Known Issues:
    Note: I am taking over updating this plugin from ne0nx3r0, who is stopping updating his plugins. For more info, see here.

    Want to get a response from me? Do @Specops343 at the start of your post.
     
    maetthew, Juze and Greylee like this.
  2. Offline

    ashour

    I LOVE THIS PLUGIN!
     
  3. Offline

    bevso

    not to be a bitch, but i cannot get [slot] [ibuy] or anything other than [buy] or [sell] to work on a sign. And im an admin with * commands and an op :/. also nothing else wants to work. i cannot get redstone to work on the signs.

    Hope these bug issues actually help you out :D
     
    randomguy50 likes this.
  4. Offline

    Specops343

    @bevso Alright, ill take a look at that, all i tested was [Buy].
     
  5. Offline

    Arubian

    THANK YOU
     
  6. Offline

    MetalMadness

    I was looking for this. why is it down
     
  7. Offline

    Specops343

    Down?
     
  8. Offline

    Asphodan

    Your plugin name is SignShop, while the JAR is named SignShops. Really messed with mah wget, when updating from the previous plugin.

    Also; it would be nice to implement a configurable Transaction Cooldown rate.

    You can just repeatedly, quickly right-click a sign and lag the server to hell.

    Have it not process a player's event if they've attempted to make a transaction within, say, three seconds.

    Not just disallow a transaction every three seconds, but every attempt between 0-3 resets the timer.
     
  9. Offline

    vgmarcusvg

    Uhm.. I Need Help.
    I Dont Know What It Is But When Im Buying Or Selling Etc I Get The Items Im Buying If I Have Enough Money, But I Wont Lose The Money I Buyed It For. Please Reply
    [​IMG]
    Commandless Player Owned Shops
    Current Version:​
    v1.2 [935] June 30th, 2011
    Download | Source Code (Jar)

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

    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:

    Nodes (open)

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


    Changelog:
    Version 1.2
    • Updated by me, Specops343
    • Updated to latest RB
    Version 1.1
    • Bug fix - creates the plugin directory if needed.
    Known Issues:
    • Conflicts with Essentials; disable signs in the essentials config before adding this plugin.
    Note: I am taking over updating this plugin from ne0nx3r0, who is stopping updating his plugins. For more info, see here.[/quote]
     
  10. Offline

    Arubian

    guys give the guy a break he just got this plugin up the old guy that handle this plugin left the plugin so give him a break and wait for him to get every thing ready
     
  11. Offline

    Asharad

    This is working good. We have a problem with items that share ID numbers, such as dyes. All dyes use ID #351, so it gets confused when I sell different dye colors from the same chest. Think you could fix that in a later build?
     
  12. Offline

    Specops343

    Sure, ill take a look into that.
     
  13. Offline

    SamuelMaxi

    When i install the plugins and everything, i can't place blocks anymore, they just disappear and go back to my hand, what i did wrong?
     
  14. Offline

    mika96

    Is this working with minecraft 1.7.2. I can't get this work at all.
     
  15. Offline

    xtremekiller

    The [iBuy] and [iSell] system does work! It is caps sensitive the I has to be lowercase while the B in buy has to be capitalized. I hope this helps :D

    This mod DOES work with 1.7.2 make sure your bukkit hosting software is up to date. If this does not work, try deleting the JAR file from your plugins and re-install it. I hope this help :D
     
  16. Offline

    nick331999

    Hello this plugin is working for me great but i don't know how to use it so i was wondering if someone could please make a tutorial video and post it here that would really help me and probaly some other people thanks.:D
     
  17. Offline

    xtremekiller

    I may be able to help you with out a video. First thing you want to do is create a sign and place it any were. On the first line you may add
    [Buy] [Sell] [iBuy] [iSell] and any other of the commands from the Supported Signs spoiler (Note! caps sensative!)

    Now of the forth line add the price. For example 10 (The price will be 10 of the currency)

    Finally, you may add what ever you like to lines 2 and 3. For example I like to put (format below)

    64 Cobblestone
    For

    Now you may click confirm, your sign should look like the following format

    [Buy]
    64 Cobblestone
    for
    10

    The last step in this tutorial is setting up the chest (yes you have to have a chest even with [iSell] and [iBuy] The best defines the amount of the item we want to sell.
    First place a chest any were you want and put the item you want to sell in it (64 cobblestone from the example above)

    Take red stone and right or left click on the sign we created, you should get a message some what like the following.
    "Sign location stored"

    Now go to your chest and left click on it (Warning it is side sensitive if you use a large chest and you get the message "Your shop is empty" but you have some thing in it, left click on the other half of the chest.

    You should get a message saying some thing like the following
    "Shop created selling 64 cobblestone for 10" (from example above)


    I hope this tutorial has been helpful for any one needing help with this mod :D
     
    nick331999 likes this.
  18. Offline

    MetalMadness

    My users cant sell their items. Ops and *.* can. I just want my users to use the signs and not make them

    If I disable the signs in essentials, this plugin doesnt work. if I enable them, players cant sell. Help!

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

    19jojo93

    Hi :) I started using this plugin a few days ago, and its been working fine, just the kind of shop plugin I was looking for!

    However, last night it stopped working for some reason, and I really can't find out why!! Signs are ofcourse disabled in Essentials, and I havn't added any new plugins which could be conflicting.

    Here is my rather large error log for SignShop:
    Show Spoiler
    [SEVERE] Error occurred while enabling SignShop v1.2 (Is it up to date?): while scanning a simple key; could not found expected ':'
    while scanning a simple key
    in "<reader>", line 905, column 9:
    chestwor
    ^
    could not found expected ':'
    in "<reader>", line 905, column 17:
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.removePossibleSimpleKey(ScannerImpl.java:456)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchStreamEnd(ScannerImpl.java:521)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:248)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:82)
    at Ne0nx3r0.SignShop.Storage.<init>(Storage.java:30)
    at Ne0nx3r0.SignShop.SignShop.onEnable(SignShop.java:113)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:151)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    Can anyone please shine some light on this for me? :)
     
  20. Offline

    dwdminecracked


    Where it says line 905 etc... there seems to be either a missing Object for example ' ' in your permission nodes or the wrong syntax. try looking into you permissions and make sure everything looks right in those lines given above.
     
  21. Offline

    19jojo93

    Well I had a look but its nothing to do with my permissions config, and besides I just have 433 lines in my Permissions configs, this error is line 905 somewhere. Same for my SignShop config theres only 166 lines in there, and I cant find the string 'chestwor' in any of my configs.
     
  22. Offline

    Dev

    I just wanted to give a huge thank you for taking over this plugin. I had just done all of our signs in the server store (coming from signtrader), and was partially devastated by the news.

    If you fix the bug about repairing broken tools, and getting different colored wool from the shops, you can expect to see a donation coming your way.

    EDIT: As well as the NPE's and device signs.
     
  23. Offline

    MoistBread

    Wonderful plugin, but I have a question: Is there anything stopping users from deleting shop chests? As an admin, I set up a test dirt shop and my brother, who is deopped and only has permissions for signshop.signs.*, could delete the shop chest and steal all of its items.
     
    Exedon likes this.
  24. Offline

    Stabhappy

    Doesn't seem to be as verbose as 1.1 - doesn't tell you what you've sold/bought and doesnt tell you how much it cost.

    Edit: Scratch that. I had renamed the Buy and Sell signs to ShopBuy and ShopSell while there are problems with Essentials Signs, and had forgot to change the strings corresponding to messages.
     
  25. Offline

    pwnu2387

    Nice. I use it on my server and is a player favorite so they dont need to type commands and what not. May i suggest though you should make buy and sell somehow on the same sign?
     
  26. Offline

    nick331999

    Thank you very much
     
  27. Offline

    sukosevato

    Could you also look into making it so that when you set up an iBuy/iSell shop. Aka a servershop, the person who set it up doesn't get a message everytime something is sold?

    I used to use this plugin on a cracked server and had an account 'Serverbank' which had set it all up. Though recently we changed in an online server and I can no longer use that account. So I'd have to do it with my own but then I would get messages about stuff being sold the entire time. And on a rather big server that really spams your chat.

    Would be awesome if that is possible.

    Also another thing, If you would be able to add that, you'd be my hero. Is if you could make it log who sells what / how much. Right now I have founddiamond, but that only logs diamonds being mined. And I really can't do anything against people mining a bunch of gold and then selling it. No way I could never know / detect such cheating really. If you could make it possible to log who sells what, and if I then see 1 person selling like 100 gold all the time. Then I know immediately he's using x-ray. Since otherwise he'd have a LOT of other resources to sell too.

    Those 2 things and this plugin would be perfect!

    Thanks a lot btw for continuing this plugin!
     
  28. Offline

    Sphynks

    How do i make it use iConomy? cos when i buy/sell i dont gain/lose money when i do /money in iconomy thing my balance is still the same
    also when i do e.g
    [buy]
    5
    3
    1
    it becomes
    [buy] (this becomes blue)
    5
    3
    $1
    and there infinite
     
  29. Offline

    The1ToFear

    This is the error I am getting. Is it a conflict with another plugin?
    I am trying to install Permissions, and I try to install SignShops (I was using it before) and now it will not work.

    ALSO: I am using iConomy 5, everything is up to date.

    Am I doing something wrong? D:
     
  30. Offline

    harison

    Can you make this for 3co economy?
     
Thread Status:
Not open for further replies.

Share This Page