From c423486e8c3b2e3586cfa9c9d8c427666a4b3b73 Mon Sep 17 00:00:00 2001 From: Christopher Date: Mon, 12 Sep 2022 20:24:22 -0700 Subject: [PATCH] Update README.md --- README.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4b79a9a..d34e82a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,31 @@ -# lazyfivem - WIP +# lazyfivem A simple CUI for running any FiveM server and executing commands. ## Install -Download/clone the repo, and inside `cmd/lazyfivem`, run `go install .`. It will install `lazyfivem` to the PATH, -and you can run `lazyfivem` in any terminal. + +### Windows (scoop) +``` +# Add the extras bucket +scoop bucket add extras + +# Install lazyfivem +scoop install lazyfivem +``` + +### Adding servers +Create a folder called `.lazyfivem` and a file inside called `config.yaml` at the very root of your computer. +Example: +``` +mkdir C:/.lazyfivem +# Then create config.yaml inside +``` + +You can then add servers to `config.yaml` like this +```yml +NPWDServer: "X:/ServerFX/starter.bat" +QBCore Server: "X:/qbcoreServer/starter.bat" +``` + ## Mappings * **TAB** - Moves cursor between the sidebar and command exec view