[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


    title does not accept smilies
    and changelog has to show last two versions without a spoiler
  3. Offline


    cool plugin!!! XD
  4. Offline


    Curious moment... Isn't this a copy of TradeCraft? 0_o
    Minus a few tweaks, of course. :p
    Just curious...

    [EDIT]: This one seems to allow a bit more customizability, it's not limited to just selling one item?
  5. Offline


    If so that's unintentional; I wrote it from scratch for my own server. I only released it because it seemed fairly useful, not to be competitive. Also it sort of goes with my whole Zen thing about not utilizing commands.

    It will let you sell as much junk as you want at once - so you can do kits/etc with varying amounts.

    Just looking over TC:
    - This uses iConomy
    - You can use one chest for all your signs, which doesn't need to be anywhere near, and not even in the same world as your signs.

    TC does let you sell items, which is something I've been pondering doing, but was waiting to see how stable buying works first before implementing.
  6. Offline


    Does this take into account chest protection? So players can't make a chest that is protected and as not theirs a shop?
  7. Offline


    No, it doesn't. I suppose it could, but this is sort of on purpose so servers can implement their own protection (WorldGuard, Residence, etc).

    It gets complex when you want to allow multiple users to use a chest.

    I use Residence on my server, so I leave it to my players to protect/allow others to use their chests as necessary.
  8. Offline


    Oh, nifty!
    the problem with TC is that you have to have a single shop for each item. :/

    Will you be implementing an option to have "infinite" shops? Ex: an unlimited number of an item placed in a shop chest, to sell?
    Unless i overlooked it...
  9. Offline


    Right now it's very much a find a block, sell a block setup so players can run businesses (loosely termed).

    I suppose that is something to consider, an op command or something to create infinite supply chests, as long as one of the item is in the chest (to allow the owner to take items out of stock).
  10. Offline


    I right click a sign with redstone and then click on a chest but nothing happens? is there something i didnt set up right
  11. Offline


    what is the sign Format?
  12. Offline


    Hang on to that; I'm going to redo a few things tonight/tomorrow... Should have some stuff done tomorrow night. (need to update to iConomy 5.0 also)
  13. Offline


    can some one just walk away with the items?
  14. Offline


    Can you add editable color for each line ? :D
  15. Offline


    Can it also be made to swap items for other items instead of money since i dont like to use iConomy on my server?
  16. Offline


    dude when are you going to make it capable with iconomy 5.0?? please iv been looking for this plugin for ages now..
  17. Offline


    I like that ! Thanks ne0nx3r0. You make a great job.
  18. Offline


    Updated for iConomy v5.0.

    Also note the change in usage, include [Buy] as the first line of the sign
  19. Offline


    Yeah ! You're amazing =D
  20. Offline


    so what the sign format now?
  21. Offline


  22. Offline


    " [Sell] - Sells an item to the shop chest for the price specified on the 4th line "
    Can you make it, without chest too ? Because, it doesn't exist now, with sign, and iConomy compatible ^^ And it would be very useful, with no problem of " full chest "
  23. Offline


    Are you saying you want the items to disappear entirely? If so, I was thinking about adding an 'INF' modifier at the end of Buy/Sell to change the shop so that the items are created/destroyed when purchasing/selling.

    This way you can generate an economy for users to get money in the first place! lol
  24. Offline


    Really great plugin! I needed something that was simple (Commandless) and was using iConomy. Thank you!

    One issue though. I tried selling different cloth colors and it always sold white wool. I assume this will happen with the new saplings, logs (Birch, dark) and slabs. Really hope you can fix this.
  25. Offline


    I'll take a look at this tonight... I'm working on a pretty big update, changes the way a few things are handled so it can incorporate new sign types in a modular way.
  26. Offline


    it cant work on 1.5?
  27. Offline


    Hi! I got this code when I hit any sign:
    2011-05-06 17:38:46 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-06 17:38:46 [WARNING] **** NOT ENOUGH RAM!
    2011-05-06 17:38:46 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-05-06 17:38:46 [INFO] Loading properties
    2011-05-06 17:38:46 [INFO] Starting Minecraft server on *:25565
    2011-05-06 17:38:46 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-05-06 17:38:46 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-05-06 17:38:46 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-05-06 17:38:46 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-05-06 17:38:46 [INFO] Preparing level "world"
    2011-05-06 17:38:46 [INFO] Preparing start region
    2011-05-06 17:38:47 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-06 17:38:47 [INFO] [AdminCmd] Plugin Enabled. (version4.7.1)
    2011-05-06 17:38:47 [INFO] [Archers : 2.0] Found permissions
    2011-05-06 17:38:47 [INFO] [Archers : 2.0] Made by TechGuard and x1337x Enabled!
    2011-05-06 17:38:47 [INFO] [Cookbook]: version [1.4.5] (Classy) loaded
    2011-05-06 17:38:47 [INFO] DropBonus v2.5  has been enabled.
    2011-05-06 17:38:47 [INFO] [iConomy] Logging is currently disabled.
    2011-05-06 17:38:47 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    2011-05-06 17:38:47 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-05-06 17:38:47 [INFO] [MobBounty] v3.01 (Carbon) loaded.
    2011-05-06 17:38:47 [INFO] [MobBounty] Developed by: [Mattera, Steven (IchigoKyger)].
    2011-05-06 17:38:47 [INFO] [MobBounty] Config loaded.
    2011-05-06 17:38:47 [INFO] [MobBounty] hooked into iConomy.
    2011-05-06 17:38:47 [INFO] [MultiVerse] Permissions Found
    2011-05-06 17:38:47 [INFO] [MultiVerse] - Version 1.6.3 Enabled
    2011-05-06 17:38:47 [INFO] [MultiVerse] Found iConomy, enabling payments.
    2011-05-06 17:38:47 [INFO] [MultiVerse] Loading World & Settings - 'world' - NORMAL
    2011-05-06 17:38:47 [INFO] [MultiVerse] 1 - World(s) loaded.
    2011-05-06 17:38:47 [INFO] [MultiVerse] Loading Portals
    2011-05-06 17:38:47 [INFO] [MultiVerse] 1 - Portal(s) loaded.
    2011-05-06 17:38:47 [INFO] NoWeather version 1.3 is enabled!
    2011-05-06 17:38:47 [INFO] [Permissions] version [2.7.2] (Phoenix)  loaded
    2011-05-06 17:38:47 [INFO] [AdminCmd] Successfully linked with Permissions.
    2011-05-06 17:38:47 [INFO] [iConomy] hooked into Permissions.
    2011-05-06 17:38:47 [INFO] [MobBounty] hooked into Permissions/GroupManager.
    2011-05-06 17:38:47 [INFO] [MultiVerse] Found Permissions, enabling commands.
    2011-05-06 17:38:47 [INFO] PickBoat version 0.3.5 is enabled!
    2011-05-06 17:38:47 [INFO] PistonPlugin enabled.
    2011-05-06 17:38:47 [INFO] PP: Default settings applied.
    2011-05-06 17:38:47 [INFO] properTime reading from config at D:\Dropbox\MineCraft\Bukkit_Servrar\ZombieVenari\plugins\properTime\properTime.conf
    2011-05-06 17:38:47 [INFO] properTime 1.8.9 initialized
    2011-05-06 17:38:47 [INFO] RedstoneChips 0.9 enabled.
    2011-05-06 17:38:47 [INFO] [SignShop] v0.3.1 ENABLED
    2011-05-06 17:38:47 [INFO] [MyPlugin] hooked into iConomy.
    2011-05-06 17:38:47 [INFO] Stackable: Configuration file loaded.
    2011-05-06 17:38:47 [INFO] Stackable: Version 0.5 enable.
    2011-05-06 17:38:47 [INFO] ThunderJoin v1.2 enabled
    2011-05-06 17:38:47 [INFO] War> War v1.4.2 (Slim) is on.
    2011-05-06 17:38:47 [INFO] WorldEdit 4.4 enabled.
    2011-05-06 17:38:47 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-06 17:38:47 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-06 17:38:48 [INFO] WorldGuard: (world) Single session is enforced.
    2011-05-06 17:38:48 [INFO] WorldGuard: (world) TNT ignition is blocked.
    2011-05-06 17:38:48 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-05-06 17:38:48 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-05-06 17:38:48 [INFO] WorldGuard: (world) All fire spread is disabled.
    2011-05-06 17:38:48 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-05-06 17:38:48 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-06 17:38:48 [INFO] [zombieattack] Permissions enabled.
    2011-05-06 17:38:48 [INFO] [zombieattack] 0.3 Enabled.
    2011-05-06 17:38:48 [INFO] Done (0.180s)! For help, type "help" or "?"
    2011-05-06 17:38:48 [INFO] RedstoneChips: Reading circuits file...
    2011-05-06 17:38:48 [INFO] RedstoneChips: Activating circuits...
    2011-05-06 17:38:48 [INFO] RedstoneChips: Done. Loaded 0 chips.
    2011-05-06 17:38:48 [INFO] War> Warzones ready.
    2011-05-06 17:38:50 [INFO] philipborg [/] logged in with entity id 82
    2011-05-06 17:39:02 [SEVERE] Could not pass event PLAYER_INTERACT to SignShop
        at Ne0nx3r0.SignShop.SignShopPlayerListener.onPlayerInteract(SignShopPlayerListener.java:180)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:254)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:433)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-06 17:39:06 [INFO] CraftPlayer: Stopping the server..
    2011-05-06 17:39:06 [INFO] Stopping server
    2011-05-06 17:39:06 [INFO] [AdminCmd] Plugin Disabled. (version4.7.1)
    2011-05-06 17:39:06 [INFO] [Archers : 2.0] Disabled!
    2011-05-06 17:39:06 [INFO] [Cookbook]: version [1.4.5] (Classy) disabled
    2011-05-06 17:39:06 [INFO] DropBonus v2.5 has been disabled.
    2011-05-06 17:39:06 [INFO] [iConomy] Plugin disabled.
    2011-05-06 17:39:06 [INFO] [MobBounty] un-hooked from iConomy
    2011-05-06 17:39:06 [INFO] [MyPlugin] un-hooked from iConomy.
    2011-05-06 17:39:06 [INFO] [MobBounty] Config saved.
    2011-05-06 17:39:06 [INFO] [MobBounty] Plugin disabled.
    2011-05-06 17:39:06 [INFO] [MultiVerse] - Disabled
    2011-05-06 17:39:06 [INFO] [Permissions] (Phoenix) saved all data.
    2011-05-06 17:39:06 [INFO] [Permissions] (Phoenix) disabled successfully.
    2011-05-06 17:39:06 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-06 17:39:06 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-05-06 17:39:06 [INFO] [MobBounty] un-hooked from Permissions/GroupManager
    2011-05-06 17:39:06 [INFO] Disabling PickBoat
    2011-05-06 17:39:06 [INFO] PistonPlugin disabled.
    2011-05-06 17:39:06 [INFO] Thread 0 successfully joined.
    2011-05-06 17:39:06 [INFO] properTime 1.8.9 signing off.
    2011-05-06 17:39:06 [INFO] RedstoneChips: Done checking circuits. All circuits are intact.
    2011-05-06 17:39:06 [INFO] RedstoneChips: Saving 0 circuits state to file...
    2011-05-06 17:39:06 [INFO] RedstoneChips 0.9 disabled.
    2011-05-06 17:39:06 [INFO] [SignShop] Disabled
    2011-05-06 17:39:06 [INFO] Stackable: Version 0.5 disable.
    2011-05-06 17:39:06 [INFO] ThunderJoin disabled
    2011-05-06 17:39:06 [INFO] War> Done. War v1.4.2 (Slim) is off.
    2011-05-06 17:39:06 [INFO] WorldGuard 5.0-alpha10 disabled.
    2011-05-06 17:39:06 [INFO] [zombieattack] Disabled
    2011-05-06 17:39:06 [INFO] Saving chunks
    2011-05-06 17:39:06 [INFO] Stopping server
  28. Offline


    I'll take a look at this tonight; I see where the issue is, just dont have time to fix it just now.
  29. Offline


    k, thanks ;)
  30. Offline


    its not working nothing happens when i click the sign or the chest with redstone :(

Share This Page