Data Packs Server Utility

BubbleSeekOut | Logs & Inventory Seeking

  • 6.2k views 0 today
  • save_alt 314 downloads
Compatibility
Minecraft 1.17
to version
Minecraft 1.19
Changes include
  • Functions
Added Credit@RuMaks for testing
  • 27
  • 23
  • 11
bbfh
Lvl 64High Grandmaster Fish
176
A Server Utility data pack, that adds logging and inventory seeking features.

Compatibility


CategorySupportedTested
Vanilla Singleplayer1.17.x - 1.18.x1.17.2, 1.18.2
Vanilla Multiplayer1.17.x - 1.18.x1.18.2
OtherBukkit, Spigot, Paper, Fabric, Forge and otherFabric


Setting up

Before letting players join your server, it is recommended to tweak it first, to avoid further problems.

/function gamerule:bubbleseekout/enable_logging/... - Sets whether logging is enabled. Default: false
/function gamerule:bubbleseekout/logs_limit/... - Sets how many logs per-player will be stored
/function gamerule:bubbleseekout/silent_seeking/... - Sets whether players won't get notified when their inventory is modified


Permissions


This data pack has a build-in permission system, that lets administrators/console specify players who will be able to use specific commands

To grant/revoke a permission use: /execute as <Player Name> run function permission:bubbleseekout/<grant/revoke>/<Permission name>
  • Checking logs (In-Game name: check_logs)
  • Getting player info (In-Game name: player_info)
  • Seeking items (In-Game name: seek_items)


Check logs


This data pack logs some events, that could be useful in catching rule breakers. It uses a database, so player's logs can be accessed even when they are offline! Command: /trigger buso.check_logs
List of logging events: (You can suggest any logging even you would need and I might add it)
  • Mined a block
  • Killed a mob
  • Changed dimension
  • Ignited TNT
  • Permission granted/revoked
  • Took/Give an item from/to a player


Player info

You can get player's health, hunger, saturation, xp & position, dimension, potion effects Command: /trigger buso.player_info

Seek items

You can see and modify player's inventory in real time. You can give an item to a specific slot, or take item from a slot. Command: /trigger buso.seek_items

1 Update Logs

[v1.1a] Patch Notes : by bbfh 04/05/2022 11:53:14 amApril 5, 2022 @ 3:53 pm UTC

More like this

  Have something to say?

The Nexus Navigator
07/15/2024 10:32 am
Level 12 : Journeyman Human Jerry
You think this'll work on 1.19.2?
1
RainbowTea
06/21/2023 9:23 pm
Level 8 : Apprentice Farmer
Will this be updated?
2
bbfh
06/24/2023 2:23 pm
Level 64 : High Grandmaster Fish
it gets 0 downloads / day so im not sure if people even need it
1
RainbowTea
06/26/2023 1:15 am
Level 8 : Apprentice Farmer
Thats fair! I hope it does in the future. I'd love to use it for my 1.20.1 realms server.
2
GrandTwistOwner
12/29/2022 8:41 pm
Level 1 : New Miner
how do i use /trigger buso.seek_items, it doesnt let me select a player and just says i cant trigger this objective yet
1
JayBlockster
08/01/2022 11:22 pm
Level 1 : New Miner
history
Is there a way to revert things to how they once looked? (Like revert chunks)



Lastly it wont let me look at logs even after i went into console and put in the required commands. Am I doin it wrong?
1
zcat68
04/14/2022 7:14 am
She/Her • Level 22 : Expert Cat
neat this works
just try to figer it out
1
Frektip
04/04/2022 10:58 am
Level 66 : High Grandmaster Enchanter
Very cool and useful. i have some suggestions, hope they aren't too everwelming:

For "check logs" would be:

- When a player kill a pet (if possible detect the owner of that pet).
- When a player summons a wither
- When a player place an end crystal
- If a player place lava (lava bucket), fire or blue fire (used flint and steel)

For "player info" would be:

- Add the current dimension on where it is
- Add the current potion effects that it has

For "seek items" it may sound crazy but it just an idea: Maybe also add the player enderchest, so you can also seek items from there

Anyways, great datapack as always!
3
Toffi323
04/04/2022 10:48 am
Level 1 : New Miner
Is is possible to code the datapak to log not only mining chests etc. etc but any other blocks instead and placing them as well? It could be deactivatable in the config to not make mess in the logs
2
bbfh
04/04/2022 3:35 pm
Level 64 : High Grandmaster Fish
I think that would take a lot of space on disk, but if it is really needed i might spend some time adding it!
1

Welcome