FSGModding / FS22_Dedi_Companion

FS22 Dedicated Server Companion Mod

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remote Ban Feature

FSGModding opened this issue · comments

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