Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Handling configuration/data

Joined
Jan 28, 2017
Messages
492
How do you generally handle configuration or data?

Example
Code:
        stores = new Store[3];
        stores[0] = new Store("Aubury",  "Aubury's Rune Shop.");
        stores[1] = new Store("Betty", "Betty's Magic Emporium.");
        stores[2] = new Store("Squire", "Void Knight Magic Store");

I'd like to not hardcode this. But rather load it from a online resource. So when I add other items/shops/..., it doesn't require me to recompile and check-in the code. First thing that popped into my mind was to add xml or json files to my SVN. But people can't publicly access that.

I was thinking of using a pastebin or something similiar. But I'm wondering if there were any better alternatives.

Don't want to create my own webhost or ftp.
 
Top