clientSideOnly will only be loaded in the Client environment. serverSideOnly will only be loaded in the Dedicated server environment. Combine with acceptedMinecraftVersions to prevent users from loading the mod in the incorrect environment.