ShimmyMySherbet / ShimmysAdminTools

A feature-rich admin toolkit for Unturned. Including Flight, Noclip, and Command Spying.
GNU General Public License v3.0
29 stars 7 forks source link

Add logging to point tools #24

Open ShimmyMySherbet opened 1 year ago

ShimmyMySherbet commented 1 year ago

Is there a log of what my staff /pt u? Because they don't have to type in a command for each item my concern is that there is no log of it and they can abuse it very easily.

Originally posted by @Texhammer in https://github.com/ShimmyMySherbet/ShimmysAdminTools/discussions/12#discussioncomment-5707955

ShimmyMySherbet commented 1 year ago

This feature is now available in pre-release 1.7.2a. https://github.com/ShimmyMySherbet/ShimmysAdminTools/releases/tag/v1.7.2a

The only extra feature added to this pre-release is the logging for point tools. I will close this issue once this feature has been merged into the next major update.

TeemoCell commented 1 year ago

What a brilliant idea.

TeemoCell commented 1 year ago

Would be cool, to log the location for /pt destroy.

ShimmyMySherbet commented 1 year ago

This has already been added to an iteration of this feature that hasn't been released. All PT logs go through a single method that also logs the tool's ray cast hit location and raises an interaction event to allow other plugins to listen to handle/log pt events.