[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

    Stabhappy

    Members on my server are able to use the shop signs to link to a LWC protected chest, with others valuables inside, effectively stealing for nothing.

    Please issue is fix for this as a matter of urgency, other than that, I appreciate the work you do making sure this stays functional and up to date.
     
  3. This. Though I'd also like Lockette support (As it's the chest-protection plugin my server uses).
     
  4. Offline

    42ultra

    I love this plugin, and thanks so much for it dude. My multiplayer server needed it so much! I had not problems with installing it, and all I did was install it like an average Bukkit plugin. One time I changed the world file for the server, and all of the sign shops stopped working. (To fix this, you have to delete the SingShops folder in your plugins folder, then you'll have to connect you signs with redstone again.) Other than that, I had no problems, and again, thanks so much for this plugin. :D[diamond]

    By the way, have you considered adding a teleport signs, that teleport you from sign A to B and back, for a set price. It probably could work, considering you could hook them up with redstone to avoid confusion with other signs.

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

    mat3099

    Sorry I'm new to this and still a little confused.....would you mind writing the permission so that normal users can buy and sell.....Thanks very much!
     
  6. Offline

    Perdog

    I have the same question..
     
  7. Offline

    NEO

    @Specops343
    1.2 cb 1k

    Code:
    2011-08-03 22:48:25 [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:338)
        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:553)
        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:85)
        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)
     
  8. Offline

    Specops343

    Have you tried this?
     
  9. Offline

    feildmaster

    @jkmalan and @Perdog

    signshops.sign.* allows player to make the basic signs.

    Anyone can use a sign.
     
  10. Offline

    jkmalan

    thx, i was confused because there was another plugin that separated permissions for sign use and sign creation and needed to know if this was different
     
  11. Offline

    MrDragon

    @Specops343
    Is there any known way to stop it from spamming your chat when you use a iBuy or the iSell?

    I have a temp workaround were I have remove myself from the owners in the sellers.yml. It's not a the best thing to do but it does the job, only it dosen't tell anyone if they actually sold anything.

    Did I miss a command maybe? Or if not, could you add it into the config at somepoint in time.

    Also, great mod keep it up. Perfect for what we need.
     
  12. Offline

    tony687

    please post a video on how to set up a shop, looks like a great plugin
     
  13.  
  14. Offline

    tony687

    Thank you so much. My players love this
     
  15. Offline

    HappyGrenades

    My members can't buy or sell from the regular [Buy] [Sell] signs, I haven't tried the other ones yet. The ops can, but when members try to nothing happens. What do I do to solve this problem? Thanks for the help guys
     
  16. No problem :). Was made for my own server; but glad it could help you :D
     
  17. Offline

    Specops343

    I added your video to the op. Good luck fending off stupid questions from everyone on youtube :p
     
  18. Offline

    Ylar

    I want all permissions, i only want players to buy from shops that admins have created in a public shop area.
     
  19. Challenge accepted. :D
     
  20. I have a weird problem...

    After setting up the plugin all is fine, but after someone creates a shop (more precisely the shop created were 4 signs connected to a single chest selling apples, golden apples, wheat and bonemeal) everytime i tried to do /reload or stop/start the server, the loading would freeze at this plugin every single time.. the problem seems to be in sellers.yml since when i remove it the server starts normally.

    Can i get any help with this problem? x.x this plugin was perfect for my server plans
     
  21. Offline

    HappyGrenades

    Same, but I don't know how to get them to even buy from any shops

    I've been setting up my signshops differently. I don't use a chest, I just put the sign up and write [Buy] or [Sell] on line one, how much is bought on line two, item on line three, and price on line four. then it works, but only ops can buy/sell from them...what do I do? Have I set up the signs wrong? Is this even the plugin I'm using?

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

    feildmaster

    Umm... You kind of need a chest. Otherwise, of course no one could buy anything. There's nothing TO buy...
     
  23. Offline

    mentalmatt01

    how do you use heal and stuff like that?
     
  24. Offline

    chillerstate

    i have just installed iConomy 5 and when i try and buy somethign off the wall it says i don have sufficiant funds... Yet i have $69.71 i dont get it!!!
    And when i type /balance for economy it says $0 so it must be defaulting to economy?!
     
  25. Offline

    HappyGrenades

    Oh
    Oh, does the chest have to be next to it, or can it be anywhere? Because I've seen servers use signshops without chests visible.
     
  26. Offline

    feildmaster

    It can be anywhere, but relatively close so you it loads correctly.
     
  27. Offline

    jmanjones

    I got this when i start my server:

    2011-08-06 10:49:23 [SEVERE] Error occurred while enabling SignShops v1.2 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
    at me.specops.signshops.SignShop.setupPermissions(SignShop.java:212)
    at me.specops.signshops.SignShop.onEnable(SignShop.java:191)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
    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)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
    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)
    ... 12 more
    2011-08-06 10:49:23 [INFO] [SignShop] hooked into iConomy.

    So what am i doing wrong?
    I have Craft bukkit build 1000.
    Running Windows 7.
     
  28. Offline

    Jeremy1080

    @Specops343
    I have been using this plugin on my server (mc.everythingeris.com) but now we have players that want to set up shops, but sadly we are using bukkits default permisions, the newest one that came with build 1000.

    Do you plan on supporting the new permission system?
     
  29. Offline

    HappyGrenades

    Oh, ok. And one last thing, what if I want the shops to not run out, because I had a Spawn Store and I want new players to be able to buy everything, not have half the shops be out of stock. Is there anyway to make the items unlimited? And same sort of question but for the [Sell] shops, what if I don't want the chest to get filled up so people can always sell their stuff? Are either of these possible? Thanks for your time.
     
  30. Offline

    feildmaster

    Don't think any of those are possible at the moment.

    To sell things without worrying about a limit you must set up an admin sign, "iBuy" (doesn't need a chest) but I don't know if using it is allowed for non-admins. I'd have to check the code...
     
  31. Offline

    HappyGrenades

    Ok, then I guess this isn't the plugin for my Spawn, I'll have to find a different one for that makret, but I'll keep this plugin for other areas. Are the any shops-on-signs that don't run out of items?
    And thank you so much for your help.
     
Thread Status:
Not open for further replies.

Share This Page