[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

    Seive

    I would like to request multi-chest support for one sign :).
    Other then that awesome mod :D.
     
  3. Offline

    routahhh

    Hey, cool plugin, one prob i noticed is, if someone uses a sign i made, say a repair one for 5 gold, i dont get any money.

    Tried a buy one aswell and didnt notice any money, using /money seems to stay the same =]
     
  4. Offline

    strigh1981

    Looks great, but when anyone want to buy in my shop he can't ! i've try to put this permission: SignShop.Signs.* but he does not work :/ please anyone can help me :) ? thanks you for this plugin.
     
  5. Offline

    The1ToFear

    This is happening to me also. I'm not receiving ANY money for any shops I have made.
    I'm using iConomy 5.
     
  6. Offline

    Sweet_Mafia

    What do I put on my sign? I want to use iconomy dollars...

    I want to sell 1 cart for 10 dollars, so people can buy from the chest.
     
  7. Offline

    Greylee

    Love this plugin but i have a small problem, i want to disable all notifications when people are buying from [iBuy].
    Putting an # in the config did atleast shorten the messade down, but is there a way to disable it all the way?
     
  8. Offline

    Specops343

    Hey guys, sorry, I really need to watch this thread a little more xd
    I'm going to take a look into all your problems tonight individually.
    But if you guys really want to get a hold of me, make sure you tag me with a @Specops343.
     
  9. Offline

    DtjhRofl

    i cant get permissions to work!!! It worked fine in the older versions of this plugin! Please Help
     
  10. Offline

    Siloxis

    Hey there,

    first: Best Addon ever! Really Enjoy it with some Friends on our MC Server.
    But there is a Problem, after each Server Reboot, the Links of Signs and Treashures is deleted and i have to relink them manually every single one -.-

    Whats the Problem?

    How can i fix this?

    Greetings, Siloxis
     
  11. Offline

    fol1n

    All of the "Device" Signs are working on levers, but they do not register through the redstone... Please Fix, Thanks!

    EDIT: The Lever only works if facing downward! Better than nothing! :D
     
    nathanaelps likes this.
  12. Offline

    nathanaelps

    I've set up several [DeviceToggle] signs--they trip the lever that they're associated with, but the Redstone doesn't update.
     
    fol1n likes this.
  13. Offline

    thestriker095

    Any chance so we could repair Shears?

    With a [Repair] Sign?
     
  14. Problems I'm having is I have a lot of signs set up for my users and occasionally one or two break. This might be during a /reload. Very annoying and would be much appreciated if you could source the problem.
    Also console spam is caused every time someone buys something, but the transaction isn't flawed in anyway.
    - Dannie
     
  15. Offline

    liveoles

    How can I exactly disable signs in the essentials config? I can't find a value for me to change....
     
  16. Offline

    Specops343

    Alright, I'm making a list right now- and then I'll go test all these errors you guys are having.

    @liveoles Not exactly sure on this, like I said, I'm still learning bits about this plugin, sorry.

    Could you please explain the repairing glitch in a little more detail, so I can reproduce it?

    Also, I noticed some discrepancy's with iconomy myself. I'll look into it tonight, and I guess I'll make a video at the same time.

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

    jumika

    hi
    i get this if i right click on a sign

    Code:
    2011-07-13 19:05:14 [SEVERE] Could not pass event PLAYER_INTERACT to SignShops
    java.lang.NullPointerException
        at me.specops.signshops.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:293)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:552)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  18. Offline

    Dev

    Players can sell damaged tools to iSell signs. I presume this also works for Sell signs, but I have not tested it. Players can also setup a sign selling purple wool, then replace the purple wool with another color wool in the chest, and the sign will sell it anyway.
     
  19. Offline

    Specops343

    I'm definitly looking into that tonight. Also going to do thorough testing of the plugin, and set up git, if I have time :3
     
  20. Offline

    Mimslade

    Plzzzzz can someone help mee! When i am trying to do a [Buy] sign. The buy text gets red and a error shows up that says Error: String index out of range: 1 Plzz if someone can solve this problem i will be very happy :DDDDDDDDDDDDDDDDD
     
  21. Offline

    liveoles

    Conflicts between this and Essentials.
    I have been finding a way to disable signs in Essentials too...
     
  22. Offline

    routahhh

    "Conflicts between this and Essentials.
    I have been finding a way to disable signs in Essentials too..."

    in config file of essentials is disable all signs: true ;)
     
  23. Offline

    thestriker095

    ??
     
  24. Offline

    nathanaelps

    Figured out that if the lever is on the floor, it works. Otherwise, it doesn't. BUT IT'S WORKING! So, we're pretty happy. Thanks.
     
  25. Offline

    Pand3micc

    Hey, this was working just fine for me, until I set up multiple worlds, now i get the "Could not pass PLAYER_INTERACT" that was mentioned earlier.

    Any thoughts?

    Also will you be taking over bluetelepads also? I love that plugin xD

    edit: never mind, I see you already have.

    Okay this needs to be fixed, badly.

    I did a lot of testing and figured out this is exactly whats going on:

    Every time I add or remove a world, the plugin Breaks, the PLAYER_INTERACT error comes up and no signs work.

    So I back up my sellers.yml and let it make a new one next time it loads.

    There's now a blank sellers.yml and the plugin works fine if i relink a sign.

    So I turn off my server, copy back the old sellers.yml, start it up, and the plugin erases my sellers.yml, and makes a sellers.yml.bak (also empty)

    No mater how many times I copy the old seller file over and restart it removes it every time.

    It's starting to seem like every plugin ne0nx3ro made gets completely screwed up with mutli world. (Quantum Connectors)

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

    sirgarbage

    Is there anything i can do to where players can't walk up, open the chest and steal the contents? I dont want to give them the permission 'signshop.signs*' because i dont want them making their own stores. Is there anything i can do to prevent this? Or a good chest-locking plugin that wont cause conflict?? Any help is appreciated!!! :D
     
  27. Offline

    rockxz2135

    When I use the [iBuy] sign shop, I don't recieve the money when someone buys but it notifies me when someone does.
    Is this how its supposed to be?
    EDIT: I just edited it in the config my bad :3
     
  28. Offline

    sirgarbage

    Thanks Rockstar04. I found a chest-locking plugin and use that.
     
  29. @Specops343
    Hey do you know what this error is?
    [​IMG]I get it every time someone buys something from a SignShop. The player receives the item, and the money is removed from their balance but the console gets an error :(
    On CB 953 and 996.
    Latest SignShop
     
  30. Offline

    Specops343

    Is this on the RB, 953?
     
  31. That was taken from 996 but you have my word errors like that one appear in 953 as well.
     
Thread Status:
Not open for further replies.

Share This Page