how can i sell special id items?

Discussion in 'Bukkit Help' started by Roceifin, Apr 6, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Roceifin

    how can i sell things with the little numbers on them? isnt there some sort of plugin or special way to doing it? i have iconomy and citizens for my money and selling/buying method.
     
  2. Offline

    ZeroZX4

    if for example

    white wool got it 35
    and red wool got id 35:14
    and u use command /sell

    than to sell whit wool u type
    /sell 35
    and for red wool
    /sell 35:14
     
  3. Offline

    Lolmewn

    Just like Zero said, mostly you can add the ItemData after the ItemID (making it 35:14).
    However, not all plugins support that.
    I do think however that Citizens, being a big plugin, supports it.
     
  4. Offline

    Roceifin

    :)thanks! I will test this out in the morning. If this works, I can add soo much more stuff to the shops:D. I am great full for the response Ty!

    That didnt seem to work for me, I tried with a space and without a space. I've seen other servers with this working but idk why I can't...

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

    ZeroZX4

    what exact commands u used ? and what was the error ?
     
  6. Offline

    Roceifin

    /trader sell 35:14 100

    trader is selling 14 wool for 100 dollhairs

    thats exactly what it told me. (dollhairs=dollars)
     
  7. Offline

    ZeroZX4

    and try to /trader sell wool 100

    if that work than try

    /trader sell wool red 100
    or
    /trader sell wool_red 100
     
  8. Offline

    Roceifin

    invalid material ID or name specified
    is what it says....
     
  9. Offline

    ZeroZX4

    try /trader sell 35_14
    /trader sell 35 14

    well i was looking for trader options in citizens documentation but it dont exist wtf
     
  10. Offline

    Roceifin

    same... invalid material ID or name specified

    i tried /trader sell 35 14 already and it sells 14 wool blocks (for 100)

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

    ZeroZX4

    how do i change npc into trader ?
     
  12. Offline

    Roceifin

    /toggle
    use /toggle [npc type]

    so itd be /toggle trader
     
  13. Offline

    ZeroZX4

    upload me ur npc jar files cause i think my dont work

    or do u get an error when starting server about citizens too ?

    it says that my server dont use any economy plugin and i have iconomy

    ok now after i set trader to sell stuff how i buy it ?

    if u got skype add me zerozx4

    k nvm it works like this step by step what u do

    u cant set stock to 400 it need to be from 1 to 64

    and u can make npc have unlimited stock so items in his inventory will be infinite

    now
    /npc create NAME
    /toggle trader

    this is optional
    /trader unlimited

    now magic
    its
    /trader sell ID:amount:ItemData price

    so
    /trader sell 35:64:14 100

    now trader sell red wool stock (whole 64 blocks) for 100$ that mean 1,5$ for 1 red wool block

    thats why better use unit price and calculate how much whole stock will cost

    and if u choose unlimited trader do stocks like this so users have choice of fast buying[​IMG]

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 7, 2018
  14. Offline

    Roceifin

    http://www.4shared.com/zip/XURtpc0p/Citizens.html?

    thats my whole citizens file. btw

    Thanks! I'll check this out on Sunday and tell u my results. If it works for you it should work for me

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 8, 2018
  15. Offline

    ZeroZX4

    well possibly even /trader sell wool:64:red 100

    should work so u can make some tests
     
  16. Offline

    Roceifin

    I'm going to set my desktop up at a friends so I can check it this weekend

    It seems Has worked! thank you very much! now hopefully people see this thread and learn from it :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
Thread Status:
Not open for further replies.

Share This Page