A custom addon for the MMORPGKIT which uses StreamingAssets to store the server-connection details on client/player side in a CSV text file just like server does. Allows you to change the server list quickly and easily without needing to rebuild the client.
- Uses StreamingAssets
- Easier modification of server-connection-list details without rebuilding client, specially useful if need to switch server between dev/production
- Manage multiple server configs and enable/disable which one to use by renaming it
- The Server List is in CSV, to add more servers just add new entry on a new line
- Super Helpful for use in CI/CD or need to deploy multiple versions of server/client but could not because with auto-deployment to multiple platforms, you would need to change server details for client Now, you can just add steps in your CD pipeline to rename or delete other configs
- Can use hostname or IP
- Supports all standalone platforms, ios, android and even WebGL
- Falls back to whatever Server List you have setup in your Scene if cannot find the serverConfig CSV file or fails to read it
- The addon is plug and play, just drop it in your project.
- The addon automatically creates the
StreamingAssets
folder at root of your project's Assets Folder. ThisStreamingAssets
folder contains example CSV file for serverList, please edit it to include your server list. This StreamingAssets folder is included with your builds automatically. - Edit
MMOClientInstance.cs
to changeMmoNetworkSetting[] networkSettings
fromprivate
tointernal scope
- Whatever serverList you set in the StreamingAssets folder in your project's Assets folder is included with your buidls (overwriting the build's previous serverList), but you can still edit and change the serverList from your build's StreamingAssets folder as required.