Mods / What's That Item Code?!
- Tags:
- Author:
- MrFastZombie
- Side:
- Server
- Created:
- Jun 23rd at 3:44 AM
- Last modified:
- Jun 23rd at 4:08 AM
- Downloads:
- 97
-
Latest release (for Vintage Story 1.22.0 - 1.22.3, potentially outdated):
whatsthatitemcode_1.1.1.zip 1-click install
I got tired of item codes getting cut off if they were too long, so I made this. This mod adds a command that just prints the currently held item's item code to your chat and to the server audit log when run. This is mainly useful for mod developers who need to find the item code for an item without having to guess what the cut off portion is.
If you cannot copy the item code from chat, you can find it in server-audit.log in your logs folder. Here's an example line:
Example from server-audit.log
24.6.2026 19:18:56 [Audit] [whatsthatitemcode] Player MrFastZombie got item code: floralzonescaribbeanregion:leaves-placed-scalesiapedunculata
Usage
Hold the desired item in your hand and type /whatisthis to get the item code for that item. It will be printed into your chatbox, and also saved to the server audit log.
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 1.1.1 | whatsthatitemcode | 97 | Jun 23rd at 4:08 AM | whatsthatitemcode_1.1.1.zip | 1-click install | ||
|
The Cooler Initial Release | |||||||
| 1.1.0 | whatsthatitemcode | 0 | Jun 23rd at 4:00 AM | Release Retracted | |||
Retraction Reason:Removing unused code and setting side in modinfo Changelog:Initial release | |||||||

My guy... You just created a mod that duplicates an existing command.
.gencraftjson
Hold an item in your hand, type this, and the code is copied to your clipboard, complete with attributes and "type"
I wasn't sure if you knew this existed.
Nope didn't know about it specifically, but I figured someone would point out that a similar command exists at some point.
Amazing mod!! Thank you so much!)))
goated mod thumbnail, made my day
The thumbnail is terrible and I love it.
enable developer mode in settings. Just point mouse on item and it popup real item code
I know, the mod is so you can get the really long item codes that are cut off like this one:
this is the output when you run the command while holding that block:
oke