Skip to content

[Feature Request] View container actions in a GUI #28

@U5B

Description

@U5B

The server I play on enables CoreProtect lookups and inspections globally (for every player). I use it to moderate my shop since the server uses a honor system, and requires shop owners to check for thiefs daily.

Description

If the player interacted with a container such as a chest, display the container actions of the player that have interacted in a chest.
Shift right click a container that is highlighted to view container actions for that player.

Examples & Options

The GUI for a container could look something like this...

player time name type count +/- notes
Thief 6:05:00pm apple minecraft:apple 64 -
U5B_ 6:00:00pm apple minecraft:apple 64 +

removeDuplicateLogs

An option that would also be useful is removing duplicate (fodder) logs from players that add/remove the same item within a customizable timeframe.
The only problem with this implementation is parsing custom name/lore to distinguish between same item types.
If the player took the apples and gave it back 5 minutes later and the option removeDuplicateLogs was set to true and removeDuplicateLogsTime was set to 5m

Example 1: Before

player time name type count +/- notes
Generous_Gamer 6:03:00pm apple minecraft:apple 64 +
Generous_Gamer 6:02:00pm apple minecraft:apple 64 -
Generous_Gamer 6:01:00pm apple minecraft:apple 64 +
Generous_Gamer 6:00:30pm apple minecraft:apple 64 -
Generous_Gamer 6:00:00pm apple minecraft:apple 64 +

Example 1: After

player time name type count +/- notes
Generous_Gamer 6:00:00pm - 6:03:00pm apple minecraft:apple 64 +

Example 2: Before

player time name type count +/- notes
Generous_Gamer 6:03:00pm money minecraft:dragon_breath 1 +
Messy_Inventory 6:02:01pm Fancy Item minecraft:stone_sword 64 +
Messy_Inventory 6:02:00pm money minecraft:dragon_breath 64 -
Messy_Inventory 6:00:01pm Fancy Item minecraft:stone_sword 1 -
Messy_Inventory 6:00:00pm money minecraft:dragon_breath 64 +

Example 2: After

player time name type count +/- notes
Generous_Gamer 6:03:00pm money minecraft:dragon_breath 64 +
Messy_Inventory 6:00:01pm-6:02:01pm Fancy Item minecraft:stone_sword 2 +/-
Messy_Inventory 6:00:00pm-6:02:00pm money minecraft:dragon_breath 2 +/-

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions