
Item Logger
Logs container's contents [to latest.log].
- Загрузки
- 595
- Подписчики
- 2
- Обновлён
- 30 июня 2025 г.
- Лицензия
- MIT
Опубликован 2 ноября 2024 г.
Item Logger
When closing a container (like a chest or shulker-box), its contents will be written down in your latest.log (as markdown).
Commands
Upon startup, logging is disabled; this is configurable in item_logger.config.
Use the command /itemlogger mode to toggle between modes.
Currently, modes "off" and "log" are supported; support for "database" is planned.
/itemlogger mode log
/itemlogger mode off
To swap-to or reload the settings in your configurations (item_logger.config), use /itemlogger reload.
/itemlogger reload

Example
Input (upon closure)

Output (latest.log)
# "Chest"
* slot[0]:
+ name = "Saddle"
+ count: 1
+ components:
- "minecraft:max_stack_size": 1
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
* slot[1]:
+ name = "Saddle"
+ count: 1
+ components:
- "minecraft:max_stack_size": 1
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
* slot[2]:
+ name = "Bee Nest"
+ count: 1
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
- "minecraft:bees": []
- "minecraft:block_state": class_9275[properties={honey_level=>2}]
* slot[3]:
+ name = "Cherry Log"
+ count: 64
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
* slot[4]:
+ name = "Cherry Sapling"
+ count: 19
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
* slot[5]:
+ name = "Cherry Log"
+ count: 64
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
* slot[6]:
+ name = "Cherry Log"
+ count: 15
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
* slot[7]:
+ name = "Bee Nest"
+ count: 1
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
- "minecraft:bees": [class_9309[entityData={AbsorptionAmount:0.0f,Age:0,AgeLocked:0b,AngerTime:0,Bukkit.Aware:1b,Bukkit.updateLevel:2,ForcedAge:0,HasNectar:0b,HasStung:0b,Health:10.0f,InLove:0,Invulnerable:0b,Paper.Origin:[-2346.5d,122.19999998807907d,-2062.6000000059603d],Paper.OriginWorld:[I;808137047,729304214,-1688032463,-1846584362],Paper.SpawnReason:"NATURAL",PersistenceRequired:0b,Spigot.ticksLived:145,WorldUUIDLeast:-7250044220722947114L,WorldUUIDMost:3470922188280319126L,attributes:[{base:10.0d,id:"minecraft:generic.max_health"},{base:0.30000001192092896d,id:"minecraft:generic.movement_speed"}],flower_pos:[I;-2347,120,-2063],id:"minecraft:bee"}, ticksInHive=280, minTicksInHive=600]]
- "minecraft:block_state": class_9275[properties={honey_level=>0}]
* slot[8]:
+ name = "Bee Nest"
+ count: 1
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
- "minecraft:bees": [class_9309[entityData={id:"minecraft:bee"}, ticksInHive=3465, minTicksInHive=600], class_9309[entityData={id:"minecraft:bee"}, ticksInHive=3410, minTicksInHive=600], class_9309[entityData={id:"minecraft:bee"}, ticksInHive=3724, minTicksInHive=600]]
- "minecraft:block_state": class_9275[properties={honey_level=>0}]
* slot[9]:
+ name = "Bee Nest"
+ count: 1
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
- "minecraft:bees": [class_9309[entityData={id:"minecraft:bee"}, ticksInHive=758, minTicksInHive=600], class_9309[entityData={id:"minecraft:bee"}, ticksInHive=741, minTicksInHive=600]]
- "minecraft:block_state": class_9275[properties={honey_level=>0}]
* slot[10]:
+ name = "Pink Petals"
+ count: 64
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
* slot[11]:
+ name = "Bee Nest"
+ count: 1
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
- "minecraft:bees": [class_9309[entityData={AbsorptionAmount:0.0f,Age:0,AgeLocked:0b,AngerTime:0,Bukkit.Aware:1b,Bukkit.updateLevel:2,ForcedAge:0,HasNectar:0b,HasStung:0b,Health:10.0f,InLove:0,Invulnerable:0b,Paper.Origin:[991.5d,66.19999998807907d,3605.3999999940397d],Paper.OriginWorld:[I;808137047,729304214,-1688032463,-1846584362],Paper.SpawnReason:"NATURAL",PersistenceRequired:0b,Spigot.ticksLived:4060,WorldUUIDLeast:-7250044220722947114L,WorldUUIDMost:3470922188280319126L,attributes:[{base:0.30000001192092896d,id:"minecraft:generic.movement_speed"},{base:10.0d,id:"minecraft:generic.max_health"}],id:"minecraft:bee"}, ticksInHive=3160, minTicksInHive=600]]
- "minecraft:block_state": class_9275[properties={honey_level=>0}]
* slot[12]:
+ name = "Bee Nest"
+ count: 1
+ components:
- "minecraft:max_stack_size": 64
- "minecraft:lore": class_9290[lines=[], styledLines=[]]
- "minecraft:enchantments": ItemEnchantments{enchantments={}, showInTooltip=true}
- "minecraft:repair_cost": 0
- "minecraft:attribute_modifiers": class_9285[modifiers=[], showInTooltip=true]
- "minecraft:rarity": COMMON
- "minecraft:bees": []
- "minecraft:block_state": class_9275[properties={honey_level=>0}]
Ченджлог
1.5.4_1.21.5-1.21.7Релиз1.21.5, 1.21.6, 1.21.7 · 30 июня 2025 г.
- 1.21.7
1.5.4_1.21.5-1.21.6Релиз1.21.5, 1.21.6 · 16 июня 2025 г.
- 1.21.6
- Refactoring
1.5.3_1.20.5-1.21.1Релиз1.20.6, 1.21, 1.21.1 · 5 мая 2025 г.
- Major Refactoring
- Configurations file rename + restructure
- Version Expansion
1.4.0_1.21Релиз1.21 · 10 ноября 2024 г.
Config File
There is now a item_logger.config that generates and is read for default values.
At the moment, the only config value is "DefaultMode", which can be set to "off" or "log" (upon start-up).
Mode-commands remain unaffected.
Also, /itemlogger reload has been introduced to allow for changing configurations without restarting the game.
1.3.0_1.21Релиз1.21 · 10 ноября 2024 г.
Logging Modes
On startup, logging is disabled.
Type /itemlogger mode log to log to latest.log;
use /itemlogger mode off to disable all logging.
1.2.0_1.21Релиз1.21 · 6 ноября 2024 г.
Markdown Update
- Refactored Code to be Cleaner
- Reformatted Output to be easily readable in Modrinth LiveLog
- Corrected Markdown Output
1.0.0_1.21Релиз1.21 · 6 ноября 2024 г.
- [BUG_FIX] Fixed logger including inventory slots
- [FEATURE] Stream-lined output format
0.9.0_1.21Бета1.21 · 2 ноября 2024 г.
First release version. May have some bugs.
Комментарии
Загружаем…