Inactive [ECON/ADMN] DynamicShop v1.3 - Trade with dynamic prices via cmds or signs. Economy support! [1337]

Discussion in 'Inactive/Unsupported Plugins' started by Schwarzer Zylinder, Sep 1, 2011.

  1. Offline

    captainawesome7

    If there aren't any bugs for god's sake don't use a spoiler, better yet don't put a bugs section in the op.
    Changelog must show 2 latest versions without a spoiler.
     
  2. Done.
     
  3. Offline

    GayJuice

    Any plans to support BOSEconomy?

    Also any plans to add the /sell command with an optional amount value so you can sell more than 1?
     
  4. BOSEconomy will not be supported.
    Maybe I will add more functions, but there are so many other shop plugins, so that I want to work on unice projects.
     
  5. Offline

    Retricide

    Add the option to add multiple "exchange" items?
    Like, the option to add, let's say, iron ingots or diamond, and set a rate for each?
     
  6. I'm working on it, but it will take some time.
     
  7. Offline

    Clucky

    Amazing! I love it, its exactly what I've been looking for! Only 1 problem though, it keeps changing the price to 2,500.00 which is personally a bit high... for some reason I delete the Price:2500.0 at the bottom, but it just readds itself upon server restart...

    with pricechangespeed at 0.0
    Config (open)

    Before:
    Code:
    Price 1.0
    pricechange: percent
    pricechangespeed: 0.0
    op-only: false
    use-permission: false
    
    After:
    Code:
    Price: 1.0
    pricechange: percent
    pricechangespeed: 0.0
    op-only: false
    use-permission: false
    price: 2500.0
    
    At the moment, I want the price to remain constant.


    with pricechangespeed blank
    config (open)

    Before:
    Code:
    Price: 1.0
    pricechange: percent
    pricechangespeed:
    op-only: false
    use-permission: false
    
    After:
    Code:
    Price: 1.0
    pricechange: percent
    pricechangespeed: 5.0
    op-only: false
    use-permission: false
    price: 2500.0
    
     
  8. To get a constant price, write anything to pricechange, except percent and amount. My fault, if you leave it blank, it will set automatically percent after restart. So write abcde or something. It will write a message in console, that you have to fill in pricechange, but it doesn't matter. Just a bit spammy.
    You wrote Price: 0.0, try price 0.0 or set the price via command.
     
  9. Offline

    Ralm

    @Schwarzer Zylinder Finally a shop plugin like I was waiting for =)

    I was thinking and my main ideia to use this plugin would be for my admin shop. And then normal players would use ChestShop from iConomy or something like that. And I wanted your plugin to get statistics from the ChestShop plugin. Basically get the ammount of selling, buying of 1 item and transaction prices. Making all that influence the Admin shop.

    What do you think? Is it possible?

    Thanks a lot,
    Ralmslb
     
  10. Maybe in a long time =) If ChestShop contains an API then I would think about it, otherwise there's no chance to hook into it. But first of all, I have to finish 1.1.
     
  11. 1.1 is out!

    I added many more functions, had to learn many new things and spent hours to fix all bugs, but now it's ready. Enjoy!
     
  12. Offline

    Ralm

    What kind of permissions support??? SuperPerms only?? PEX? or config file tipe of permissions??

    Quick update =)

    If you enhance it even more and make it very lightweight I maybe use it only and leave ChestShop behind XD
     
  13. Offline

    agafaba

    Perfect, I just ask one thing.

    Please dont go inactive like everyone who worked on DynamicMarket
     
  14. Should work for every permissions plugin. What do you mean with enhance it more, but do it more lightweight at the same time?
    Be sure, I'll stay forever =)
     
    agafaba likes this.
  15. Offline

    Ralm

    Enhance with new features. Hm let me think of some...

    The only I cant think of at the moment is group restrictions. Like having groups defined with different shop perm.
    Example:

    Groups: A, B and C

    Group A:
    Can sell everything other then TnT, Bedrock and Diamond. Can buy anything. Can do only Constant shops.

    Group B:
    Can only sell basic items. Such as Dirt, Stone, redstone, etc etc. Can only buy TnT. Can only do static Shops.

    Group C:
    Can sell anything. Can do Constant or Floating prices shop.

    I can try to develop the idea if you want. But as you see the main thing is Define when creating the shop if prices are float or static. Permissions nodes for all items and to sell or buy.

    Example: dynshop.buy.1.*
    or dynshop.buy.1.buy

    the 1 stands for the block ID, I think is better then using names really. And easier for you I think.

    NOTE: I havent tried the plugin yet. =S I will very soon.

    Thanks,
    Ralm
     
  16. @Ralm Yeah, I could add permissions for items to buy/sell them.
    But groups in this plugin would be very complicated, would be better if you use permissions groups.
     
  17. Offline

    Ralm

    Yeah when I meant groups, I meant using the permissions ones.

    Other ideias I had in the mean while. Some kind of statistics, for admins to know and be able to manage the server economy better.

    Diferent ways to set up floating prices. Like what will influence the price.

    Another thing, how are the shops set up?? like virtual shops?? If you could do it using signs would be awesome.

    Something like:

    Shop set up in the Sign:
    Line1: [DynShop]
    Line2: Static.Sell or Float.Sell or Static.Buy or Float.Buy (define the shop type, leave buy/sell shops separate)
    Line3: 1:17,6 (item ID: Price with 2 decimal points tops).
    Line4: Blank (Dont know, maybe use it for some other needed function)

    Then the sign would show up to the players like this:
    Line1: Shop
    Line2: Selling
    Line3: Stone
    Line4: 17,6

    I dont know, its a first idea for it.

    Again, I can try to have more ideas and dev it a bit more.

    If it works with signs and I dont get bugs or erros, I definitely will use it since it will be the best shop plugin out there.

    No Chests, Using Signs ( for better visual interface), Dynamic prices, Items restrictions, etc etc = AWESOME.

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

    enilsss

    Is there a way I can add multiple names for the same item? The people in my server are basically only selling/buying items with obvious names, no one has touched stuff like "SMOOTH_BRICKS" or "IRON_FENCE", and I doubt anyone ever will.
     
  19. Offline

    Ralm

    Try using this: http://dev.bukkit.org/server-mods/odditem/
     
  20. Offline

    Dpa1991

    Would it be possible to make it so the server shop only opens up every set period of time? Like the server Im an admin on dont want the players to have 24/7 access to a shop, But it we could limit it to only open every other hour that would be great. Sorry its kinda hard to describe :s
     
  21. Offline

    Revenger

    I see this is a global shop good.

    Does it use MYSQL?

    If it does I'd like the table to hold the values for all items and the ability to auto populate the sql for new items when your plugin gets updated.

    Cause we were going to use Dynamic Market and have been testing it awhile for when the right time for economy was with us.

    And I created a webpage to show values here was hoping to add price in there but didn't get the info to be able to do that.

    We would love to keep this webpage if we do use your plugin and kinda need every single item in the game auto populated to a mysql with all the values so we don't have to add in 20 items on every update to the database.
     
  22. @Dpa1991 Shoule be possible, mabye adding it to next version.
    @Revenger For now its a simple plugin and it don't need MySql, but I will try to learn it and will add it =)
     
  23. Offline

    Ralm

  24. @Ralm Working on it =)
     
  25. Offline

    HSThompsn

    I try to sell or buy after installing this plugin and get a " AN internal error occurred" error on the console- and the below error in the server terminal:

    null
    org.bukkit.command.CommandException: Unhandled exception executing command 'dynshop' in plugin Dynamic Shop v1.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoClassDefFoundError: com/iConomy/iConomy
    at me.gerry.dynamicshop.DynamicShop.sell(DynamicShop.java:157)
    at me.gerry.dynamicshop.DynamicShopPlayerListener.onCommand(DynamicShopPlayerListener.java:77)
    at me.gerry.dynamicshop.DynamicShop.onCommand(DynamicShop.java:66)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)


    if you would like any other file config. or info- let me know- some of the other details of the server's economy plugins:

    iConomy 6 running on a local MySQL databse
    register 1.5
     
  26. You can't use buy or sell from console, but you write ingame, right? Then try this:
    - Set a price for e.g. dirt via commands
    - Then get the price ingame via commands. If it returns 2.3 Dollar or something, iConomy works.

    If iConomy works and there's still the error, delete all files from the plugin, restart the server, and then try to buy dirt. Use the right commands!
    /dynshop buy dirt 1

    If this doesn't work, write me an pm.
     
  27. Offline

    TLane

    hey trying to use your plug in but get the following error when I try to /dynshop setprice dirt 1
    Code:
    2011-10-12 15:47:00 [INFO] Starting minecraft server version Beta 1.8.1
    2011-10-12 15:47:00 [INFO] Loading properties
    2011-10-12 15:47:00 [INFO] Starting Minecraft server on *:25565
    2011-10-12 15:47:00 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1126-g35eac7a-b1317jnks (MC: 1.8.1)
    2011-10-12 15:47:00 [INFO] [PermissionsEx] sql backend registered!
    2011-10-12 15:47:00 [INFO] [PermissionsEx] file backend registered!
    2011-10-12 15:47:00 [INFO] [PermissionsEx] PermissionEx plugin initialized.
    2011-10-12 15:47:00 [INFO] [PermissionsEx] p2compat backend registered!
    2011-10-12 15:47:00 [INFO] [PermissionsCompat] Compatibility Layer Initalized!
    2011-10-12 15:47:00 [INFO] [PermissionsEx] Initializing file backend
    2011-10-12 15:47:00 [INFO] Preparing level "World3"
    2011-10-12 15:47:00 [INFO] Default game type: 0
    2011-10-12 15:47:00 [INFO] Preparing start region for level 0 (Seed: 503716253)
    2011-10-12 15:47:00 [INFO] Preparing start region for level 1 (Seed: 503716253)
    2011-10-12 15:47:01 [INFO] [DynamicShop] version 1.1 by Schwarzer Zylinder is enabled.
    2011-10-12 15:47:01 [INFO] [iConomy - Celty] Enabled (24 ms)
    2011-10-12 15:47:01 [INFO] [PermissionsEx] Superperms support enabled.
    2011-10-12 15:47:01 [INFO] [PermissionsEx] v1.14 enabled
    2011-10-12 15:47:01 [INFO] [ChatManager] ChatManager disabled. Check config.yml!
    2011-10-12 15:47:01 [INFO] [ChatManager] ChatManager disabled!
    2011-10-12 15:47:01 [INFO] [PermissionsCompat] Compatibility layer enabled.
    2011-10-12 15:47:01 [INFO] Server permissions file permissions.yml is empty, ignoring it
    2011-10-12 15:47:01 [INFO] Done (0.109s)! For help, type "help" or "?"
    2011-10-12 15:47:11 [INFO] TLane98 [/192.168.100.119:60037] logged in with entity id 110 at ([World3] 13.59375, 65.0, 105.40625)
    2011-10-12 15:47:11 [INFO] New max size: 484
    2011-10-12 15:47:11 [INFO] New max size: 784
    2011-10-12 15:47:22 [INFO] TLane98: Opping tlane98
    2011-10-12 15:47:30 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'dynshop' in plugin Dynamic Shop v1.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoClassDefFoundError: com/iConomy/iConomy
        at me.gerry.dynamicshop.DynamicShopPlayerListener.onCommand(DynamicShopPlayerListener.java:28)
        at me.gerry.dynamicshop.DynamicShop.onCommand(DynamicShop.java:66)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.iConomy.iConomy
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 15 more
    2011-10-12 15:47:34 [INFO] Connection reset
    2011-10-12 15:47:34 [INFO] TLane98 lost connection: disconnect.quitting
    
    any idea how to fix it?
     
  28. //edit: Fixed in v1.2
    Until now, only iConomy 5 is supported. I've nearly finished support for other plugins, which will added in 1.2

    @TLane and many other people: This was your bug.
     
  29. 1.2 is out! Now with signs and more! See changelog above.
     
    HSThompsn likes this.

Share This Page