rrcommander.json5 6.15 KB
Newer Older
1
{
2
3
  "username": "", // In case you have a username/password set up on your server, enter those details here.
  "password": "", // Without them, RRCommander will not be able to connect to your server.
4
5
6
7
8
9
10
11
12
  "servers": [
    {
      // Server 1
      "admin_ids": [ // IDs of users that have access to the chat commands like /kick, /ban etc.
        -1, // Server chat
        11962, // Koen van Hove
      ],
      "minimum_rating": -1, // Minimum rating required to join the server. Set to -1 to disable.
      "minimum_reputation": 80, // Minimum reputation required to join the server. Set to -1 to disable.
13
      "minimum_activity": -1, // Minimum activity score required to join the server. Set to -1 to disable.
14
15
16
      "default_rating": 0, // Default rating given to players who have not driven ranked yet. New players start with 1500, default is 0.
      "default_reputation": 0, // Default reputation given to players who have not driven ranked yet. New players start with 70, default is 0.
      "default_activity": 0, // Default activity score given to players who have not driven ranked yet. New players start with 0, default is 0.
17
18
      "reject_message_rating": "Kicked {0} due to insufficient rating ({1}/{2})", // Message to broadcast when someone with insufficient rating joins.
      "reject_message_reputation": "Kicked {0} due to insufficient reputation ({1}/{2})", // Message to broadcast when someone with insufficient reputation joins.
19
      "reject_message_activity": "Kicked {0} due to insufficient activity ({1}/{2})", // Message to broadcast when someone with insufficient activity joins.
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
      "whitelisted_ids": [
        11962, // Koen van Hove
      ],
      "incidents": [
        {
          "penalty": "drivethrough", // drivethrough, slowdown, stopandgo
          "duration": 10, // In case of slowdown or stopandgo, the duration for the penalty.
          "intervals": [10, 20], // Incident intervals at which someone gets this penalty.
          "types": { // Amount of incident points gained for each incident type
            "0": 4, // Car to car collision
            "1": 2, // Collision with a track object
            "2": 4, // Going the wrong way
            "3": 1, // Going off track
            "4": 1, // Staying stationary on the track
            "5": 2, // Losing control of the vehicle
            "6": 1, // Invalid Lap
            "7": 2, // Not serving a penalty
            "8": 1  // Disconnecting / Giving up before the end of a race
38
          },
Koen van Hove's avatar
Koen van Hove committed
39
          "exclude_sessions": [0, 256, 513, 514, 515, 770], // Sessions to exclude, for the full list see the README
40
          "message": "Awarded a drive-through penalty to {0} for getting {1} incident points"
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
        },
        {
          "penalty": "stopandgo", // drivethrough, slowdown, stopandgo
          "duration": 10, // In case of slowdown or stopandgo, the duration for the penalty.
          "intervals": [30, 40, 50, 60, 70, 80], // Incident intervals at which someone gets this penalty.
          "types": { // Amount of incident points gained for each incident type
            "0": 4, // Car to car collision
            "1": 2, // Collision with a track object
            "2": 4, // Going the wrong way
            "3": 1, // Going off track
            "4": 1, // Staying stationary on the track
            "5": 2, // Losing control of the vehicle
            "6": 1, // Invalid Lap
            "7": 2, // Not serving a penalty
            "8": 1  // Disconnecting / Giving up before the end of a race
56
          },
57
          "message": "Er is een stop-and-go-straf toegekend voor het behalen van {1} incidentpunten aan {0}"
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
        },
        {
          "penalty": "slowdown", // drivethrough, slowdown, stopandgo
          "duration": 3, // In case of slowdown or stopandgo, the duration for the penalty.
          "intervals": [5, 8, 15], // Incident intervals at which someone gets this penalty.
          "types": { // Amount of incident points gained for each incident type
            "0": 4, // Car to car collision
            "1": 2, // Collision with a track object
            "2": 4, // Going the wrong way
            "3": 1, // Going off track
            "4": 1, // Staying stationary on the track
            "5": 2, // Losing control of the vehicle
            "6": 1, // Invalid Lap
            "7": 2, // Not serving a penalty
            "8": 1  // Disconnecting / Giving up before the end of a race
73
74
          },
          "message": "{0} erhielt eine Verlangsamungsstrafe für das Erhalten von {1} Vorfallpunkten"
75
76
77
78
79
80
        }
      ]
    },
    {
      // Server 2
      "admin_ids": [ // IDs of users that have access to the chat commands like /kick, /ban etc.
Koen van Hove's avatar
Koen van Hove committed
81

82
83
      ],
      "minimum_rating": -1, // Minimum rating required to join the server. Set to -1 to disable.
Koen van Hove's avatar
Koen van Hove committed
84
      "minimum_reputation": -1, // Minimum reputation required to join the server. Set to -1 to disable.
85
      "minimum_activity": -1, // Minimum activity score required to join the server. Set to -1 to disable.
Koen van Hove's avatar
Koen van Hove committed
86
87
      "reject_message_rating": "", // Message to broadcast when someone with insufficient rating joins.
      "reject_message_reputation": "", // Message to broadcast when someone with insufficient reputation joins.
88
      "reject_message_activity": "", // Message to broadcast when someone with insufficient activity joins.
89
      "whitelisted_ids": [
Koen van Hove's avatar
Koen van Hove committed
90

91
92
93
94
      ],
      "incidents": [
        {
          "penalty": "slowdown", // drivethrough, slowdown, stopandgo
Koen van Hove's avatar
Koen van Hove committed
95
96
          "duration": 3, // In case of slowdown or stopandgo, the duration for the penalty.
          "intervals": [10, 20, 30, 40, 50, 60, 70, 80], // Incident intervals at which someone gets this penalty.
97
98
99
          "types": { // Amount of incident points gained for each incident type
            "0": 4, // Car to car collision
            "1": 2, // Collision with a track object
Koen van Hove's avatar
Koen van Hove committed
100
101
102
103
104
105
106
107
108
            "2": 0, // Going the wrong way
            "3": 0, // Going off track
            "4": 0, // Staying stationary on the track
            "5": 0, // Losing control of the vehicle
            "6": 0, // Invalid Lap
            "7": 0, // Not serving a penalty
            "8": 0  // Disconnecting / Giving up before the end of a race
          },
          "message": "Stop crashing {0}!"
109
110
111
112
113
        }
      ]
    }
  ]
}