[INACTIVE][ECON] SimpleShop v0.6.1 - Economy made Simple! iConomy [860-900]

Discussion in 'Inactive/Unsupported Plugins' started by codename_B, May 23, 2011.

  1. Offline

    codename_B

    [​IMG]
    SimpleShop
    Economy made Simple! iConomy!

    Version: 0.6.1
    Requires: iConomy

    Download: Download Link for 0.6.1

    Extra large font on the world global especially for SamSamurai
    Features: Allows users to buy items from a global shop. Also allows them to sell items to the global shop. This plugin is command based.

    Commands:
    /simbuy AMOUNT ID DAMAGE
    /price ID
    /simsell
    Permission nodes: simpleshop.buy simpleshop.sell simpleshop.price


    Configuration: Hopefully self explanatory, but here is some more detail.
    commented config file (open)
    #This is the SimpleBuy config file.
    #Now you can add the costs per block using the id. Included are commented sample values
    Currency=Dollar
    Buy=10
    Sell=8
    #Sets the cost of 1 of smoothstone ID=1 to 2
    #Stone
    1=2
    #Grass
    2=1
    #Dirt
    3=1
    #Cobblestone
    4=1
    #Wooden Plank
    5=1
    #Sapling
    6=5
    #Sand
    12=1
    #Gravel
    13=1
    #Gold Ore
    14=20
    #Iron Ore
    15=15
    #Coal Ore
    16=10
    #Wood
    17=2
    #Leaves
    18=5
    #Sponge
    19=10
    #Glass
    20=2
    #Lapis Lazuli Ore
    21=15
    #Lapis Lazuli Block
    22=60
    #Dispenser
    23=50
    #Sandstone
    24=2
    #Note Block
    25=50
    #Powered Rail
    27=10
    #Detector Rail
    28=10
    #Web
    30=50
    #Wool
    35=2
    #Dandelion
    37=3
    #Rose
    38=3
    #Brown Mushroom
    39=3
    #Red Mushroom
    40=3
    #Gold Block
    41=40
    #Iron Block
    42=50
    #Double Slabs
    43=4
    #Slabs
    44=2
    #Brick Block
    45=2
    #TNT
    46=100
    #Bookshelf
    47=3
    #Moss Stone
    48=3
    #Obsidian
    49=8
    #Torch
    50=1
    #Wooden Stairs
    53=2
    #Chest
    54=1
    #Diamond Ore
    56=35
    #Diamond Block
    57=90
    #Ladders
    65=5
    #Rails
    66=10
    #Cobblestone Stairs
    67=2
    #Lever
    69=2
    #Stone Pressure Plate
    70=2
    #Wooden Pressure Plate
    72=1
    #Redstone Ore
    73=3
    #Glowing Redstone Ore
    74=4
    #Stone Button
    77=1
    #Snow
    78=4
    #Ice
    79=8
    #Snow Block
    80=8
    #Cactus
    81=1
    #Clay Block
    82=2
    #Sugar Cane
    83=9
    #Jukebox
    84=50
    #Fence
    85=3
    #Pumpkin
    86=3
    #Netherrack
    87=5
    #Soul Sand
    88=10
    #Glowstone Block
    89=20
    #Jack-O-Lantern
    91=15
    #Bread
    297=14
    #Porkchop
    319=11
    #Cooked Porkchop
    320=20
    #Coal
    263=5

    Source: Included in the .jar

    Changelog:
    • v0.3 - 23/05/2011 - released initial plugin with configurable cost after going live with it on ubempire.com
    • v0.4 - 23/05/2011 - added /sell
    • v0.5 - 24/05/2011 - changed commands to /simbuy and /simsell - added configurable buy/sell ratio.
    • v0.6 - realised I'd forgotten to rebrand everything and it was still going by SimpleBuy - OOPS!

    *crosses fingers and hopes for plugin approval*

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

    codename_B

    You didn't reload the permissions file though, that you didn't.
     
  3. Offline

    Superhykle

    Dude i did XD it still says that

    IT only works when i use '*' but i need members to use it to not only admins. and if i try to sell something it says an internal error occured while attempting to perform this command

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

    codename_B

    Are you using the correct version of iConomy with this? Can you paste me the error from your server.log?
    You should setup members with the permission node simplebuy.* then do /permissions -reload all
    Do you understand how to add permission nodes? Also, are you even using iConomy?
     
  5. Offline

    Superhykle

    fixed only i still don't have permission if i use - 'simpleshop.*' and what command of iconomy do i need?
     
  6. Offline

    codename_B

    You need iConomy v5. and you will have permission if you use simplebuy.*
    Also what version of bukkit are you running? I can't and won't give any more help until you provide me with more information.

    My bad, I realised I was still using simplebuy.* as the permission node. Changed that around now. Download v0.6.1

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

    Superhykle

    so just use simpleshop.* and everything works(i have iconomy in my plugin folder) btw where is .jar in the zip?​
     
  8. Offline

    codename_B

    What zip?
     
  9. Offline

    Superhykle

    of your download link, can you just put the .jar on the forum?
     
  10. Offline

    codename_B

    My download link isn't a .zip, it's a .jar

    EDIT: Just checked it out, it's still a .jar
     
  11. Offline

    Tarnacki

    anyway to get this Without permissions? pleeeaasseeee
     
  12. Offline

    codename_B

    :confused:

    Whyyyyy?
     
  13. Offline

    Tarnacki

    I cant figure permissions out, for some reason they never work and ive had other people try before and i will praise anyone who gets them to.. but i really need/want this on my server and I cant if i cant use permissions :'(
     
  14. Offline

    jmcneely

    I can understand, I've had some problems working with permissions in the past. Also the commands for this plugin doesn't seem that threating. I say why not making it toggle-able for people who don't use permissions.

    @codename_B Maybe adding something in the config to toggle the use of permissions, like "use-permissions=true/false" That away when set to false it will allow all user to use the plugin.

    Overall, I'm loving this plugin. My other simpleshop plugin by Nijikokun has become inactive and outdated and luckily I found this plugin. Seems to be a similar yet improved version of my old plugin. A few suggestions I might add would be more simple price checking. Maybe a list command like "/simlist [page#]" to show all items/prices in a linear fashion. Also, maybe have "/price" without the item id at the end, gives you the id and price of the current item you are holding. Other then that keep up the great work!

    I know, I know I've said a lot. But, is there any way to have an item sellable but not buyable?
     
  15. Offline

    Kamlyn

    You could always make the item's buy price unpayable. like 99999999999
     
  16. Offline

    codename_B

    Within the scope of keeping things as simple as possible, I'll go through these one by one.
    A build without permissions - entirely possible - I will work on getting this into 0.7.
    /simlist - no. Pages are a lot of coding to get done properly, and I don't want to have to cycle through all the ids in a config file.
    /price giving you the price of the item you are currently holding - sure! I love this idea, it's going into 0.7!
     
  17. Offline

    Superhykle

    think you forgot something, cause /sell works but /buy not still have to use /simbuy
     
  18. Offline

    codename_B

    You haven't downloaded the latest version, I fixed this bug.
     
  19. Offline

    Superhykle

    I have the new version
     
  20. Offline

    codename_B

    The commands are /simbuy /simsell and /price

    If you're managing to sell items with /sell its because of an outdated version of the plugin, or use of another plugin.
     
  21. Offline

    Superhykle

    ok thanks

    Iv'e idea for a new update, could you please make a command so people can check how much money they have on there account? Would be awesome^^

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

    codename_B

    BEST.POST.EVER.
     
  23. Offline

    Superhykle

    :D tell me when you have it:p
     
  24. Offline

    codename_B

    OMG. TYPE /money

    I hacked into your server and added it myself.
     
  25. Offline

    Superhykle

    WTF you hacked my server
     
  26. Offline

    codename_B

    Again, BEST.POST.EVER.

    Why are you even running a server?
    http://ico.nexua.org/Main/Commands
    If you have iConomy, the command is there anyway.
     
  27. Offline

    jmcneely

    Hahahaha wtf, I think that has to be one of the best post ever. You should "hack" his server again and add commands like /give, /list, /time, and the infamous /help.

    Anyways, Thats ok if you can't do a list command, I mainly wanted the current item price command anyways.

    But about the being able to sell a certain item but not buy it. Kamlyn said to just make it a really high price, however I know for a fact that some of the players rob and cheat their way to getting tons of coins. Could you have it so you can set a price to -1 to make it unbuyable but yet sell-able or vise versa.
     
  28. Offline

    codename_B

    Not really, if you don't want players selling things don't let them buy it. I'm not going to add any complicated config files, the aim is to keep this as simple as possible.
     
  29. Offline

    Tarnacki

    taking out permissions would make it simpler :D for me at least haha
     
  30. Offline

    codename_B

    It's easy enough to whack it out of the source code and recompile :p
     
  31. Offline

    Tarnacki

    i dont even know what that means haha
     

Share This Page