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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..