I need help on multiplayer blueprint

I have a traditional card game that works very well locally. I have a blueprint in the level called deck, and manages the composition and distribution of cards to the players. This does not work in Multiplayer, because the client rolls different cards from the server and is all “busted”. I understand that there is a basic problem on where to create the “rules”. Can anyone help me? If I enter all the deck rules in the GameInstance would it work?