Lunar Data Module

Lunar Data Module

Module | Github


What is “Lunar Data Module”

Lunar (or Lunar Data Module) is a project I started. I have focused on the important details that I could think of. This is pretty handy for programmers that don’t want to waste time spending hours to craft there own Data Module.


Information

Functions
  • User changing capability.

  • Uses page system.

  • Poor made. Improvement can be made later on.

Details

This is a passion project I made before a week long exams consisting all of my subjects and counting all of my grade. I have posted a week before it and it rushed so expect poor efficiency and code.


Documentation

To find more information about the Module, check out the Github page I have set up.
Github Wiki page is not yet in the works but will be soon!

data.lua

 data.find( pageIndex : number,  Key : number )
 data.change( Key : number , ValueName : string, Value : any ) 

main.lua

 main.loadPage( Player : Player ) 
 main.savePage( Player : Player ) 

page.lua

 page:Create( Name : string, Key : string, Data : {}) 
 page:Remove( Key : string ) 

Page Output:

image


I know there other solutions for your Data Store Module problems such as ProfileService or DataStore2. But this suit’s me the best for my game development journey and could be used by others.

Thank you for reading this Topic and hope you have a wonderful day!

5 Likes