FSGModding / FSGModding/FS22_Dedi_Companion

Remote Ban Feature

Open
#2 0 comments 0 reactions 1 assignee Claimed by @davarravad View on GitHub
enhancement
Dominant language
Lua
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Ability to remotely ban players based on their player id via XML file in the savegame.

This feature can easily be updated with the FSG Bot similar to how it was with FS19.

Create a bans.xml in the savegame file and have the mod compare to the bans data on the server on start.

Bans.xml in Savegame to contain the following data:
- Existing Bans
- New Bans

Mod will compare the new bans to those already on the server, and add the new ones.
Once added, it will remove new bans from Bans.xml and update Existing Bans.

Will also need a way to remove bans. Maybe just add a field in the bans listing for each ban that is status. new, active, remove

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.