Cmd on join/leave

just looking for a basic plugin that’ll let me run a cmd on a player when they join the server; then run another cmd on player when they leave the server.

Try this:

And then some code, here is an example for when players join the server: Example script

Then copy and modify it for the leave event too: Source code