Neoministein / Interstellar.BanSystem

A R2Northstar mod allowing players to ban parts of a loadout via UI or configuration
1 stars 0 forks source link
northstar northstar-mods r2northstar

Interstellar.BanSystem

Version Downloads

This is the repository for the Interstellar.BanSystem Mod for the R2Northstart client of Titanfall 2.

General Information

Required by: Server (To use the UI you also need it on the client)

UI features:

Additional features:

Config

Permissions

By default, everybody can change the banned loadout.

To stop players from changing the configuration, you can set the inbuilt Northstar config ns_private_match_only_host_can_change_settings to 1 at Northstar.CustomServers\mod.json

If you use a dedicated server, you can add yourself as an admin in the mods config at Interstellar.BanSystem\mod.json. Change the Default Values of "grant_admin" to your name or UID. You can add multiple by adding a , between them with NO SPACES.

"ConVars": [
  {
    "Name": "grant_admin",
    "DefaultValue": ""
  }
]

You can see your own UID by going into the Northstar lobby and typing sv_cheats 1; script print(GetPlayerArray()[0].GetUID()) into the console

Ban Config

You can predefine an initial ban config that will be loaded on startup at 'Interstellar.BanSystem\mod.json'. Change the Default Values of "ban_config" to a exported config, which you can get by clicking on export button in the UI and copying the string.

"ConVars": [
  {
    "Name": "ban_config",
    "DefaultValue": ""
  }
]

You can also set it on the fly by typing this into the console script_ui ImportBanConfig("THE_BAN_CONFIG")

Developed by