Hi guys, I work on a single-player simulator project and I want make this simulator server dependent. The reason is ; I want to protect my project as much as I can from the pirates , and another reason is my simulators licence will be time driven, in other words clients will buy 1 hours or 5 hours etc. from the membership website so when they want more they can buy more. So I have created a word-press website to collect membership details and payments. Some of my ideas ; Using dedicated server to collect customer
s data from word-press API and then driving clients according to this data.(for example usage time checking, block client if it is blocked by the word-press API, notice client if they are on the last 15 min of session).
My question is; how I can create server side logic which will drive a single-player client? Which place I will write this logic?
Thanks
I wouldn’t use UE4 dedicated server, instead I would use plugin like VaRest and query your server .php
scripts with POST
requests from your UE4 client.Or you can use SocketIO and have a Node.JS server wich handle licences. With both of these solutions you can easily create a login system and check if the account has right to use your client or not.
Thanks mate this is perfect .