InvSee++ icon

InvSee++ -----

View and edit inventories of your players! Works for offline players! Now with give/clear commands!



Configurable logging formats
Hey everybody,

This version of InvSee++ comes with the following changes:
  • Changed logging formatting internally.
  • Added configurable logging formats:
    Code (YAML):
    # Logging options. InvSee++ can log what spectators change in the SpectatorInventories.
    # Change these values to change how logging works.
    logging
    :
      # Pick one from: [LOG_NEVER, LOG_ON_CLOSE, LOG_EVERY_CHANGE]
      granularity
    : LOG_ON_CLOSE
      # Pick zero or more from: [SERVER_LOG_FILE, PLUGIN_LOG_FILE, SPECTATOR_LOG_FILE, CONSOLE]
      output
    : [PLUGIN_LOG_FILE ]
      #
      # Logging formats strings:
      # The following macros will be replaced by the plugin:
      #   <date> - will be replaced by the current date in yy-MM-dd notation
      #   <time> - will be replaced by the current time in HH:mm:ss notation
      #   <spectator_uuid> - will be replaced by the unique id of the spectator player
      #   <spectator_name> - will be replaced by the username of the spectator player
      #   <taken> - will be replaced by the items taken from the spectator inventory
      #   <given> - will be replaced by the items given to the spectator inventory
      #   <target> - will be replaced by the target player
      #
      # Format for logging to the server log file:
      format-server-log-file
    : |
     
        Spectator UUID: <spectator_uuid>

        Spectator Name
    : <spectator_name>
        Taken        
    : <taken>
        Given        
    : <given>
        Target        
    : <target >
      # Format for logging to the plugin's log file:
      format-plugin-log-file
    : |
        [<date> <time>] [<level>]
    :
        Spectator UUID
    : <spectator_uuid>
        Spectator Name
    : <spectator_name>
        Taken        
    : <taken>
        Given        
    : <given>
        Target        
    : <target >
      # Format for logging to the spectator's log file
      format-spectator-log-file
    : |
        [<date> <time>] [<level>]
    :
        Taken        
    : <taken>
        Given        
    : <given>
        Target        
    : <target >
      # Format for logging to the console:
      format-console
    : |
        [<date> <time>] [<level>]
    :
        Spectator UUID
    : <spectator_uuid>
        Spectator Name
    : <spectator_name>
        Taken        
    : <taken>
        Given        
    : <given>
        Target        
    : <target>
  • Api: Added SpectatorInventoryView, which allows access to the Difference that is tracked for logging.
----------, Feb 5, 2023
Resource Information
Author:
----------
Total Downloads: 441,267
First Release: Aug 4, 2020
Last Update: Dec 3, 2024
Category: ---------------
All-Time Rating:
87 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings