[INACTIVE][ECON] SignShops v1.2 - Commandless Multi-World Player Owned Shops (iConomy) [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Specops343, Jun 30, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Specops343

    [​IMG]
    Commandless Player Owned Shops
    Current Version:​
    v1.2 [1000] June 30th, 2011
    Download | Mirror | Source Code (Jar)


    *Requires iConomy (v5.0)​

    Some notes about upgrading from < 1.0:
    1. config.yml is the new messages.yml, you can delete messages.yml
    2. BACK UP YOUR sellers.yml BEFORE MAKING ANY CHANGES OR UPDATING (sorry, wanted to make that clear.)
    Create signs to sell goods from a chest you specify; allow your players to setup and run their own shops!

    Supported Signs:
    Supported Signs (open)

    [Buy] - Buys an item fro the shop chest for the price specified on the 4th line
    [Sell] - Sells an item to the shop chest for the price specified on the 4th line
    [Donate] - Gives an item to the shop chest
    [Slot] - Gives a random item from the selected chest items (not the entire inventory) to the player
    [DeviceOn] - Turns a lever on
    [DeviceOff] - Turns a lever off
    [DeviceToggle] - Toggles a lever
    [Device] - Temporarily turns on a lever
    *[gBuy] - Buys an item from the shop, but the owner receives no money
    *[gSell] - Sells an item to the shop, and the player receives money, but not from the owner.
    *[iBuy] - Buy an item from the "shop", but really the item is created from scratch whether the shop has it in stock or not.
    *[iSell] - Sells an item to the "shop", but really the item just disappears.
    *[Day] - Turns the time to day
    *[Night] - Turns the time to night
    *[Rain] - Turns on rain + thunder
    *[ClearSkies] - Turns off rain + thunder
    *[Repair] - Repairs the current item
    *[Heal] - Fully heals the player

    *Must be OP/SignShop.Admin to create


    Usage:

    Usage (open)

    1. Create a sign. Line 1 needs to be [Buy] (or whatever type of sign). Line 4 needs to be the price (aka 50, 50.25) of your item(s). lines 2&3 can describe your item(s), or be blank.
    2. While holding redstone, click on the sign. (you should get a message)
    3. Find a chest you want to use as your storage, put ONLY the items you want the sign to sell in it. For example, if you have a stack of 64 Cobblestone and want to sell two at a time, put only two in the chest.
    4. Click on the chest with redstone. (you should get a message)
    5. Put all of your cobblestone in the chest
    6. Now players can click on your sign (no redstone needed), purchase the cobbletone two at a time! (right click to buy without confirmation dialog)
    Note - One chest can maintain multiple signs, just take everything out and set the new sign up, then put all the items for both signs in so the shop has something to sell.


    Permissions Nodes:

    Nodes (open)

    • SignShop.Signs.*
    • SignShop.Admin.*


    Video (open)






    Changelog:
    Version 1.2
    • Updated by me, Specops343
    • Updated to latest RB
    Version 1.1
    • Bug fix - creates the plugin directory if needed.
    Known Issues:
    Note: I am taking over updating this plugin from ne0nx3r0, who is stopping updating his plugins. For more info, see here.

    Want to get a response from me? Do @Specops343 at the start of your post.
     
    maetthew, Juze and Greylee like this.
  2. Offline

    Privatepartshax

    This isnt working i have every permission node hooked into my permissions but when my defaut players try and click on it nothing happens no errors no nothing. Could someone tell me all the permission nodes for this please.

    and also are you able just to put signs with no chest? Cause it works for admins but not default players.
    [Buy]
    32
    Wool
    50$

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

    Datswatshesaid

    if your chest is getting stolen get the lockette plugin! :p
     
  4. Offline

    XZeenon

    Can I know all the permission nodes?
    I want to give my users the ability to create their own shops and modify THEIR OWN shops ONLY.
     
  5. Offline

    Cranky Miner

    Is there any way of changing the colour of the transaction to the owner? Or even not show it? Because I really can't find it.. And if it's not included, please add it in later versions. ;D
     
  6. Offline

    XZeenon

    I really do need all the permission nodes.
    I'm using PermissionsBukkit.
    Current permissions I'm giving users:
    Code:
                signshop.signs.*: true
                signshop.create.*: true
     
    They still can't create the signshops.
    They just get "[SignShop] You don't have permission to create this sign!"
    Anyone know what the problem is?
    
     
  7. Offline

    Nick Lozon

    Please read the PermissionsBukkit details.

    Using ".*" is the functionality of Permissions, not PermissionsBukkit. It is considered bad configuration to use it, BUT, if you do want to use it, PermissionsBukkit has SuperPerms which acts like a Permissions, but translates from PermissionsBukkit.

    That being said, in order to mimic the ".*" functionality, you need to do this:
    Code:
    superpermbridge.SignShop.Signs.*: true
    superpermbridge.SignShop.Admin.*: true
    As for the Lapis Lazuli/Ink Sack issue, just dont let players sell Lapis Lazuli, or have them sell it at the same price as Ink Sacks.

    The minecraft item ID # for Ink Sack, Rose Red, Dandelion Yellow, Lapis Lazuli, Cactus Green, Cocoa Beans and Bone Meal are all the same. The difference is they have a secondary data value that defines which "sub item" the are under the ink sack. I guess notch is just really bad at programming inheritance or they are afraid of using all their item id numbers (unlikely).

    I will take a look at the source code tonight and see how to determine the difference between these "sub-items".

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

    XZeenon

    And if I don't use the ".*" do I need the "superpermbridge." part?
     
  9. Offline

    Nick Lozon

    You do not.

    It makes sense, but it sucks at the same time. ".*" is somewhat dangerous because you may accidentally give out too much permission to a specific group, or you may even have duplicate commands for multiple plugins. So, what all admins should do is sit down and figure out every single command they want and type it out in full in the PermissionsBukkit configuration. Your config gets a little bloated, but it becomes what is really clear what everyone has permissions to. Plus, you get to know whats available in your plugins better.

    Edit:
    I still used ".*" superpermbridge for things like signshops and such where the functionality and commands aren't overly complicated.
     
  10. Offline

    System

  11. Offline

    Tealk

    Hi, can you make a permissions node that allows user to use SignShop
    so that Guests can't buy anything?
     
  12. Offline

    System

    • SignShop.Signs.*
    • SignShop.Admin.*
     
  13. Offline

    Tealk

    No fail, i mean a permission for the Use of the Sign shop not for the create.
    Guests haven't SignShop.Signs.* but can use Signshop because that permission only allow to create, not dissalowe use
     
  14. Offline

    XZeenon

    Just don't give the guest group permissions.
     
  15. Offline

    Tealk

    the Guest group have no permissions, but they can buy on the SignShop Chests
     
  16. Offline

    XZeenon

    do - '-permission.name'
     
  17. Offline

    kazeen

    How do you setup the repair signs?
     
  18. Offline

    Tealk

    ehm, i dont think that the permissions "SignShop.Signs.*" include that user can buy,
    this permissions is only to creat shops
     
  19. Offline

    nathanaelps

    @Specops343
    Hey, great plugin, I love it... Except that it's breaking my economy :(
    Is there some way to get the damage values evaluated before a sale happens? There are members of my server who are using this to 'auto repair' their diamond pickaxes for free... And it's making me really quite frustrated with the plugin.
    And that makes me feel insecure, since I know that this is the only plugin that's even remotely what I want out of a sign shop plugin.
    OH, HOW CAN I HAVE SO MUCH HATE FOR SOMETHING THAT I LOVE SO MUCH!?
    ...
    *Ahem...* sorry about that. I'd love to see the plugin deal with the damage of tools (and wool, and dye/ink/cocoa). Or even (as a temporary stopgap) just not allow the purchase/sale of damaged tools... I'll even bribe you with a few bucks on PayPal.

    Thank you, sir. (or ma'am, if you're lying in your profile.)
     
  20. Offline

    number1_Master

    are the chests and signs protected
     
  21. Offline

    Pand3micc

    @Specops343

    So the plugin randomly decided to stop loading, build 1000, I didn't change any config since it last worked, all my other ne0nx3ro plugins won't load either. All with this error:

    Code:
    2011-08-18 12:48:49 [SEVERE] Error occurred while enabling SignShops v1.2 (Is it up to date?): null
    java.lang.NullPointerException
        at me.specops.signshops.Storage.Load(Storage.java:111)
        at me.specops.signshops.Storage.<init>(Storage.java:54)
        at me.specops.signshops.SignShop.onEnable(SignShop.java:113)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    @Specops343 never mind, that was caused by my VPS provider randomly stopping my server and corrupting most of my worlds and plugins :(

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

    number1_Master

    um for some reason i cant select with the redstone and stuff to make a sign shop :confused:
    nothing happens as if the plugin wasnt there, but the logs when i start the server up say the plugin loaded
     
  23. Offline

    Truls Bekk

    No matter what I type on the third line it says: Error: Unknow item name: <text on 3rd line>
    And I am Admin, with '*' permission so I should be able to make signs

    EDIT: The sign is blank after trying to make the sign
     
  24. Offline

    XZeenon

    How do I disable players from making Repair signs?
    Also, how do I disable notifications when people buy or sell an item? I get my chatbox spammed.

    [​IMG]
    LOOK AT THIS, I keep getting spammed, how do I disable these messages? They're pointless.

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

    Truls Bekk

    Make another one make the shop. lol
     
  26. Offline

    XZeenon

    No, because they'll get spammed.
     
  27. Offline

    Pand3micc

    @Specops343 Can you post the complete permissions list instead of just signshop.admin.* and user.*? I use permissionsbukkit now and it doesn't support wildcards... I hate it but plugin authors are using it quite often.
     
  28. Offline

    SLUGAKARL

    It was a while ago but i am on this server and they had signs that were like this


    you right click this sign while holding 64 stone or 1g=


    [Stone]
    Buy 64 for 1g
    Sell 64 for 3g
    [Server]


    g=gold (currency)


    I was wondering if this plugin of yours COULD be like this?, or you would not like to?.
    Im am willing to donate money to you if you make a separate format for me? much appreciated!
    Because i loved this sign layout
    If anyone knows what plugin this is, give me shout. been looking for ages for the plugin, still cant find it

     
  29. Offline

    emilhem

    @Specops343
    I'm getting the same thing as @Truls Bekk. I did even disable the sign things in essentials. Is there somewhere else in the config the you need to disable signs in essentials?
     
  30. Offline

    Truls Bekk

    I was just trolling with ya.
     
  31. Offline

    Nick Hooper

    @Specops343 A cool feature would be to have commercial zones. Players could only create shops within these zones. These zones could also be protected by regions which can be purchased (using Regios for example), so players can only create shops if they purchase commercial zones.
     
Thread Status:
Not open for further replies.

Share This Page