Closed Denifia closed 7 years ago
I'm wanting a really quick easy interface.
You run the exe and it shows you the command to add YOU as a friend to another player. You can then copy this command and send to your friends.
e.g.
Player 1 runs SendLettersCli.exe
at a command prompt
Output is:
Ask your friends to run this to add you as a friend!
SendLettersCli.exe --id 9881fc60-2161-4399-863c-212d54a0ca0d --name <your name>
e.g. SendLettersCli.exe --id 9881fc60-2161-4399-863c-212d54a0ca0d --name Larry
Hrmmm... just realised that the TrainerMod explains how to add commands to SMAPI... so I'll just do that :)
TrainerMod.cs for reference.
Add("sentletters_addfriend", "Adds a friend to your currently loaded game.\n\nUsage: sentletters_addfriend
using the CommandService and the SMAPI console, i've implemented all the features I wanted to
Currently to add online friends, you need to edit the json files directly. I'd like people to be able to use a UI (in or out of Stardew) to manage their friends list.
Decided to use SMAPI commands to manage friends.