1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Shop Plugin

Discussion in 'Plugin Help' started by timistwild, Apr 2, 2021.

  1. timistwild

    timistwild Spider Jockey

    Messages:
    33
    Hi!
    Im doing an Shop Plugin were the player can upload their items to sell them to other players in a FormAPI.
    Im not really sure how and where i want to store these offers from the player. Does anyone has already written something like that or has a cool idea? thank you guys :)
     
  2. TobyD

    TobyD Creeper

    Messages:
    5
    GitHub:
    tobydev265
    You can save items that players sell by use YAML file in folder!
    For instance:
    Code:
    Steve:
    - 12: 34
    - 24: 67
    Steve is player name
    12 is item that player sell
    34 is price
     
  3. timistwild

    timistwild Spider Jockey

    Messages:
    33
    Oh yea thats a good idea! Can i get like all "offers" to show them in a form? Thank you :)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.