A Trade plugin

Discussion in 'Archived: Plugin Requests' started by CamSanfrancisco, Jun 29, 2013.

  1. Offline

    CamSanfrancisco

    Suggested name: TradeCombat

    What I want: Title sounds like another plugin I could just grab and go, but I want this one a little different. So the idea is to trade other players, but with a villager GUI, a player will click another player with a configurable item lets say a stick. The other player will then get a msg saying player wants to trade(config msg).

    Here is a diagram of how I was thinking.
    [​IMG]

    You can go off this to create it, but here is my idea how it can be done...

    Player 1 slot puts there item in and it will appear on the other player "Item You're getting" GUI
    as follows with player 2. When two items appear in the slots a configurable item will appear on the "Press to agree" box. "Items trading" area also pops up as a player puts a item in there slot.
    Other not so important, a custom title and Inventory name (config).

    Ideas for commands: /ctrade toggle, If players don't want to be traded items.

    Ideas for permissions: tradecombat.allow - allowed to trade,
    tradecombat.toggle - allowed to toggletrade

    Config: Yes

    When I'd like it by: Early as possible

    Thanks for reading.
     
  2. Offline

    1SmallVille1

    umm ok, I'll see what I can do. It seems interesting

    amazing what a little google does

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

    timtower Administrator Administrator Moderator

    CamSanfrancisco And we can't create new GUI's, we can only change what the current one does
     
  4. Offline

    CamSanfrancisco

    Would it be possible to do, cause yea that would be changing how that GUI works completely. Awesome if you can make it work some how though.

    Does anyone else have thoughts if this is possible to create?

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

    daboross

    It depends on the extend of Bukkit's API. Just from minecraft limitations that I know of I know you wouldn't be able to have a user just click the button. You can't tell when a user clicks somewhere, only when they put or take an item from somewhere. Besides that all would be possible IF bukkit supports it. I will look at the API within the next few days to see what is possible.
     
  6. Offline

    CamSanfrancisco

    - Thanks a lot
     
  7. Offline

    daboross

    Currently I'm working on http://forums.bukkit.org/threads/change-block.155341/, I should be able to start this relitavely soon, no garuentees though.

    One question, if a separate screen is displayed to each player, why do they each need a separate slot to put their items in? I think it would make a little more sense to have both of the items below be for putting items in, and then have both of the things above be for the other player's item?
     
  8. Offline

    CamSanfrancisco

    Sounds good, Great idea that works too.
     

Share This Page