Managing Player Data - MLROOTC/MLR-OOTC GitHub Wiki
URLs
Roster Sheet
Creating A New Player
- Open the Player List Import tab on the backend sheet
- Scroll to the bottom and add the player data (name, positions, etc.) into a new row
- For the player ID, increment the previous playerID, and ensure the new one is both unique and sequential (i.e., +1 to the last number)
Update Existing Player
- Open the Player List Import tab of the MLR backend sheet
- Find the existing player in the list and update whatever has changed
MiLR Credits
- Perform Update Existing Player as described above
- Open the Credit Transactions tab of the MiLR backend sheet
- Input the respective transactions using the dropdowns and the credits spent for that change
Database
Syncing the Database
The database can be synced with the roster sheet on demand. Just run the following command:
.sync_database
Please note that the League Ops role in main is required to run this command.
Fetching Discord IDs
Discord IDs can be grabbed automatically if the players discord name in the roster sheet matches their actual discord name, and they are in a server with the ump bot. All you need to do is run the following command from the Ump Server:
.get_discord_ids
Please note that the Overseer role in the Ump Server is required to run this command.