Gold Trade

Discussion in 'Archived: Plugin Requests' started by iCopyright, Nov 14, 2013.

  1. Offline

    iCopyright

    Plugin Name: GoldTrade

    Description: this plugin will enable players to trade gold for xp, by right clicking a block. the trade block can be enabled by typing a command, and then right clicking on the block you want to trade the gold to xp. the plugin will also have a config file where you can edit how much the min and max amount of xp given every time right clicking the block. (random)

    Commands:
    /settradeblock - sets the block that should be use to trade.

    Permissions:
    default = OP

    Config file:
    Code:
    # Set EXP options and which item should be used for trading
    Messages:
      not-sign: '&cThis is not a block'
      sign-set: '&aSign successfully set as a trade block'
      already-sign: '&cThis sign is already a trade block'
      insufficient-funds: '&9You do not have any &6Gold Ingots &9to trade'
      disabled: '&cGoldTrade is not enabled'
      set-prompt: '&aRight click a sign to set it as a trade block'
    min-xp: 300
    max-xp: 1000
    item-id: 266
    Blocks:
    - CraftWorld{name=redstone}, -126.0, 34.0, -4.0


    When I'd like it by: 1-2 weeks.
     
  2. Offline

    iCopyright

  3. Offline

    JRL1004

    HyVe I don't fully understand. You put "right clicking a block" but your config makes it seems like you mean sign. Do you want the player to have to interact with any block you set or just signs?
     
  4. Offline

    iCopyright

    JRL1004 oh, i am sry. this request was made because, i have a plugin like this, but it runs with signs. and i want to change it to blocks.
     
  5. Offline

    JRL1004

    HyVe Well I'm bored and have time so I'll look into doing this for you (although the config may look different)
    I won't give an ETA but you can expect it does by later today or tomorrow.

    Sidenote: Don't mark this as filled since I may run into an issue, however unlikely, that I can't solve.
     
  6. Offline

    iCopyright

    JRL1004 Thank You!

    i just have a question: what is your timezone?
     
  7. Offline

    JRL1004

    HyVe
    Mountain time (GMT -7:00 I think)
     
  8. Offline

    iCopyright

    the us?

    i am in the cook islands. after the 24 hours "line"
     
  9. Offline

    JRL1004

    HyVe Yea, I'm in the US but that should not have an impact on getting this done for you :)
     
  10. Offline

    iCopyright

    JRL1004 i dont think it will. thank you:)
     
  11. Offline

    JRL1004

    HyVe Okay, I've got a working version made. I'm going to sleep since it's 3am. I'll put a download on this thread tomorrow so you can butcher the poor plugin looking for bugs and anything else you want. Also: the numbers put in your config make it so 2 sales (on average) will put a player at lever 30 or higher. I recommend scaling that own a bit xD
     
  12. Offline

    iCopyright

  13. Offline

    JRL1004

    HyVe Sorry, was offline. Yea I got it done. I'm doing some checks here and there to make sure it will work well. I'll put a like up first thing tomorrow so you can use it.
     
    HyVe likes this.
  14. Offline

    iCopyright

  15. Offline

    JRL1004

    HyVe So I found a bug yesterday but I got it patched over. I would recommend changing the config since I did almost a direct copy-paste form the code so some parts look weird (like it saying click a sign when removing a trade block). Also post any bugs here since I don't really care for the conversation system. Here is your link: https://www.dropbox.com/s/d946y54ua0mm9pn/GoldTrade.jar
     
  16. Offline

    KingKillerCZ

    the link is not working!
     

Share This Page