Add tModLoader 1.4+ & Edit tModLoader (Legacy) (#184)

* Add tModLoader 1.4+

Due to the major changes in how tModLoader functions, a new template has been created to address the new methods. This version will download the appropriate dotnet version and execute the tModLoader.dll. This shares the same config and metaconfig files as the original tModLoader.

* Update config and metaconfig

* Fix file naming

* Fix File Naming

* Fix broken stuff

* Add original tModLoader config final update stage

* Update tmodloader14metaconfig.json

Co-authored-by: Jasper Borsboom <j.borsboom@veltwerk.nl>

* Update tmodloader14config.json

* Final Updates

* Final changes

* Update tmodloader14.kvp

Co-authored-by: Jasper Borsboom <j.borsboom@veltwerk.nl>
This commit is contained in:
IceOfWraith
2022-09-18 01:23:45 -05:00
committed by GitHub
parent 1ae86d97f6
commit 25ce98d901
6 changed files with 744 additions and 53 deletions

View File

@@ -1,21 +1,20 @@
[
{
"DisplayName": "World Seed",
"Category": "Terraria Generator settings",
"Keywords": "seed new world",
"Category": "Terraria Generator Settings",
"Keywords": "seed,new,world",
"Description": "Which world seed to use when generating a new world",
"FieldName": "Seed",
"ParamFieldName": "seed",
"placeholder": "PoweredByAMP",
"suffix": "",
"InputType": "text",
"IncludeInCommandLine": true,
"DefaultValue": ""
"DefaultValue": "PoweredByAMP"
},
{
"DisplayName": "World Size",
"Category": "Terraria Generator settings",
"Keywords": "size new world",
"Category": "Terraria Generator Settings",
"Keywords": "size,new,world",
"Description": "Set the Size of the World",
"FieldName": "WorldSize",
"ParamFieldName": "autocreate",
@@ -30,8 +29,8 @@
},
{
"DisplayName": "Difficulty",
"Category": "Terraria Generator settings",
"Keywords": "difficulty new world journey expert master",
"Category": "Terraria Generator Settings",
"Keywords": "difficulty,new,world,journey,expert,master",
"Description": "The difficulty of a newly generated world",
"FieldName": "Difficulty",
"ParamFieldName": "difficulty",
@@ -45,25 +44,24 @@
},
{
"DisplayName": "Created World Name",
"Category": "Terraria Generator settings",
"Keywords": "name new world",
"Category": "Terraria Generator Settings",
"Keywords": "name,new,world",
"Description": "How to name the new world if one is generated. Make sure the World name under Terraria Server Settings matches this name if you want to load it in subsequent starts.",
"FieldName": "WorldName",
"ParamFieldName": "worldname",
"placeholder": "World",
"suffix": "",
"InputType": "text",
"IncludeInCommandLine": true,
"DefaultValue": "world"
},
{
"DisplayName": "Backup count",
"Category": "Terraria Generator settings",
"Keywords": "backup backups count world rollback",
"Category": "Terraria Generator Settings",
"Keywords": "backup,backups,count,world,rollback",
"Description": "Sets the number of rolling world backups to keep",
"FieldName": "Backups",
"ParamFieldName": "worldrollbackstokeep",
"placeholder": "some integer",
"placeholder": "2",
"suffix": "Backups",
"InputType": "number",
"IncludeInCommandLine": false,
@@ -71,21 +69,20 @@
},
{
"DisplayName": "Mod Path",
"Category": "Terraria ModLoader settings",
"Keywords": "folder path mod mods tmodloader",
"Category": "Terraria ModLoader Settings",
"Keywords": "folder,path,mod,mods,tmodloader",
"Description": "Where tModLoader will read mods from. [instructions](https://github.com/jasperfirecai2/amp-templates/wiki/Managing-mods-with-tmodloader)",
"FieldName": "ModPath",
"ParamFieldName": "modpath",
"placeholder": "ModLoader/Mods",
"suffix": "",
"InputType": "text",
"IncludeInCommandLine": false,
"DefaultValue": "ModLoader/Mods"
},
{
"DisplayName": "Mod Pack",
"Category": "Terraria ModLoader settings",
"Keywords": "pack mod mods modpack tmodloader",
"Category": "Terraria ModLoader Settings",
"Keywords": "pack,mod,mods,modpack,tmodloader",
"Description": "Which modpack to load (does not install mods for you!)",
"FieldName": "ModPack",
"ParamFieldName": "modpack",
@@ -97,8 +94,8 @@
},
{
"DisplayName": "Update Source",
"Category": "Terraria ModLoader settings",
"Keywords": "download source steam github tmodloader",
"Category": "Terraria ModLoader Settings",
"Keywords": "download,source,steam,github,tmodloader",
"Description": "Select where to obtain tModLoader. Steam requires you to own [Terraria](https://store.steampowered.com/app/105600/Terraria/) & [tModLoader](https://store.steampowered.com/app/1281930/tModLoader/) on your account and accept tModLoader's ToS by installing it as a game to a device you can login from.",
"FieldName": "Source",
"IncludeInCommandLine": false,
@@ -111,8 +108,8 @@
},
{
"DisplayName": "World Path",
"Category": "Terraria Server settings",
"Keywords": "folder path world saves savegame worlds",
"Category": "Terraria Server Settings",
"Keywords": "folder,path,world,saves,savegame,worlds",
"Description": "The relative path to save worlds in",
"FieldName": "WorldPath",
"ParamFieldName": "worldpath",
@@ -124,8 +121,8 @@
},
{
"DisplayName": "World Name",
"Category": "Terraria Server settings",
"Keywords": "name world worldname load boot",
"Category": "Terraria Server Settings",
"Keywords": "name,world,worldname,load,boot",
"Description": "Which world to load on boot",
"FieldName": "World",
"ParamFieldName": "world",
@@ -137,8 +134,8 @@
},
{
"DisplayName": "Max Players",
"Category": "Terraria Server settings",
"Keywords": "players max maximum",
"Category": "Terraria Server Settings",
"Keywords": "players,max,maximum",
"Description": "The maximum players in the server",
"FieldName": "$MaxUsers",
"ParamFieldName": "maxplayers",
@@ -150,8 +147,8 @@
},
{
"DisplayName": "Password",
"Category": "Terraria Server settings",
"Keywords": "password pw security",
"Category": "Terraria Server Settings",
"Keywords": "password,pw,security",
"Description": "The password players must enter to join",
"FieldName": "Password",
"ParamFieldName": "password",
@@ -163,12 +160,12 @@
},
{
"DisplayName": "Ban List",
"Category": "Terraria Server settings",
"Keywords": "ban banlist bans security",
"Category": "Terraria Server Settings",
"Keywords": "ban,banlist,bans,security",
"Description": "Where to store the ban list",
"FieldName": "BanList",
"ParamFieldName": "banlist",
"placeholder": "somefilename.txt",
"placeholder": "banlist.txt",
"suffix": "",
"InputType": "text",
"IncludeInCommandLine": false,
@@ -176,8 +173,8 @@
},
{
"DisplayName": "Motd",
"Category": "Terraria Server settings",
"Keywords": "motd motto message welcome",
"Category": "Terraria Server Settings",
"Keywords": "motd,motto,message,welcome",
"Description": "The motto/message of the day",
"FieldName": "Motd",
"ParamFieldName": "motd",
@@ -189,8 +186,8 @@
},
{
"DisplayName": "Language",
"Category": "Terraria Server settings",
"Keywords": "language lang",
"Category": "Terraria Server Settings",
"Keywords": "language,lang",
"Description": "The language of your server",
"FieldName": "Language",
"ParamFieldName": "language",
@@ -212,8 +209,8 @@
},
{
"DisplayName": "Priority",
"Category": "Terraria Server settings",
"Keywords": "priority process prio performance",
"Category": "Terraria Server Settings",
"Keywords": "priority,process,prio,performance",
"Description": "The process priority",
"FieldName": "Priority",
"ParamFieldName": "priority",
@@ -231,21 +228,20 @@
},
{
"DisplayName": "NPC Stream",
"Category": "Terraria Server settings",
"Keywords": "npc stream skipping lag bandwidth performance",
"Category": "Terraria Server Settings",
"Keywords": "npc,stream,skipping,lag,bandwidth,performance",
"Description": "Reduces enemy skipping but increases bandwidth usage. The lower the number the less skipping will happen, but more data is sent. 0 is off.",
"FieldName": "NPCStream",
"ParamFieldName": "npcstream",
"placeholder": "60",
"suffix": "",
"InputType": "number",
"IncludeInCommandLine": false,
"DefaultValue": 60
},
{
"DisplayName": "Slower Liquids",
"Category": "Terraria Server settings",
"Keywords": "slow liquid liquids slower lag performance",
"Category": "Terraria Server Settings",
"Keywords": "slow,liquid,liquids slower,lag,performance",
"Description": "Reduces maximum liquids moving at the same time. If enabled may reduce lag but liquids may take longer to settle.",
"FieldName": "Slowliquids",
"ParamFieldName": "slowliquids",
@@ -259,8 +255,8 @@
},
{
"DisplayName": "Cheat Protection",
"Category": "Terraria Server settings",
"Keywords": "security cheat cheats auto kick spam",
"Category": "Terraria Server Settings",
"Keywords": "security,cheat,cheats,auto,kick,spam",
"Description": "Enable/Disable additional cheat protection. This may cause unwanted automatic kicks",
"FieldName": "Secure",
"ParamFieldName": "secure",
@@ -274,8 +270,8 @@
},
{
"DisplayName": "Disable Announcement Box",
"Category": "Terraria Server settings",
"Keywords": "announcement box disable griefing",
"Category": "Terraria Server Settings",
"Keywords": "announcement,box,disable,griefing",
"Description": "Enable/Disable the text announcements Announcement Box makes when pulsed from wire.",
"FieldName": "DisableAnnouncementBox",
"InputType": "checkbox",
@@ -286,8 +282,8 @@
},
{
"DisplayName": "Announcement Box Range",
"Category": "Terraria Server settings",
"Keywords": "announcement box range griefing",
"Category": "Terraria Server Settings",
"Keywords": "announcement,box,range,griefing",
"Description": "Sets the announcement box text messaging range in pixels, -1 for serverwide announcements.",
"FieldName": "AnnouncementBoxRange",
"placeholder": "-1",