[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

    Ne0nx3r0

    Development on this plugin has stopped.
    [​IMG]
    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:
    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.*

    Changelog:
    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 ;))
    Donations:
    • 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

    Ne0nx3r0

    sorry at that point I was considering 1.0 the current version; also we are thinking of two different bugs... To solve this issue there might need to be something like a NoDamagedItems flag
     
  3. Offline

    Flamers

    @ne0nx3r0 would changing the world on a profile cause all the signs to break even if you restored a backup where they were in the same place. (presumes the answer is yes)
     
  4. Offline

    Ne0nx3r0

    @Flamers Changing the world -name- would, yes. Signs are stored with the world in them, so if you have a backup you could run a mass replace operation and replace the name of the old world with the name of the new world.
     
  5. Offline

    Flamers

    I will explain better. I created a world backup. Swapped to one of Vechs maps without changing any files. Still without changing I put but the first world, same name and everything.
     
  6. Offline

    Ne0nx3r0

    @Flamers As long as the name is the same, it should be okay. In sellers.yml it saves the name of the world along with all the other data regarding a store. It checks on startup for any invalid signshops and removes them when they are broken by a player.

    So those are the two ways the plugin would remove them.
     
  7. Offline

    Flamers

    I will have a look and see tomorrow and get back to you. It's late here :( *Hopes I don't have to setup 80 odd signs again*
     
  8. Offline

    nycminer

    Two questions,

    1. Is this a signshop that connect to chest or am i able to make it work without the chests as seen in this video ( http://www.youtube.com/watch?v=VXM6RyiximA&feature=feedu_more ( 00:12 and 01:00))? I may be mistaking this plugin for someone elses but i doubt it, if so will you let me know ?

    2. If this was a chest type of signshop, then why does the redstone part work for me because when i do it nothing happens, no messages and what not.

    The thing that get me consufed is, i read your post and it say stuff about redstone and chest and what not but the thing is when i make the sign i can buy it as owner without the chest but when i make myself as a default player it doesnt work.

    It may be the plugins but ill let you decide, they are:

    iConomy
    Essentials
    Permissions
    Kitplugin
    Lockette
    Towny
    CommandSigns
    AutoSave
    World Edit/Gaurd
    (Obviously) SignShops
     
  9. Offline

    Nonin

    18.06 22:59:07 [Server] SEVERE Could not pass event PLAYER_INTERACT to SignShop
    Anyone else having this issue? Does any have any ideas?
    Code:
    18.06 22:59:16 [Server] INFO [§7Builder§f] pipodita: noninn
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:550)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:212)
    18.06 22:59:07 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    18.06 22:59:07 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    18.06 22:59:07 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    18.06 22:59:07 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    18.06 22:59:07 [Server] INFO     at Ne0nx3r0.SignShop.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:292)
    18.06 22:59:07 [Server] INFO java.lang.NullPointerException
    18.06 22:59:07 [Server] SEVERE Could not pass event PLAYER_INTERACT to SignShop
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:550)
    18.06 22:59:07 [Server] INFO     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:212)
    18.06 22:59:07 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    18.06 22:59:07 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    18.06 22:59:07 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    18.06 22:59:07 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    18.06 22:59:07 [Server] INFO     at Ne0nx3r0.SignShop.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:292)
    18.06 22:59:07 [Server] INFO java.lang.NullPointerException
    18.06 22:59:07 [Server] SEVERE Could not pass event PLAYER_INTERACT to SignShop
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:550)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:212)
    18.06 22:59:06 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    18.06 22:59:06 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    18.06 22:59:06 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    18.06 22:59:06 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    18.06 22:59:06 [Server] INFO     at Ne0nx3r0.SignShop.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:292)
    18.06 22:59:06 [Server] INFO java.lang.NullPointerException
    18.06 22:59:06 [Server] SEVERE Could not pass event PLAYER_INTERACT to SignShop
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:550)
    18.06 22:59:06 [Server] INFO     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:212)
    18.06 22:59:06 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    18.06 22:59:06 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    18.06 22:59:06 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    18.06 22:59:06 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    18.06 22:59:06 [Server] INFO     at Ne0nx3r0.SignShop.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:292)
    18.06 22:59:06 [Server] INFO java.lang.NullPointerException
    18.06 22:59:06 [Server] SEVERE Could not pass event PLAYER_INTERACT to SignShop
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.Packet15Place.a(SourceFile:57)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:550)
    18.06 22:59:05 [Server] INFO     at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:212)
    18.06 22:59:05 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    18.06 22:59:05 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    18.06 22:59:05 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    18.06 22:59:05 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    18.06 22:59:05 [Server] INFO     at Ne0nx3r0.SignShop.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:292)
    18.06 22:59:05 [Server] INFO java.lang.NullPointerException
    18.06 22:59:05 [Server] SEVERE Could not pass event PLAYER_INTERACT to SignShop
    18.06 22:58:58 [Server] INFO [Town Msg] Dealt: [Dealt] dmscoon: ill go smelt it
    18.06 22:58:46 [Server] INFO [Town Msg] Dealt: [Dealt] Dealt67: need to pick out some land
    18.06 22:58:37 [Server] INFO [Town Msg] Dealt: stone to get started
    18.06 22:58:37 [Server] INFO [Town Msg] Dealt: [Dealt] Dealt67: alright cool, have a good amount of
    18.06 22:58:04 [Server] INFO [Town Msg] Dealt: [Dealt] dmscoon: got shit loads of sand
    18.06 22:57:48 [Server] INFO [§7Builder§f] arctixsquirrel: ok thx
    18.06 22:57:35 [Server] INFO [§7Builder§f] dmscoon: i will get sand far away
    18.06 22:57:21 [Server] INFO [§7Builder§f] pipodita: you are the mayor
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:453)
    18.06 22:57:12 [Server] INFO     at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
    18.06 22:57:12 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    18.06 22:57:12 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    18.06 22:57:12 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    18.06 22:57:12 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    18.06 22:57:12 [Server] INFO     at Ne0nx3r0.SignShop.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:292)
    18.06 22:57:12 [Server] INFO java.lang.NullPointerException
    18.06 22:57:12 [Server] SEVERE Could not pass event PLAYER_INTERACT to SignShop
    18.06 22:57:08 [Server] INFO [§7Builder§f] arctixsquirrel: i guess
    18.06 22:56:59 [Server] INFO [§7Builder§f] pipodita: artic can i have permissions in this town?
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:453)
    18.06 22:56:51 [Server] INFO     at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
    18.06 22:56:51 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
    18.06 22:56:51 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    18.06 22:56:51 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    18.06 22:56:51 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
    
     
  10. I wanted to remake the config, and deleted SignShop folder. Now it wont re-create it, how do I make it reset so it will actually recreate that folder?
     
  11. Offline

    Flamers

    @ne0nx3r0 I just checked my sellers file and it's blank. Looks like I'm going to have to do them all again....
     
  12. Ok this plugin really works lovely! But it needs some things to work on a live environment:

    - Support for LWC. Currently, anyone creating a [Sell] sign can just rob anyone's chest blind, it completely bypasses chest locks, huuuuuuuge issue Oo Basically, when creating the shop->chest link, upon clicking the chest, check if the player has permission to takes items from it, if not, deny the shop creation.

    - A configurable maximum range on the sign<--->chest distance. Otherwise this is again extremely easy to exploit, by placing chests in your home, and placing signs in whatever mining area you have, free and fast goods transporting. This can be a feature as well, but then it should require a special permission node to bypass the configured max distance.

    Otherwise, setting up shops works really nicely, it's so flexible, love it, just please fix the above issues :D
     
  13. Offline

    Juze

    Don't you mean [Buy] ? Buy takes the items off chest.
     
  14. Yea [Buy] and [Slot] of course.
     
  15. Offline

    Warfare1101

    Thank you so much for the sign shop, it really helped improve my server
     
  16. Offline

    Juze

  17. Offline

    Cybird

    Best and Most comprehensive Shop/Sign Plugin I have encountered. Has everything I needed. Just a question though. I Can't seem to get the repair sign to work. Is there a different syntax for the sign?

    I currently have
    [Repair]
    Test Repair

    1.0

    When I use redstone on it nothing happens, and when i try to use it to repair things nothing happens either
     
  18. Offline

    Ne0nx3r0

    I don't view the first issue as an exploit - the plugin should respect events being cancelled, and so if you use another protection plugin that should also cover this plugin.

    The second one is sort of an exploit, but setting a maximum range is not something I would at least want to do on my own server. I'll see about adding this as a configurable option though.

    You might try deleting your config.yml - if you have an older version where the messages for Repair are not defined, you wont see any message. (This is done on purpose so people can disable certain messages if they don't want them)

    Ah, you are right.

    I copy config.yml manually from the jar so I can add comments/formatting/etc, and with localization I had to move it above the creation of sellers.yml, which i was relying on to create the directory. This should be fixed in 1.1. (added a line to manually create the directory)

    I have a hunch you are using 1.0, try updating to 1.1 and see if that fixes it.

    Try updating to the latest version and deleting your config.yml - if this doesn't solve it let me know.

    As a final FYI - I'm currently on vacation, however I check in about once a day with the internet ; ). If you have any issues feel free to tag me/etc as needed; just know I may not be able to reply as quickly or elaborately as you might like.

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

    dazzee

    [Buy]
    #
    item
    $price

    i tried this but it did not work must it be placed anywhere in particular?
     
  20. Well that's not working then, I just tested it again to be sure.

    1) Player A creates a /cprivate locked chest and puts something in.
    2) Player B creates a [Slot] sign, links it to Player A's private chest.
    3) Player B or C clicks [Slot] sign and has now stolen goods from Player A.

    Did you test this? As our chest protection has been running for months, so I doubt the bug/issue is in there?

    Configurable max range would be really great, I love the fact you are free to place sign/chest, but I don't want to grant unlimited inventory with it ^^
     
  21. Offline

    Ne0nx3r0

    It's based on whether another plugin cancels the event - so if your chest protection plugin cancels the event, signshop should acknowledge this and stop dead in it's tracks, no matter what it was going to do.

    I'll see about upping the priority in the next version to ensure other plugins get a chance to stop the events, but in theory those plugins should already be using a lower priority, so they can stop events from bubbling.
     
  22. Yea, but do you check this event when you click the chest with the RSD? As that's the moment it should halt the procedure right?
     
  23. Offline

    Ne0nx3r0

    I'm not sure what the "RSD" is, but the first line in the event handler checks if the event has been cancelled, and returns right away. If you let me know what plugin you are using, assuming they publish their source code I can review it and see if it does what it should. This might also explain why it's not working for you. (assuming it isn't a user thing ;))
     
  24. Redstone dust, I mean, when you activate the link by clicking the chest, that's when this cancelling should happen, so you would need to "fake" a chest open event or so? I dunno how it works exactly :D

    We use LWC. 2.x atm. But probably LWC 3 when we're sure it's safe, if that matters API wise...
     
  25. Offline

    Ne0nx3r0

    The current version at least seems alright; it should be working fine. I've tweaked the priorities in 1.2, that might help out.
     
  26. Offline

    t1tanium

    how i make a bank like iCTrade
     
  27. Cool, one of our devs also looked at it, but will see first what you came up with!
     
  28. Offline

    Dev

    I'm getting that occasionally in console as well.

    Unrelated note:
    You may wish to include double chests as well, I have some users who would really like that feature, as they have large shops.
     
  29. Offline

    MikeC2103

    This plugin is great. Use pretty much every sign on our server.

    One we would like to use is the repair sign. Yet haven't because it repairs anything for the same price.

    Would it be possible to add item names or numbers to the sign? So it can only repair certain items for that cost.

    Sry if this has been suggested before. Thanks for the great plugin!
     
  30. Offline

    Ne0nx3r0

    It would be doable to make it repair a set amount, so some items would repair faster than others. I can't remember the numbers offhand, but basically I think items all degrade at the same rate, but diamond items for example can take a look more damage. The amount thing might work, and would be fairly simple.
     
  31. Offline

    mcjason123

    umm i don't quite get this i can use
    [ibuy]
    wood
    5

    but i can't use this
    [ibuy]
    1
    wood
    5
     

Share This Page