Auction house system extension for MMORPG KIT
It will connect to mmorpg-kit-auction-house-service. So you have to setup it, try googling how to install Node.js, then follow the instruction.
- Require unity-rest-client
- Require Newtonsoft.JSON, you can download the one which made for Unity from this https://github.com/jilleJr/Newtonsoft.Json-for-Unity. Or add
"com.unity.nuget.newtonsoft-json": "2.0.0tomanifest.jsonto useNewtonsoft.JSONpackage which made by Unity.
After you add this extension to your project, it will have settings that important for auction house service connection there are:
auctionHouseServiceUrl- Where is the auction house service, if you runs auction house at machine which have public IP is128.199.78.31and running on port9800(you can set port in.envfile ->PORT), set this tohttp://128.199.78.31:9800auctionHouseServiceUrlForClient- It is the same thing withauctionHouseServiceUrlbut this one will be sent to clients, and clients will use this value to connect to auction house service.auctionHouseSecretKey- Secret key which will be validated at auction house service to allow map-server to use functions. You can set secret keys in.envfile ->SECRET_KEYS, if in the.env->SECRET_KEYSvalue is["secret1", "secret2", "secret3"], you can set this value tosecret1orsecret2orsecret3.