Minecraft Data Packs / Server Utility

BubbleSeekOut | Logs & Inventory Seeking

  • check_circle Functions
  • 1,944 views, 16 today
  • 108 downloads, 0 today
  • 21
  • 17
  • 5
BubbleFish-dev avatar BubbleFish-dev
Level 56 : Grandmaster Fish
123
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
Credit@RuMaks for testing
CompatibilityMinecraft 1.17
toMinecraft 1.19
Tags

1 Update Logs

[v1.1a] Patch Notes : by BubbleFish-dev 04/05/2022 11:53:14 amApr 5th

Create an account or sign in to comment.

1
04/14/2022 7:14 am
Level 2 : Apprentice Artist
zcat68
zcat68 avatar
neat this works
just try to figer it out
3
04/04/2022 10:58 am
Level 55 : Grandmaster Enchanter
Frektip
Frektip avatar
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!
2
04/04/2022 10:48 am
Level 1 : New Miner
Toffi323
Toffi323 avatar
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
1
04/04/2022 3:35 pm
Level 56 : Grandmaster Fish
BubbleFish-dev
BubbleFish-dev avatar
I think that would take a lot of space on disk, but if it is really needed i might spend some time adding it!
3
04/03/2022 11:44 am
Level 61 : High Grandmaster Bear
Silabear
Silabear avatar
epic stuff
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome