LogoUnify

Editing Data Template

Learn how to edit the user data template configuration.

What is Template.luau?

Template.luau defines the default structure of a new user’s data. When a new player joins your game, the system uses this template to create their data profile.

Locating and Editing Template.luau

To customize how user data is structured or saved, you’ll need to edit the Template.luau file. This file lives inside the Configs folder within the Shared directory.

Below is the visual representation of the file structure:

Template.luau
Functions.luau

Example Contents

return {
  Coins = 0,
  Level = 1,
  Inventory = {},
  Settings = {
    Music = true,
    Notifications = true,
  },
}