I am creating a game and I am wondering if anyone knows any ways to prevent memory hacking, or to at least make it difficult to do so.

I could make everything server sided, but it would waste precious bandwith and I would like to make only the things I need to server sided (ie: weapons, items, ..).