😎
Knight Framework
ContributeDownload
  • Download
  • Documentation
    • Welcome
    • Installation
    • What are folders
    • What are services?
    • Getting a service
    • Creating a library
    • AGF/Knit Transition to Knight
    • Exposed-Server Functions
    • Configuring Knight
    • KPM Integration: Knight Package Manager CLI
    • Framework Profiling
  • Services vs Controllers
  • Execution Model
  • Intellisense
  • Luau API
    • Knight External API
    • Knight Remotes API
  • Community
    • Documentation
    • Framework
    • Templates (RBXL)
    • Games who use Knight
  • Legacy Documentation
    • README.md
    • Services
    • Startup Priority
Powered by GitBook
On this page
  • What are folders?
  • Where are they located?
  • The Server
  • The Client
  • The Shared
  • How to use?
  • How you utilize folders and stylize is up to you!

Was this helpful?

Edit on GitHub
  1. Documentation

What are folders

PreviousInstallationNextWhat are services?

Last updated 10 months ago

Was this helpful?

What are folders?

Folders contain Services, Objects, etc you may create within your codebase. Everything within the folders will be automatically loaded on game start.

Parent ModuleScript is loaded, it's descendants does not. You can have a infinite amount of folders.*

Where are they located?

There is 3 locations where the folders are located.

The Server

This is located in root/ServerStorage/Knight

The Client

This is located in root/PlayerScripts/StarterPlayerScripts/Knight

The Shared

This is located in root/ReplicatedStorage/Knight

How to use?

In this screenshot this is the default layout for 0.0.3, you can create new folders and delete them as you please.

Services folders are used to contain services. Go here to learn about here;

You can create as much folders as you please such as a Objects folder, asset folder, etc. Or even folders under folders. There is no limit & it can be indexed the same.

Knight.MyCustomFolder.AnotherCoolFolder.AndAnother.CoolModule.bar()

How you utilize folders and stylize is up to you!

Article & Art by vq9o

What are services?
Style example