Jump to content

Recommended Posts

Posted

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.

Posted

Interesting topic.

 

You'll have to be a bit more specific about the kind of data, access and modification you require, though.

 

There is no catch-all storage method.

Posted

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.

Posted

What is it you're trying to store data about? Players? World? Also, do you want to be able to manually edit the data through config files, or do you want it to be stored in the world?

Posted

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.

 

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.