[ECON] TradeCraft-AE v1.1b - Chest/Gold Based Economy [Permissions] [1337] [BukkitDev]

Discussion in 'Inactive/Unsupported Plugins' started by ArmEagle, Apr 21, 2011.

  1. Offline

    ArmEagle

    Jdwede, Montag, Tonysp and 2 others like this.
  2. Offline

    leoismint

    why can't i add new items into the text file? like i am trying to add the trapdoor =/
     
  3. Offline

    geloum

    Sorry to ask, but this only works with items trading right?
    I mean the currency is gold, but it cannot be money from IConomy because you have to put physical gold in a chest to buy ?
     
  4. Offline

    neko259

    I have 818 build of CB and permissions 3.1. My players can't create shops, it says they don't have permission. I have tried adding this permission or without it, result is the same.
     
  5. Offline

    geloum

    Please answer my question guys, I really need to know !
     
  6. Offline

    Montag

    I believe that is correct. Although you can switch what item is considered currency, something must be placed inside the chest to be traded, therefore IConomy currency is not usable for this.
    If you check the To-Do section, it says that IConomy interaction is not currently supported.
     
  7. Offline

    Bookkc1

    I Have Same error :( Help us
     
  8. Offline

    Junrall

    Hi there..
    I'm in the process of adding this to my server.
    Just curious... will you be adding the ability to use a double-chest?

    And will you please add a way to link our buy/sell chests to a central chest that will hold all of our gold?
    It would be awesome to hide this chest in a separate location and have more storage space for gold.

    Oh yeah... what soes this mean exactly... what is it's use?
    Code:
    #the data value so set a sub type for currency
    currency-data: 0
    Thanks
     
  9. Offline

    ArmEagle

    Ok, hi all, that's a lot of posts. I'll try to just answer them all in one go without quoting anyone.

    Permissions 3:
    I first read about this when I left for a few days and it seemed to have a lot of issues still. But I'll certainly make TradeCraft compatible soon.

    Repairshop:
    Is not yet supported. All references to that feature are only in there because it was in the original code. I still need to give it a look. Though I think there are plenty repair plugins out there already. I'm not a fan of large multi-headed dragon-plugins.

    Nazerb / updater notice:
    I'm not sure what you're talking about. Could you copy that message (or make a screenshot)? That would really help.

    leoismint / new items:
    You're probably editing the TradeCraft.txt file in the game folder. But with an update of some time ago the plugin is now using the file(s) inside "plugins/TradeCraft" instead.

    Junrall / data field:
    Suppose you want to set the currency to yellow wool. You'd set "currency-id" to 35 then and this "currency-data" to 4, for the yellow attribute. Same for logs and whatnot.

    geloum:
    Yes, this plugin still doesn't have any iConomy support. I didn't have time to look into that yet.


    I hope I answered all questions satisfactory. Else please let me know.

    I just installed "[Permissions] version [3.1.4] (Yeti)" myself, changed the config files as is explained by those devs, and TradeCraft works fine for me (myself as admin with all permissions, and also for 'Player' just being in the default group).

    If anyone does have any problems with the new Permissions (3.x), that may be caused by this plugin, please let me know!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
    Montag, Oscarius and leoismint like this.
  10. Offline

    Junrall

    Still loving this plugin!

    Just wanted to refresh a couple of ideas (If this is wrong to do please speak up!)
    and add another request...
    Double chest shops
    A central storage chest(double chest?) for gold that will link to all of the player's shop chests.
    And the new idea... be able to purchase kits from a chest. How cool would that be to buy complete armor in one shot!

    Thanks!
     
  11. Offline

    ArmEagle

    Why would you want a double chest? Sure, sometimes a shop will hold a lot of goods. But you can only hold a little bit more than a single chest full anyway. It only saves a few mouse clicks/drags compared to all the dragging of items from/to shop-chest anyway.
    That's an idea that could be optional. Would you only want that to pickup profits from selling-shops. Or would you also want to have a single 'account' that could be withdrawn from by all shops where you buy items from customers?
    That should be possible, I could add support of defining a set of IDs in the (.txt) items file instead of a single ID. There is some code that only accepts there to be one item type in the chest when counting items though. But that should be no problem to change.

    So, both technically possible I guess. Don't expect it to be implemented anytime soon though.
     
  12. Offline

    Sh4d0w

    Bukkit 823:

    Code:
    2011-06-09 14:30:04 [SEVERE] Could not pass event SIGN_CHANGE to TradeCraft
    java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
        at nl.armeagle.TradeCraft.TradeCraftBlockListener.onSignChange(TradeCraftBlockListener.java:100)
        at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:447)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:992)
        at net.minecraft.server.Packet130UpdateSign.a(SourceFile:41)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    btw how funct the player shops?
    Where does the "gold" played if a player buy/sell from another playershop?
     
  13. Offline

    Junrall

    Not a neccesstity... only my "Gold Fever" kicking in!
    However... I guess I don't understand how the storage works in TradCraft :) A normal double chest holds twice as much as a single... but maybe TradeCraft allows a single chest to hold nearly as much as a double?
    The downside to double chests is the amount of space needed for double chest shops. :)

    I think a central chest that handles withdrawals/deposits from purchase/sell would be perfect!

    Nice!

    Understood. :)
    And thanks for considering my ideas! Wish I had time to sit down and learn Java (I'm a VB novice)... I would offer to help... to take some of the load off. :)
     
  14. Offline

    ArmEagle

    Euhm, hmm. I thought I had tested TradeCraft with 838 even, but I'll look into it. Could you tell me what you were doing to get that error?
    AND
    Ok, so the point is that the size of the chest doesn't really matter for what a shop stores. The chest is only used by the shop owner and customer to place/retrieve/buy/sell items. When a shop is not used (after a sale has completed), there is nothing in the chest anymore. You place items/currency in the chest, then right-click the sign and take the traded items out of the chest. Then the chest is empty again. Something similar for when an owner adds to, or retrieves from items/currency w.r.t. the chest.

    This plugin records what a shop contains, the chest (and sign) is just an interface to the shop, not also the warehouse.
     
  15. Offline

    Sh4d0w

    not really :confused:

    A player wrote in chat that he didn't could create [Lift Up], but this was a Falsebook feature.
    I don't really know how i can re-preoduce this error..
     
  16. Offline

    ArmEagle

    I still need to correctly fix this one issue that the plugin has with SimpleSignEdit. This error is similar and would happen with any plugin that makes signs disappear right after placement. I kinda forgot about that one, how bad of me. I'll look into that in a bit.

    version 1.0.5
    • Now fixed the sign edit/placement canceled exception for real.
    • Multi-world support. New shops will now have the world name added. Old shops will be converted when they're first interacted with.

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

    Haduke

    I have been using this for a while on my server. Once you get support for BOSEconomy, I will continue using it. I am going to start using BOSE now on my server so I can take advantage of some of these other plugins to make my server a bit more fun. So if you can get support for it, that would be awesome! Thanks again for a great plugin and all your work to make it happen!
     
  18. Offline

    xZise

    Is it maybe possible to have this like an economy API? A user requested on my xWarp plugin, to pay with wares instead of money. I don't need, if this plugin is build for this, but I need only methods, to change the value (add/subtract), test if the user has enough, and maybe a way to get a formated price (“1 gold ingot”) like in iConomy.

    Fabian
     
  19. Offline

    ArmEagle

    I never thought about that before. The currency one is easy. But the difference with other economy plugins is that here you don't have one central 'wallet'. Now, there was a recent suggestion of having one 'wallet' chest that shops could use/link to, then that would be an option I guess.
    Sigh, I need to start using bukkits persistence :)

    Don't expect this anytime soon though.
     
  20. Offline

    xZise

    But at the first you could use the players inventory?

    Fabian
     
  21. Offline

    KillerSmurf

    When i try to buy something it says i do. But it doesnt change what i have in my inventory, and only changes whats in the shop.
     
  22. Offline

    ArmEagle

    This trade plugin does not interact with your inventory, it requires you to place items you want to buy/sell in the chest. You then click the sign and take out the newly gained items from the chest.
    As you said "items in the shop" are actually just items that are temporarily in the chest.. after someone put them there, or after interacting with the shop (through the sign). The actual items the shop hold are virtual, maintained by the plugin in a data file.
     
  23. Offline

    xtyro

    users with permissions: TradeCraft.canBuy, TradeCraft.canSell,TradeCraft.canMakePlayerShops, can make infinite shops. when they make a mistake to write their prices an infinite shop appears. they can't destroy such shop.

    I have also problem with player shops, when an user destroys his shop, it is still on the list of active shops and also in data file. I could remove this manually but I don't know which one is active.
     
  24. Offline

    ArmEagle

    Hmm, strange. Could you tell me what version of TradeCraft you are running?

    When I have a 'Default' player (with those 3 rights you mentioned) place a sign with
    Code:
    [Dirt]
       1
    
    Then it shows a message that player cannot create an infinite shop.

    And I just had a player remove a shop and there's no entry for it in /tc shops or in the data file anymore.
     
  25. Offline

    KillerSmurf

    So if you want to buy something you must put gold in the chest? And the owner of the shop leaves it empty? How do you stock the chest if other players can open it.
     
  26. Offline

    ArmEagle

    I suggest you to read the "Manual" section in the opening post (click the 'spoiler' button below it).

    If you have any questions after that, then I'd be happy to answer them.
     
  27. Offline

    KillerSmurf

    im just going to go to iconomychest shop less confusing for my players
     
  28. Offline

    ArmEagle

    That's the beauty of there being alternatives. I like this plugin exactly because it works differently from most other shop plugins.

    And you're welcome to pick the plugin you prefer. Even though I think you are making an uninformed decision, that's all up to you.
     
  29. Offline

    KillerSmurf

    meh, but i understand it now, but i don't think my players will.
     
  30. Offline

    Simanova

    I was going to translate it for german, but special characters arent allowed.

    Could you please allow "ä,ö,ü,ß" ?
     
  31. Offline

    xZise

    ß won't work in Minecraft it self ;)

    Fabian
     

Share This Page