#[1.1.0] DebugTools

6 messages · Page 1 of 1 (latest)

worldly coral
#

At the moment, with the plugin, you'll only be able to have all events (with their properties and values) displayed in the console (i still need to make a config for events that shouldn't be displayed like VoiceTransceive, ...)
You can also cancel an event (just adding a handler ev.IsAllowed = false) with RA commands:

  • cancelevent <event_name> -- without EventArgs so like PlayerShootingWeapon instead of PlayerShootingWeaponEventArgs (that's logical, but I clarify just in case, the eventargs must implement ICancellableEvent interface)
  • listcancelevent -- list all cancelled events
  • uncancelevent <event_name> -- same as cancelevent

This was a personal tool so I didn't care about command name, ...
I'll make update which will contain config, maybe later new tool useful in-game directly like the commands I already did.

GitHub Repository: https://github.com/BoltonDev/DebugTools
Latest Release: https://github.com/BoltonDev/DebugTools/releases/latest

worldly coral
#

[1.0.1] DebugTools

worldly coral
#

Btw, they implemented ToString() method in most of wrappers, so you will now get more information in event logging