Maintaining Client-Server Version Numbers

Hi

Sorry for my silly question.
I have a same problem like you. And trying to solve with this code.

So what do I need to do with this code? Do I need to call from my blueprint gamemode or something?
Or this code already running from start like a “beginplay”?