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

Data file per player (YAML or JSON)

Discussion in 'Facepalm' started by Zayd, Jul 26, 2017.

  1. Zayd

    Zayd Witch

    Messages:
    55
    GitHub:
    ZaydPE
    I know how to use config files and such, but I'm having trouble creating data files for each player.
    Can someone tell me what and how I need to check if the file exists when a player joins/quits the game?
    With exceptions also such as getting kicked because of a full server which STILL fires the quit event.

    EDIT: How can I put a template of YAML into each players config using arrays also?
     
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
  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.