Reading From A Config File onCommand

Discussion in 'Plugin Development' started by goldencreeper, Sep 8, 2012.

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

    goldencreeper

    Hello miencrafters, i am developing a plugin for my server(May be public). what i am trying to do is when a player joins my server it adds their name to a custom config file along with a default value which is 100. Then when the player types /$ it sends the player the default value(100). But when a player types /$ nothing happens until the server restarts. after the server restarts after the player has already joined before and the player types /& then it shows them the default value(100).
    Thx,
    danmw3
     
  2. Offline

    The_Coder

    if you are making a money plugin use sql
     
  3. Offline

    goldencreeper

    i was going to do that but i dont know very much sql code at all

    *I have tried using sql but failed severely lol

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

    QuantumDev

Thread Status:
Not open for further replies.

Share This Page