tModLoader

tModLoader

Ore Excavator (1.4.3/1.4.4 Veinminer)
 This topic has been pinned, so it's probably important
casey Jun 29, 2022 @ 7:37am
2
FOR ANYONE HAVING TROUBLE WITH SETTING NEW WHITELIST TARGETS
Setting new blocks for the Vein Mine whitelist can be troublesome as you can't simply type the name of the block as the new whitelist item and have it work, so here are a few links to help out.

To set a new option, you have to specify the target block's INTERNAL ID, not the block name in game, as such, use CTRL + F to find the name of the block you want, then look to the right of the block's ingame name and instead type the internal name e.g. "Dirt Block" is known internally as "DirtBlock".

FOR TILES/BLOCKS:
https://terraria.fandom.com/wiki/Item_IDs

In the above list, you may see the name of Walls and whatnot, but don't be fooled, adding them to the Wall whitelist likely will not work, as their Item IDs are different from their Wall IDs, which is what the Wall Whitelist refers to. This initially tripped me up, personally. Instead, you want to use the dedicated Wall IDs page, linked here. As there are several variants of some walls, you may need to add multiple types of the same wall in order to excavate the specific type you're trying to dig out.

FOR WALLS:
https://terraria.fandom.com/wiki/Wall_IDs

I'm still fairly unfamiliar with the Blockswap list though, so I'm not sure which IDs that one refers to, if anyone else figures it out and wants to let me know, I'll edit this section.
Last edited by casey; Jun 29, 2022 @ 7:41am
< >
Showing 1-6 of 6 comments
CrazyContraption  [developer] Jun 29, 2022 @ 10:14am 
Can confirm that this guide is awesome and totally correct!

A few additional notes however;
  • Whitelist names also must be prefixed by the mod's internal name that owns them. For vanilla names, the prefix would be "Terraria:XXX". Acutal mods will use their internal names, so this mod might use "OreExcavator:XXX" for any items/tiles/walls it adds. Calamity would likely be "CalamityMod:XXX" or something. Again these are guesses, as the mods themselves set their names, not me nor the tML team.

  • Internal names are not set by the game, or myself. The authors of tML had to re-build the database of vanilla names from the ground up, so the names might mismatch from time to time. Mods that add items also decide their items names. As such, items can have duplicate names between mods - this is why the mod prefix is essential for whitelisting.

  • Internal names also exist because names differ depending on the client's language - internal names are usually always written in the game's original language - English. This helps keep names on the same level, and prevents programmers from needing to allow for 50 different names.

  • Item names are a bit more tricky to figure out because of the points above, but here's a link for what might be helpful in deducing them: https://terraria.fandom.com/wiki/Item_IDs

  • Lastly, be sure to use the whitelist keys included with the mod, as it avoids all the guesswork of inputting things manually. Just bind it to a key, hover over a tile/wall/item, and press the bind you've set. It'll whitelist the item, and also give you feedback about any issues with doing so - such as the entry being blacklisted by the world's settings.

Hope this helps, and cheers,
- Crazy

P.S. - Take an award for your awesome helpfulness, I'm sure the community will come to appreciate it!
Last edited by CrazyContraption; Jun 30, 2022 @ 2:29pm
CrazyContraption  [developer] Jun 30, 2022 @ 2:31pm 
Also - Post thought here. If anyone is having extended issues with the whitelisting system, I'm open to listening for potential improvement ideas. Currently I'm not very experienced in UI elements, so anything like a search box is currently beyond my reach, but will likely be implemented in the future.

If you can think of a more user-friendly way of whitelisting/blacklisting - I'm all ears! Comment it here or message me directly.
Last edited by CrazyContraption; Jun 30, 2022 @ 2:31pm
what do i need to whitelist the tiem on the server
casey Aug 27, 2023 @ 4:37am 
I’m unsure, as it’s been months since I last played so I don’t really remember much about how to navigate it, not to mention all the updates and new features that’ve likely been added since then, and I didn’t really mess about with multiplayer modding anyway. If I find myself in such a situation in the future though and nobody else’s responded, I’ll be sure to update you and the page. I apologize for my current unhelpfulness on the matter though :c
Harletz Ivan Jun 2, 2024 @ 7:01am 
I am trying for 1 hour to whitelist WoodPlatform. I will hang myself
Last edited by Harletz Ivan; Jun 2, 2024 @ 7:01am
CrazyContraption  [developer] Jun 2, 2024 @ 9:12am 
Wooden platform should be Terraria:Platforms:0
The syntax follows like this MOD:TILENAME:SUBTYPE
Not every tile has a subtype, and can usually be ignored like as with Terraria:Wood
0 is the subtype for default tree wooden platforms. Obsidian platforms for example, will have a different number. You can use the whitelist keybinds when hovering over a platform to auto-add or remove it from your client whitelist - provided it's not blacklisted on the server.

Sometimes you can drop the subtype altogether, and this should whitelist ALL subtypes. However, this doesn't always work. This is a known bug. Specifying subtype if one applies will always work.
< >
Showing 1-6 of 6 comments
Per page: 1530 50