Optimised `CreateBarterBarterScheme`
Single Player Tarkov - Server Project
This is the Server project for the Single Player Tarkov mod for Escape From Tarkov. It can be run locally to replicate responses to the modified Escape From Tarkov client
Table of Contents
Features
For a full list of features, please see FEATURES.md
Installation
Requirements
This project has been built in Visual Studio (VS) and Rider using .NET
Initial Setup
To prepare the project for development you will need to:
- Run
git clone https://github.com/sp-tarkov/server-csharp.git serverto clone the repository - Run
git lfs pullto download LFS files locally. - Open the
project/server-csharp.slnfile in Visual Studio or Rider - Run
Build > Build Solution (CTRL + SHIFT + B)in the IDE
Development
Commands
Debugging
To debug the project in Visual Studio Code:
- Choose
ServerandSpt Server Debugin the debug dropdowns - Choose
Debug > Start Debugging (F5)to run the server
Mod Debugging
To debug a server mod in Visual Studio, you can copy the mod DLL into the user/mods folder and then start the server
Contributing
We're really excited that you're interested in contributing! Before submitting your contribution, please consider the following:
Branches
- master
The default branch used for the latest stable release. This branch is protected and typically is only merged with release branches. - 4.0.0-DEV The main branch for server development. PRs should target this.
- 4.0.1-DEV Development for the next hotfix release. Hotfix releases include bug fixes and minor features that do not affect the coding structure of the project. Special care is taken to not break server mod stability. These always target the same version of EFT as the last minor release.
Pull Request Guidelines
- Keep Them Small
If you're fixing a bug, try to keep the changes to the bug fix only. If you're adding a feature, try to keep the changes to the feature only. This will make it easier to review and merge your changes. - Perform a Self-Review
Before submitting your changes, review your own code. This will help you catch any mistakes you may have made. - Remove Noise
Remove any unnecessary changes to white space, code style formatting, or some text change that has no impact related to the intention of the PR. - Create a Meaningful Title
When creating a PR, make sure the title is meaningful and describes the changes you've made. - Write Detailed Commit Messages
Bring out your table manners, speak the Queen's English and be on your best behaviour.
Style Guide
TODO: add style guidance Ensure that your code is automatically formatted whenever you save a file.
Tests
We have a number of tests that are run automatically when you submit a pull request. You can run these tests locally by running The unit test sub-project. If you're adding a new feature or fixing a bug, please conceder adding tests to cover your changes so that we can ensure they don't break in the future.
License
This project is licensed under the NCSA Open Source License. See the LICENSE file for details.