INSTALLATION:

  1. Download Minecraft Plugin “PGM-API” from HERE or GitHub
    .
  2. Go in the config “PGM” (NO PGM-API) and enable MySql

    mysql://localhost/pgmapi?user=YourUsername&password=YourPassword

    WARN: CHANGE ONLY  “localhost”, “YourUsername” and “YourPassword” NOT CHANGE pgmapi
    .

  3. Start the server. (At the first start you will notice errors. This is normal)
    .
  4. Stop your server and open directory “PGM-API” and Config.yml
    .
  5. Inside the config you can configure all the variables:
    Server: “PGM-1” -> Name of your server
    STATS:
    Kills: 1 -> Kills give on Kill
    Death: 1 -> Deaths give on Death
    COINS:
    Kills: 5 -> Coins give on Kill
    Death: 3 -> Coins removed on Death
    MYSQL:
    Host: localhost -> Replace “localhost” with your ipserver mysql
    Port: 3306 -> Default Port
    DbName -> pgmapi (CHANGE ONLY IF YOU ALSO WANT TO CHANGE IN THE CONFI OF “PGM” AND Config.php (WEB))
    Username: root -> Insert user MySql
    Password: ‘YouPassword’ -> Insert your password MySqlWARN: The data must be the same as in point # 2
    .
  6. Start the server. (If an error still appears, check your config carefully, or contact me via email: [email protected])
    .
  7. Download WebFile from HERE or GitHub
    .
  8. Upload file into WebServer root.
    .
  9. Open file “Config.php” with Editor (Example Notepad ++)
    .
  10. Setup Config.php: (WARN: DO NOT MODIFY $name $ipad … etc … Only modify “PGM SERVER”.  EXAMPLE: $name = “My Server” $ipaddressmc = “mc.blabla.it”)

    I recommend that you create a search page on your main site, which points to the file “profile.php?u=USERNAMEPLAYER”
    .
  11.  Admin permissions: pgmapi.admin
    .
  12. Now you have to … No kidding we’re done!

 

For help or info contact me at [email protected]
Documentation: https://www.ilariochiera.it/documentations/pgmapi
Github Plugin:
GitHub Web: