Invitation code webhook

by Gr33nBug·v0.0.2·Updated 2025-09-23

A SMAPI mod that automatically sends your Stardew Valley multiplayer invitation code to the Discord webhook when loading a save. Messages can be updated or marked as expired after a customizable amount of time.

Screenshots 2 screenshots

About this mod Machine translation

A SMAPI mod that automatically sends your Stardew Valley multiplayer invitation code to the Discord webhook when loading a save. Messages can be updated or marked as expired after a customizable amount of time.

Invite Code Webhook

🎮 **A SMAPI mod that automatically sends your Stardew Valley multiplayer invitation code to the Discord webhook! **

---

✨ Core Functions

  • **Automatically send invitation codes** - Automatically send multiplayer game invitation codes to Discord when loading a save
  • **Smart Message Update** - Automatically update Discord messages if the invitation code changes
  • **Expiration Marking Function** - Messages can be marked as expired after a configured time
  • **Message Memory System** - Remember message IDs to ensure the correct message is updated or expired
  • **Fully Customizable** - Customize message text, colors, thumbnails and time settings via config.json

---

📥 Installation Guide

  • **INSTALL SMAPI** - Make sure SMAPI is installed for Stardew Valley
  • **Download Mod** - Download this module and extract it to the Mods folder
  • **Generate configuration file** - The default config.json is generated when the game is launched for the first time.
  • **Configuration Settings** - Open config.json with a text editor and configure the Discord webhook URL and other parameters

---

⚙️ Configuration options

The configuration file config.json is created in the module folder after the first startup. The following parameters can be customized:

```json

{

"WebhookUrl": "

"InviteTitle": "Multiplayer game invitation code",

"InviteDescription": "Use code to join the game: **{inviteCode}**",

"InviteColor": 3447003,

"InviteFooter": "The invitation code is valid while the game is open",

"ExpiredTitle": "The invitation has expired",

"ExpiredDescription": "The multiplayer game invitation code has expired",

"ExpiredColor": 15158332,

"ExpiredFooter": "Thanks for playing!",

"ImageUrl": "

"ExpirationMinutes": 5

}

```

---

🌟 **Make multiplayer game invitations more convenient, no need to manually copy and paste invitation codes! **

Install & use Install: SMAPI mod (Stardew Valley standard)

  1. Install SMAPI first (Stardew Valley's mod loader): download it from smapi.io, run 'install on Windows.bat' and pick your game folder.
  2. Unzip the archive from playbuff and find the folder that contains manifest.json — that folder is the mod.
  3. Copy that whole folder into Stardew Valley/Mods/.
  4. Launch the game through SMAPI (run StardewModdingAPI.exe or set it as the launch option). The console before the title screen lists each mod's load result.

Cheat-style tools may not need SMAPI — unzip and run them as the readme describes. Back up your save before editing it; SMAPI lists failed mods in its console.

File & checksum

Filename
InviteCodeWebhook
File size
29.2 KiB
SHA-256
ec4a2137c42805b82de8fa8d0fb10e10ce2b387e766432e83b38cd733c25a906
Stored at
2026-10-10 11:06