Mods / What's That Item Code?!

Tags:
QoL
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 IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.1.1 whatsthatitemcode
1.22.0 - 1.22.3
97 Jun 23rd at 4:08 AM whatsthatitemcode_1.1.1.zip 1-click install

The Cooler Initial Release

1.1.0 whatsthatitemcode
1.22.0 - 1.22.3
0 Jun 23rd at 4:00 AM Release Retracted

Retraction Reason:

Removing unused code and setting side in modinfo

Changelog:

Initial release

Disclaimer

By downloading a mod you consent to our Terms of Use.

We tell you this specifically because we want to make sure you are aware that we cannot validate every mod, and you are responsible for any damages you might incur by installing or loading mods.

This prompt will not be shown to you again (for the current browser session) if you proceed.


8 Comments (oldest first | newest first) (threaded | flat)

Vinter_Nacht, Jul 4th at 6:02 PM

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.

El_Neuman, Jun 25th at 5:08 PM

Amazing mod!! Thank you so much!)))

Frijol, Jun 23rd at 12:26 PM

goated mod thumbnail, made my day

sleeves, Jun 23rd at 11:19 AM

The thumbnail is terrible and I love it.

YourCreator, Jun 23rd at 5:44 AM (modified Jun 23rd at 5:47 AM)

enable  developer mode in settings. Just point mouse on item and it popup real item code

image

MrFastZombie , Jun 23rd at 6:53 AM (modified Jun 23rd at 6:56 AM)
@YourCreator: 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:

image

this is the output when you run the command while holding that block: 

image