SMAPI
About SMAPI
Modding docs
Tools
Mod compatibility
Log parser
JSON validator
JSON validator
Upload a JSON file
Choose the JSON format:
None
SMAPI: manifest
SMAPI: translations (i18n)
Content Patcher
Drag the file onto this textbox
(or
choose a file
)
:
{ "Format": "2.8.0", "Changes": [ { "Action": "Load", "Target": "{{ModId}}/MyChannel", "FromFile": "assets/channel.png" }, { "Action": "EditData", "Target": "Astraios.BroadcastAPI/CustomChannels", "Entries": { "{{ModID}}_MyChannel": { "Name": "{{ModID}}_MyChannel", // This is the internal name of the channel like an ID "Displayname": "Bez Channel", // This is the name that will actually be displayed to the player "Dialogues": [ "Welcome to my custom channel!", "... I don't know what to say here (>.<)" ], "Texture": "{{ModId}}/MyChannel", // Use the name of the texture you assigned above "SpriteRegion": { "X": 0, "Y": 0, "Width": 16, "Height": 32 }, // The position and size of the channel's sprite "AnimationLength": 4, // How many frames are in this channel (default 2) "AnimationInterval": 200.0 // The Time between frames (default 150) } } } ] }
Click this button: