LSDog / CustomSprays

Spray your memes on the walls !
MIT License
13 stars 4 forks source link

New Developer API Feature #18

Closed PantherPK closed 1 month ago

PantherPK commented 2 months ago

Hi, I don't know if I'm writing this in the right place, but I need one DEV API function.

I'm making a server based on GTA, I'd like to add spraying only important places, could you implement a PlayerSprayEvent event with the ability to check the location of spraying, by which player and the ability to cancel?

Need to contact with me? Reach me on discord: @pantherpk

LSDog commented 2 months ago

Just added PlayerSprayEvent.java, but I didn't test it, you can build it and try it out PS: The config.yml has changed, you need to modify your config keys and configVersion according to this commit

LSDog commented 2 months ago

@PantherPK hello, any chance to test it and give a feedback? (I don't have any time debugging these days so if you are free to do this...)

LSDog commented 1 month ago

Added in 1.5.12