FishNetworking MMO Template
INITIAL SETUP INSTRUCTIONS
If Dev branch is ahead of main, Please checkout project to Dev Branch!
- Download / Clone Project into your choosen directory (https://github.com/jimdroberts/FishMMO.git)
- Clone - CD into your directory, Open CMD of your choice, paste "git clone https://github.com/jimdroberts/FishMMO.git"
- Open the Unity Hub and ensure that Dedicated Server Build Support is installed for your current Unity3D install.
- In the Unity Hub go to the Projects tab and Click "ADD", Enter "FishMMO" Directory, finally Select "FishMMO-Unity"
- Open "\FishMMO\FishMMO-Dependencies" Directory, Open "FishMMO-Dependencies.sln" , Right click solution on right side menu, "Clean", Right click solution, Click "Build"
- Open "\FishMMO\FishMMO-Database" Directory, Open "FishMMO-Database.sln" , Right click solution on right side menu, "Clean", Right click solution, Click "Build"
- Go back to your open project, You should now see a "FishMMO" Menu up top. Click "FishMMO"
- Select "Build", Select "Installer", (If prompted name the .unity file as aio_serv.unity and save it to \Assets) Select "\FishMMO" Directory, Save it there.
- Select "Build", Select "Server", Select "Windows x64-All In One", Select "\FishMMO" Directory to save.
- Open the location of where you saved the "Installer". EX: "\FishMMO\FishMMO-Unity\Installer Windows"
- Ensure WSL, DOTNET 7, DOTNET-EF, Docker and your Initial Migration are all installed by launching the "Installer.exe". Select "Everything Option"
- Configure LoginServer.cfg, WorldServer.cfg, SceneServer.cfg, and appsettings.json in the builds Data folder.
- Navigate to "\FishMMO\All-In-One Windows" Or where you have chosen to install your "Windows x64-All-In-One".
- Launch "Start.Bat"
https://drive.google.com/file/d/11FFrECZSh_zW9JVKZk7lR0xUYHBwVZAR/view?usp=sharing
If you want to use a different directory name than FishMMO please adjust FishMMO-DB.csproj and FishMMO-Utils.csproj.
...\FishMMO\Assets\Plugins\(FishMMO-Database or FishMMO-Dependencies)
You can rename the folder path to fit your directory structure.
FishMMO will build your project for you. Click any of the Server or Client build types and select the output folder. All configuration files will be copied over automatically from the root project directory.
If you would like to Add new WorldScenes to your project simply place them in the /Scenes/WorldScenes/ directory.
To Bake Initial Spawn Positions, Respawn Positions, and/or Teleporters into your new scenes open the WorldSceneDetails asset which is located in /Resources/Prefabs/Shared/ and press the Rebuild button.