Are shared modules good practice?

I’m kinda in a state where I want a lot of improvement, and safety, but shared modules is the one thing I have a lot of uncertainty of. Such as using my Stun on the client to slow down the player, whether or not they are hitting someone or not (It’s ran in my client-sided hitbox).

This is not much of a help question more than it’s an info question, but I’d regardless love some clarification, or even an article on it.

You want server verification to prevent exploiters. But using modules is a good practice, good for organization etc. I wouldn’t say they are unsafe depends how you use it

2 Likes

Really only shared modules should be stuff like Roact, Cryo, etc., stuff that doesn’t directly make a part of the gameplay but helps code the gameplay on server/client.

1 Like