Jump to content

Best Data Storage


Tslat

Recommended Posts

Hooray, another post from me..

 

Anyway, I've worked with bukkit quite a bit, and using its storage methods (I.E. config files, txt files, sql, etc..). Obviously some are better than others depending on the circumstances.

 

For forge however, I haven't looked into data storage too much just yet, and I was wondering what sort of options there are, and what the best options are in a case of just storing pure data, where the structure doesn't need to be changed but the data does.

 

EDIT: For reference, assume the data is all being stored purely as text (Strings)

It does not need to be edited externally, it's used purely for mod storage.

 

This being in terms of reliability, stability, efficiency, and usability.

Feel free to post opinions and such.

Link to comment
Share on other sites

You've mentioned the kind of data (basically your description is "random data" so far, which is the worst kind of data to store), but not the access and modification you require.

 

Without this info, anyone would be hard pressed to make suggestions for a storage model.

Link to comment
Share on other sites

The data being stored is just pure text, basically (Assume the amount could be arbitrarily large, or potentially small)

Data does not need to be edited manually, just by a mod. It should be stored outside the world though.

 

Link to comment
Share on other sites

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.