tModLoader Modder's Toolkit - a Mod for Modders doing Modding

jopojelly

Developer
Re-Logic
tModLoader
ohFESo5.png

Modder's Toolkit - a Mod for Modders doing Modding

Latest Download:
Steam Workshop (in-game)
Open to collaboration on GitHub
Discord:



This mod aims to provide useful tools to modders. I really hope this mod can grow to become extremely useful. It is open source on Github, so please feel free to add new tools. Future tools will help modders even more as they tweak their mods. To access all the tools, click the small button in the bottom right of the screen, then click the buttons that appear to access each tool.

Current Tools:

C# REPL
REPL stands for "Read–eval–print loop". The C# REPL lets you type code statements during runtime. If you are familiar with the python interpreter, it's kinda like that. The REPL supports autocompletion and auto-suggestion by pressing the tab key. You can press up to edit the last statement run. Enter to run the statement. Copy, Cut, and Paste all work as well.​

c44a410e-1114-4614-8bb9-366aaf5c2a22

cebe9642-71eb-430f-8f5b-72871c2ad771

8c45c07e-77d1-4625-95b2-51539e688f7e

Texture Automatic Update/Editing Tool
This tool watches your Mod Sources folder and automatically updates textures that are changed. This tool will greatly increase the speed of iterating on texture work and will also make it easier for spriters to focus on spriting. An alternate mode for this tool is specifying a specific texture, even a texture from another mod, which you can then edit and experiment with.

74619ca4-d166-4a2d-9a8e-3f177d446731


Hitbox Visualizer
Lets you visualize hitboxes on NPC, Projectiles, and Melee Weapons. Use this to double check your hitboxes.​
W43QLC8.png

Item Defaults Tool
Experiment with item values to find the prefect useTime or damage.
6c0b3ac5-9000-434e-8810-3289266ecc2d

NPC Spawn checker Tool
Runs spawn simulations and reports spawn rates for individual npc.

c8057359-80b6-4914-82f3-28c89702d1c3

Dust Tool
Lets you visualize dust in all manner of ways.​
d6865900-4987-4eec-a5b8-ee397bd4dc1b
Projectile Spawner
Lets you spawn projectiles..​
Why are these boomerangs acting like pets??

663e6830-8c5d-4c20-b37d-237f38ec1de6
Player Layer tool
Hide/Show player layers​
Interface Layer tool
Hide/Show interface layers​
UI Playground tool
Experiment with UIElements and learn how padding and positioning work - Video
Background tool
Learn how backgrounds work both surface and underground - Video
Shader tool
Quickly test, build, and develop shaders - More info
...more to come, especially if you help!
Planned Features:
  • WorldGen tools
  • Suggestions?
Changelog:
v0.16+
  • Changelog will no longer be updated. The Discord and Steam workshop page are now the primary sources of new discussions for this mod. Changelogs can be seen from the commit messages on GitHub.
v0.15
v0.14
  • UIElement dimension visualization added to UIPlayground
  • Log Sounds tool
v0.12
  • Background Tool - Video
v0.11
  • UI Playground Tool - Video
v0.1.7
  • Texture Update/Editing Tool
v0.1.6.x
  • Pause/Freeze projectiles
  • Zoom support for hitboxes
v0.1.6
  • REPL
    • Better Multiline support
    • External Code Editor option
v0.1.5
  • Dust: Copy code to clipboard
v0.1.4
  • NPC Spawn rate tool
  • REPL
    • Tile Eyedropper
  • Hitbox
    • Visualize TEs
  • Items
    • Output ItemInfo
    • HoldoutOffser
v0.1.3.3
  • Player Layer tool
  • Interface Layer tool
  • Dust tool now has Dust Chooser
v0.1.3
  • Projectile Spawner.
v0.1.2.2
  • REPL available in server console now.
v0.1.2
  • Item Defaults tool added.
v0.1.1
  • Dust Tool added
v0.1
  • Initial Release
  • C# REPL - "Read–eval–print loop"
  • Hitbox Visualizer
 
Last edited:
Brilliant. This will be so useful for me when I get back into modding again. Even when just playing, this will be fun to mess about with.
 
oh this is cool! Will be very helpful for mod testing!
 
Wow this is great! i need to re-build my mod while testing much less in the future with this.
Also the tools in later Updates sound realy cool too
gj
 
Last edited:
Awesome, dust spawner in here. As always, deserves more attention.
 
I think I'm in love.
 
WOW!
I THINK WE HAVE A WINNER!!!
(Jopojelly is best)
I'VE BEEN WAITING SO LONG AND SOMEONE (Jopojelly) FINALLY DID IT!!!!!!!!!!!!!!!!!!!!!!!!!!
*dies*
 
This is becoming more and more awesome with each update. I love it.
 
Oh jeez, this combined with Cheat Sheet gives even a noob like me a quick way to dabble around and see what various elements can do! Thanks!
 
Meybe you could add how big you can make the items. Just saying :P
 
super helpfull .thx is helping my team`s mod thx
 
All hail jopo
 
I'm having trouble figuring out the C# REPL thingy...
 
I'm having trouble figuring out the C# REPL thingy...
It's just like coding in any other repl. Is the problem that you don't know c# very well? or is something just not working for you.
 
It's just like coding in any other repl. Is the problem that you don't know c# very well? or is something just not working for you.
I don't know C# at all... sadly.
[doublepost=1492139759,1492139462][/doublepost]I'm trying to edit the pickaxe power and mining speed of the Drill Containment Unit. If that's even possible?
 
I don't know C# at all... sadly.
[doublepost=1492139759,1492139462][/doublepost]I'm trying to edit the pickaxe power and mining speed of the Drill Containment Unit. If that's even possible?
This mod is for modders to use for experimenting with code. It sounds like you want a mod that will tweak and persist item changes, this is not the mod you want.
 
This mod is for modders to use for experimenting with code. It sounds like you want a mod that will tweak and persist item changes, this is not the mod you want.
Oh... okay. Can you make a mod that will tweak and persist item changes?
 
v0.1.4 released.

With large content mods, it's pretty hard to figure out the correct spawn conditions for NPC. This release includes an npc spawn conditions tool that reports the percent of spawns to expect in the current player position.

I suggest all modders take advantage of this tool and identify NPCSpawn errors using it.

 
Back
Top Bottom