Skip to content

jimdroberts/FishMMO

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
October 24, 2023 11:51
October 27, 2023 13:32
October 24, 2023 11:51
October 24, 2023 11:51

FishMMO

FishNetworking MMO Template

INITIAL SETUP INSTRUCTIONS

Windows

  1. Launch WindowsSetup.bat as Administrator.
  2. Ensure WSL, DOTNET 7, DOTNET-EF, and Docker are all installed.
  3. Configure the Database.cfg file in \FishMMO\
  4. Create a docker container and an initial migration.
  5. Build the FishMMO-DB project. The FishMMO-DB.dll should be automatically copied to your FishMMO/Assets/Plugins/Database directory.
  6. Repeat step 5 for FishMMO-Utils.

Note

If you want to use a different directory name than FishMMO please adjust FishMMO-DB.csproj and FishMMO-Utils.csproj.

 ...\FishMMO\Assets\Plugins\(FishMMO-DB or FishMMO-Utils)

You can rename the folder path to fit your directory structure.

FishMMO (Unity)

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.

buildgame

Configuration

Configure LoginServer.cfg, WorldServer.cfg, and SceneServer.cfg in the builds Data folder. Ensure your SceneServer.cfg RelayAddress and RelayPort are pointing to the WorldServer.cfg address and port. If you would like to Add new WorldScenes to your project simply place them in the /Scenes/WorldScenes/ directory.

To Rebuild your new scenes InitialSpawnPositions, RespawnPositions, and/or Teleporters open the WorldSceneDetails asset which is located in /Resources/Prefabs/Shared/ and press the Rebuild button.

worldscenedetails

Start the servers

To start the server run START.bat on Windows or START.SH on Linux in the server build root directory to automatically launch the servers.