What do you call code accessed by both client and server?

I like to have my modules split into three main folders:

  • Code for the Client
  • Code for the Server
  • Code to be used by both Client and Server

Obviously for the top two groups I’ll be naming their folders ‘Client’ and ‘Server’ respectively, however I was wondering what the the technical term was for the third group? I’ve always used the term ‘Universal’, however I was curious to know if their was a proper name for it?

Generally it’s just called Cross-Server Client Communication, I don’t think there it a name for it. Universal is wrong though, universal scripts are for changing between places.

4 Likes

You could also call it replicated code, as in ReplicatedStorage

3 Likes

Replicated code would work, but I’d rather use that for managing intros for ReplicatedFirst.

1 Like

In my games I name the folder Shared.

2 Likes

I usually call the folder where those types of modules are located “SharedModules”

1 Like

Industry standard is “shared” code.

11 Likes

Thank you for your responses - It looks like I’ll be using ‘Shared’ :happy3: