Jump to content
  • 0

Question

Posted

Bori kapios na m pi pos boro na ftia3o ph config/custom  oti fiaxno dika m java na benoun eki .

 

eftia3a afta egw alla den doulevi

 

 

public static final String CUSTOM_FILE = "./config/custom.properties.txt";

 

kai

 

// Custom

try

{

L2Properties customSettings = new L2Properties();

is = new FileInputStream(new File(CUSTOM_FILE));

customSettings.load(is);

 

ONLINE_PLAYERS = Boolean.parseBoolean(customSettings.getProperty("OnlinePLayers", "False"));

 

}

catch (Exception e)

{

e.printStackTrace();

throw new Error("Failed to Load " + CUSTOM_FILE + " File.");

}

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...