[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

    thestriker095

    any anwsers to this?
     
  3. Offline

    Dev

    2 things:

    Firstly, Device signs don't appear to be working. I can link them to the lever, but it isn't resetting it, so my iron doors are staying open. There are no errors in console.

    Secondly, QuantumCircuits is spamming up the server logs, and probably wasting system resources. It there any way to change the interval it saves at?
     
  4. Offline

    Stassi

    As a non-developer I have no concept of how difficult it would be for you to create this, ne0nx3r0, but there are definitely plugins for similar economy plugins that offer a /[mod] list command (Residence, Citizens, iConomy /stats, etc.).
    If you ever got around to implementing it, I imagine it would be something like a player typing /signshops list and getting a (sorted?) list of stored SignShops including the coordinates of each sign; optional permissions support. On my server that list might be exhaustive, since we are avid users of this plugin, so breaking it into subcommands like /signshops sell and /signshops buy would be immensely useful for price comparisons especially if it included a price per unit value/subcommand. This of course all depends on whether your vision for this mod explicitly favors simplicity.

    On a related note, here's a photo gallery of the fully-functional mall we use SignShops in, so you can see why having a list feature would be useful to a server community like ours.
     
  5. Offline

    Ne0nx3r0

    This is fixed in the next version, but I'm not quite ready to release it, probably looking at tomorrow night-ish. I added some features that need further testing.

    This isn't a bad idea, though it would take a decent amount of work to implement it in a functionally simple way.

    Might be nice to have something like /signshops within 100 or something. I dunno I'm open to suggestions, but I'll see what I can come up with.

    Looks pretty cool. I always wonder if people make any decent use out of my plugins. I know people on my server are nuts over signshops; practically every player owns a shop or mall now, heh. This does slow down development though, I'm afraid of breaking anyone's setup!

    To anyone who is sort of paying attention to the thread, I'm toying with this idea for the plugin and I'm curious whether it's a good one or not.

    This is the proposed structure for a config.yml that would allow players to not only change the names of signshop types and customize the errors/etc (for languages other than English), but create entire new signs themselves:
    config.yml (open)

    #-------------------------------
    # How to Make Custom Signs
    #-------------------------------

    # You can use any number of these:
    # takePlayerMoney
    # givePlayerMoney
    # takePlayerItems
    # givePlayerItems
    # takeOwnerMoney
    # giveOwnerMoney
    # takeShopItems
    # giveShopItems
    # givePlayerRandomItem

    # OR just one of these (you cannot use redstone and items in the same operation!)
    # setRedstoneOn
    # setRedstoneOff
    # setRedStoneOnTemp
    # toggleRedstone

    # AND you can use any of these as well.
    # playerIsOp
    # setDayTime
    # setNightTime
    # setRaining
    # setClearSkies

    # Note: If you use something like setrain + clearskies, or
    # redstoneon + redstoneoff, then one operation will overwrite the other.

    #----------------------------------------

    # You can change the sign names, but don't use a sign name longer than 14 characters.
    signs:
    Buy: takePlayerMoney,takeShopItems,giveOwnerMoney,givePlayerItems
    Sell: takePlayerItems,takeOwnerMoney,giveShopItems,givePlayerMoney
    Donate: takePlayerItems,giveShopItems
    Slot: takePlayerMoney,giveOwnerMoney,givePlayerRandomItem
    iSell: givePlayerMoney,takePlayerItems,playerIsOp
    iBuy: takePlayerMoney,givePlayerItems,playerIsOp
    gBuy: takePlayerMoney,givePlayerItems,takeShopItems,playerIsOp
    gSell: givePlayerMoney,takePlayerItems,giveShopItems,playerIsOp
    Day: takePlayerMoney,setDayTime,playerIsOp
    Night: takePlayerMoney,setNightTime,playerIsOp
    Rain: takePlayerMoney,setRaining,playerIsOp
    ClearSkies: takePlayerMoney,setClearSkies,playerIsOp
    DeviceOn: takePlayerMoney,setRedstoneOn
    DeviceOff: takePlayerMoney,setRedstoneOff
    DeviceToggle: takePlayerMoney,toggleRedstone
    Device: takePlayerMoney,setRedStoneOnTemp

    # Custom messages for signs

    # Note: not every !variable will work with every sign, you might get a blank.
    messages:
    setup:
    Buy: You have put !items for sale at a price of !price!
    Sell: You have put a bounty of !price for !items!
    Donate: You have setup a donation box for !items!
    Slot: You have setup a !price slot machine offering !items!
    iBuy: You have put !items infinitely for sale at a price of !price!
    iSell: You have put an infinite bounty of !price for !items!
    gBuy: You have setup a ghost shop selling !items for !price! (Note, you will not receive or lose money from this shop)
    gSell: You have setup a ghost shop buying !items for !price! (Note, you will not receive or lose money from this shop)
    Day: You have setup a time controller that costs !price!
    Night: You have setup a time controller that costs !price!
    Rain: You have setup a weather controller that costs !price!
    ClearSkies: You have setup a weather controller that costs !price!
    DeviceOn: You have setup a device activator that costs !price!
    DeviceOff: You have setup a device deactivator that costs !price!
    DeviceToggle: You have setup a device toggler that costs !price!
    Device: You have setup a device temporary activator that costs !price!
    confirm:
    Buy: Buy !items for !price?
    Sell: Sell !items for !price?
    Donate: Donate !items?
    Slot: Play this slot machine for !price?
    Redstone: Activate this device for !price?
    iBuy: Buy !items for !price?
    iSell: Sell !items for !price?
    gBuy: Buy !items for !price?
    gSell: Sell !items for !price?
    Day: Set the time to day for !price?
    Night: Set the time to night for !price?
    Rain: Set the weather to raining for !price?
    ClearSkies: Set the weather to clear skies for !price?
    DeviceOn: Activate this device for !price?
    DeviceOff: Deactivate this device for !price?
    DeviceToggle: Toggle this device for !price?
    Device: Temporarily activate this device for !price?
    transaction:
    Buy: You have bought !items for !price!
    Sell: You have sold !items for !price!
    Donate: You have donated !items!
    Slot: You won !items!
    Redstone: Device activated for !price!
    iBuy: You have bought !items for !price!
    iSell: You have sold !items for !price!
    gBuy: You have bought !items for !price!
    gSell: You have sold !items for !price!
    Day: You set the time to day for !price!
    Night: You set the time to night for !price!
    Rain: You set the weather to raining for !price!
    ClearSkies: You set the weather to clear skies for !price!
    DeviceOn: You activated this device for !price!
    DeviceOff: You deactivated this !price!
    DeviceToggle: You toggled this device for !price!
    Device: You temporarily activated this device for !price!
    transaction_owner:
    Buy: \!customer bought !items for !price from you!
    Sell: \!customer sold you !items for !price!
    Donate: \!customer donated !items to you!
    Slot: \!customer played a slot machine for !price and won !items!
    Redstone: \!customer activated your redstone device for !price!
    iBuy: \!customer bought !items for !price from your infinite store!
    iSell: \!customer sold !items to your infinite store!
    gBuy: \!customer bought !items from your ghost store!
    gSell: \!customer sold !items to your ghost store!
    Day: \!customer set the time to day for !price!
    Night: \!customer set the time to night for !price!
    Rain: \!customer set the weather to raining for !price!
    ClearSkies: \!customer set the weather to clear skies for !price!
    DeviceOn: \!customer activated your device for !price!
    DeviceOff: \!customer deactivated your !price!
    DeviceToggle: \!customer toggled your device for !price!
    Device: \!customer temporarily activated your device for !price!

    errors:
    no_permission: You don't have permission to create this sign!
    invalid_operation: The sign you clicked doesnt have a valid operation!
    chest_empty: The shop is empty!
    no_player_money: You don't have !price to pay!
    no_shop_money: The shop doesn't have !price to pay you!
    out_of_business: This shop appears to have gone out of business!
    out_of_stock: This shop is out of stock!
    overstocked: This shop is overstocked!
    player_doesnt_have_items: You don't have the items! (!items)
    sign_location:stored: Sign location stored!

    So you could add a SunShine sign that does both clear skies AND day, or a Device sign that takes the items from the player and then activates a device. I dunno, but I wrote this plugin to be very modular, and I realized it would be fairly simple to allow server admins to administer the signs themselves. (note - you would have to go through and also add the setup/confirm/transaction messages for new signs, otherwise the player would get no message.)

    Alternatively for those who don't feel comfortable with this, you can just leave it alone ; ).

    One warning about this setup; if I add this config file, and you break it, or remove a sign, your players signshops might null out and they will have to recreate them. (for example if you deleted Buy, then all Buy signs would be removed on the next server restart, or when they were found to be invalid.

    Anyway if anyone wanders by, let me know what you think.

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

    Dev

    No, I don't have that installed. It's as if I did, but I assume you just have it written into SignShops. there is no Quantum Connector jar in my folder

    Based on that last paragraph in your most recent post alone, I'd say no. I came to your shop plugin from signtrader, which has gone inactive, and I already have to redo my entire world's worth of signs. Last thing my users want is to redo them for some other reason. I obviously wouldn't break the config, but if you changed it again, I would hate to run into some unforseen problems.

    Edit, i'm using cb 860 and the most recent version of this plugin and iconomy.
     
  7. Offline

    taxidriveer

    The structure proposed for config.yml is perfect :D
    Now we can translate every messages !
     
  8. Offline

    Ne0nx3r0

    Ah, it seems you're right. I'll include the text change in the next update. Currently it only saves when a new shop is created or destroyed, which isn't -terrible-, but I'm writing in a scheduled saver into the next version.

    As for the new config, it wont break anything on its own, but if you were to remove a shop, it would remove it from the server.
     
  9. Offline

    Flamers

    Are there any limits on how many signs you can have or not?

    As some of mine seem to disable themselves after a while :S
     
  10. Offline

    Ne0nx3r0

    There shouldn't be... There might be some technical limit I'm not aware of, I'd have to run some bulk tests.

    WorldEdit, or any other changes to a signs location would cause it to break and be removed on the next restart.
     
  11. Offline

    Flamers

    is that world edit anywhere or in that location? It's strange that some work and other don't though.

    To give you some idea it's 100+ signs probably
     
  12. Offline

    7x9000

    does this work with BOSecon?
     
  13. Offline

    Dev

    We now have over 100 signs running in our server shop and they are working properly.

    But there is a slight problem, you can sell damaged tools to signs, which essentially allows someone to sell a damaged tool to themselves and get a fresh one.
     
  14. Offline

    Ne0nx3r0

    I'm unable to duplicate this with buy or sell signs, but if you are using the most recent version can you possibly make a video of it?

    No, I'm sorry. If someone links me to some good reference material on how I can allow BOSecon, I may consider it.

    What I mean is moving a SignShop sign will break it. Can you possibly send me your sellers.yml file? Maybe it's line numbers or something.

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

    Dev

    They are selling to the server shop, so it's iSell signs that are the culprit.

    Also if you go with that new config, make sure to add lots of comments to it, so it isn't such a huge jumble of stuff.
     
  16. Offline

    Ne0nx3r0

    Actually I got a chance to sit down and eat and I realized what it is that's causing the issue. I'll have it fixed in the next update.

    *deep breath* as of 1.0, it's in. There are plenty of comments that explain how it works, the plugin never modifies the config file, so it's formatted in a generally logical way.

    I'll say again, it shouldn't break anything as long as you don't break the config file ; ). If anyone is not comfortable with yml's, don't touch it! (Also, you can always delete it to have it recreated)

    @Dev - Also Device should be functioning properly, and your config save option has been added.

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

    Dev

    SWEET, I'll be updating the server with this tomorrow.
     
  18. Offline

    taxidriveer

    Thank you for this update !
    Config.yml is awesome ! :D
     
  19. Offline

    Flamers

    Code:
    sellers:
        world/-245/68/170:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - &id001 0
            items:
            - 12
            chestx: -246
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-230/73/222:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 331
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-229/71/-2:
            datas:
            -
            amounts:
            - 5
            durabilities:
            - *id001
            items:
            - 332
            chestx: -230
            owner: flamers1500
            chesty: 69
            chestz: 4
            chestworld: world
        world/-209/72/31:
            datas:
            -
            -
            amounts:
            - 1
            - 1
            durabilities:
            - *id001
            - &id002 9
            items:
            - 22
            - 35
            chestx: -210
            owner: flamers1500
            chesty: 68
            chestz: 26
            chestworld: world
        world/-209/72/30:
            datas:
            -
            -
            amounts:
            - 1
            - 1
            durabilities:
            - *id001
            - *id002
            items:
            - 22
            - 35
            chestx: -210
            owner: flamers1500
            chesty: 68
            chestz: 26
            chestworld: world
        world/-230/73/220:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 266
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-218/73/209:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 357
            chestx: -214
            owner: flamers1500
            chesty: 70
            chestz: 206
            chestworld: world
        world/-204/72/209:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 87
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-229/72/0:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 289
            chestx: -230
            owner: flamers1500
            chesty: 69
            chestz: 4
            chestworld: world
        world/-169/68/165:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 274
            - 275
            - 273
            - 291
            - 50
            chestx: -168
            owner: aparke1
            chesty: 66
            chestz: 166
            chestworld: world
        world/-218/73/207:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 350
            chestx: -214
            owner: flamers1500
            chesty: 70
            chestz: 206
            chestworld: world
        world/-169/68/164:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 257
            - 258
            - 256
            - 292
            - 50
            chestx: -168
            owner: flamers1500
            chesty: 66
            chestz: 166
            chestworld: world
        world/-169/68/163:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 284
            - 285
            - 294
            - 286
            - 50
            chestx: -168
            owner: flamers1500
            chesty: 66
            chestz: 166
            chestworld: world
        world/-256/68/170:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 89
            chestx: -254
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-169/68/162:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 278
            - 279
            - 277
            - 293
            - 50
            chestx: -168
            owner: flamers1500
            chesty: 66
            chestz: 166
            chestworld: world
        world/-218/73/206:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 320
            chestx: -214
            owner: flamers1500
            chesty: 70
            chestz: 206
            chestworld: world
        world/-206/72/205:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 13
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-204/72/203:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 14
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-158/69/159:
            datas:
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 302
            - 303
            - 304
            - 305
            chestx: -158
            owner: flamers1500
            chesty: 66
            chestz: 155
            chestworld: world
        world/-206/72/203:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 73
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-204/72/205:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 56
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-206/72/209:
            datas:
            -
            amounts:
            - 32
            durabilities:
            - *id001
            items:
            - 15
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-204/72/207:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 21
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-206/72/207:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 16
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-206/73/205:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 13
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-131/71/251:
            datas:
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 311
            - 310
            - 312
            - 313
            chestx: -129
            owner: hrbfcrule
            chesty: 68
            chestz: 254
            chestworld: world
        world/-131/71/250:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 46
            chestx: -129
            owner: hrbfcrule
            chesty: 69
            chestz: 252
            chestworld: world
        world/-206/73/203:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 73
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-230/73/223:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 265
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-206/73/209:
            datas:
            -
            amounts:
            - 32
            durabilities:
            - *id001
            items:
            - 15
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-206/73/207:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 16
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-229/71/0:
            datas:
            -
            amounts:
            - 10
            durabilities:
            - *id001
            items:
            - 289
            chestx: -230
            owner: flamers1500
            chesty: 69
            chestz: 4
            chestworld: world
        world/-245/69/170:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 12
            chestx: -246
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-217/86/49:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 273
            chestx: -197
            owner: flamers1500
            chesty: 67
            chestz: 43
            chestworld: world
        world/-207/72/216:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 4
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-248/69/170:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 24
            chestx: -246
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-205/73/216:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 3
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-228/73/223:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 263
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-228/72/223:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 263
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-253/69/170:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 88
            chestx: -254
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-129/71/251:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 261
            chestx: -132
            owner: hrbfcrule
            chesty: 69
            chestz: 250
            chestworld: world
        world/-256/68/168:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 87
            chestx: -254
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-169/69/162:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 278
            - 279
            - 277
            - 293
            - 50
            chestx: -168
            owner: flamers1500
            chesty: 66
            chestz: 166
            chestworld: world
        world/-169/69/163:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 284
            - 285
            - 294
            - 286
            - 50
            chestx: -168
            owner: flamers1500
            chesty: 66
            chestz: 166
            chestworld: world
        world/-204/73/211:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 49
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-169/69/164:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 257
            - 258
            - 256
            - 292
            - 50
            chestx: -168
            owner: flamers1500
            chesty: 66
            chestz: 166
            chestworld: world
        world/-169/69/165:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 273
            - 291
            - 274
            - 275
            - 50
            chestx: -168
            owner: aparke1
            chesty: 66
            chestz: 166
            chestworld: world
        world/-158/68/159:
            datas:
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 302
            - 303
            - 304
            - 305
            chestx: -158
            owner: flamers1500
            chesty: 66
            chestz: 155
            chestworld: world
        world/-230/73/218:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 264
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-204/73/209:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 87
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-229/72/-2:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 332
            chestx: -230
            owner: flamers1500
            chesty: 69
            chestz: 4
            chestworld: world
        world/-229/72/-4:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 322
            chestx: -230
            owner: flamers1500
            chesty: 69
            chestz: 4
            chestworld: world
        world/338/64/-280:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 328
            chestx: 339
            owner: aparke1
            chesty: 62
            chestz: -280
            chestworld: world
        world/-216/73/210:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 354
            chestx: -214
            owner: flamers1500
            chesty: 70
            chestz: 206
            chestworld: world
        world/-230/72/218:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 264
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-129/71/250:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 262
            chestx: -129
            owner: hrbfcrule
            chesty: 69
            chestz: 249
            chestworld: world
        world/-204/73/203:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 14
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-218/73/210:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 282
            chestx: -214
            owner: flamers1500
            chesty: 70
            chestz: 206
            chestworld: world
        world/-204/73/205:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 56
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-202/69/187:
            datas:
            -
            -
            -
            -
            -
            amounts:
            - 1
            - 1
            - 1
            - 1
            - 64
            durabilities:
            - *id001
            - *id001
            - *id001
            - *id001
            - *id001
            items:
            - 274
            - 275
            - 273
            - 291
            - 50
            chestx: -205
            owner: flamers1500
            chesty: 66
            chestz: 187
            chestworld: world
        world/-204/73/207:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 21
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-256/69/170:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 89
            chestx: -254
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-245/69/168:
            datas:
            -
            amounts:
            - 32
            durabilities:
            - *id001
            items:
            - 81
            chestx: -246
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-214/73/210:
            datas:
            -
            amounts:
            - 1
            durabilities:
            - *id001
            items:
            - 297
            chestx: -214
            owner: flamers1500
            chesty: 70
            chestz: 206
            chestworld: world
        world/-256/69/168:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 87
            chestx: -254
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-205/72/216:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 3
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-207/73/216:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 4
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-230/72/220:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 266
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-230/72/222:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 331
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-230/72/223:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 265
            chestx: -229
            owner: aparke1
            chesty: 70
            chestz: 221
            chestworld: world
        world/-206/73/211:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 24
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-248/68/170:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 24
            chestx: -246
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-206/72/211:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 24
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-204/72/211:
            datas:
            -
            amounts:
            - 8
            durabilities:
            - *id001
            items:
            - 49
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-245/68/168:
            datas:
            -
            amounts:
            - 32
            durabilities:
            - *id001
            items:
            - 81
            chestx: -246
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-206/72/213:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 1
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
        world/-253/68/170:
            datas:
            -
            amounts:
            - 16
            durabilities:
            - *id001
            items:
            - 88
            chestx: -254
            owner: aparke1
            chesty: 66
            chestz: 169
            chestworld: world
        world/-206/73/213:
            datas:
            -
            amounts:
            - 64
            durabilities:
            - *id001
            items:
            - 1
            chestx: -200
            owner: flamers1500
            chesty: 72
            chestz: 215
            chestworld: world
    
    Hopefully that shortens it to a normal length. That is the whole file as is.

    That is a heck of a lot of signs... :p
     
  20. Offline

    Ne0nx3r0

    @Flamers - Well, according to that you have 78 sellers, ~26kb filesize, and ~1200 lines, which should be alright.

    I can only say that possibly some other plugin or someone is breaking/changing the signs so that when they are broken, or when the server starts up it decides the SignShop is no longer valid.

    Glad you like it, thanks for the idea!

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

    Flamers

    Would that not break all the signs?

    These are the plugins on the server:

    • AdminCmd
    • Citizens
    • FriendlyCreepers
    • Magic Carpet
    • Mob Arena
    • MyWarp
    • Showcase
    • SignShops
    • TweakedCycle
    • WorldEdit
    • WorldGuard
    • iConomy
     
  22. Offline

    Ne0nx3r0

    @Flamers Generally those plugins seem pretty harmless. I'd need to see a proof of concept or video or something to see exactly what's going on. Some examples of signs being removed over and over via the same process. If it just "seems" like signs are being removed, I'm not sure how to troubleshoot that, heh.
     
  23. Offline

    Flamers

    @ne0nx3r0 I can try.

    I have an exam tomorrow and Tuesday but I will try and get one up when I can. Until then I will try and describe:

    I will place the signs (replace the broken ones) and they will work straight after then I will come back 20-30 minutes later and they won't work. I will get a video of them being placed and then them not working with everything in the same place for you :)

    *EDIT* I could white list you and you could see for yourself if you like?
     
  24. Offline

    Ne0nx3r0

    @Flamers Sure that would work, I can't stop by until tonight (~6pm CST/-6) .... I don't suppose you just have a sneaky person breaking your signs? lol.
     
  25. Offline

    Flamers

    @ne0nx3r0 I very much doubt it unless they are targeting the same sings over and over again :p So thats midnight right? In which case I won't be on as I have an exam at 9:30 tomorrow morning (yes a Saturday) but I will ask another admin to be on and he can show you :)

    Also is your IGN the same as your name here?
     
  26. Offline

    Ne0nx3r0

    @Flamers Name is the same, yup.
     
  27. Offline

    Flamers

    @ne0nx3r0 ok your added just needs to be reloaded :)
     
  28. Offline

    pasa4233

    When i enable server i get this error:
    Code:
    10:12:46 [INFO] [SignShop] [SignShop] Unable to create default config.yml:java.i
    o.FileNotFoundException: plugins\SignShop\config.yml (╤шёЄхьх эх єфрхЄё  эрщЄш є
    ърчрээ√щ яєЄ№)
    10:12:46 [SEVERE] Error occurred while enabling SignShop v1.0 (Is it up to date?
    ): null
    java.lang.NullPointerException
            at Ne0nx3r0.SignShop.SignShop.onEnable(SignShop.java:151)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:799)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Why ?
     
  29. Offline

    Jego

    I also got that :/
     
  30. Offline

    Ne0nx3r0

    @Jego , @pasa4233 -
    Is this possibly a permissions issue? It's erroring because it's unable to copy the config.yml from itself to your plugin directory /SignShop .

    If all else fails, you can create a folder in your plugins directory called "SignShop", then an empty file called sellers.yml, and then copy this to the folder as well. That should manually create all the necessary files. It seems like you need to modify your permissions though.
     
  31. Offline

    Dev

    You can still sell damaged items to iSell signs with the new version of the plugin and 860.
     

Share This Page