How to make Cannons work in 1.12.2 like they did in 1.7

Ive been trying to setup my own private modded factions server with my friends and i dont know how to fix cannoning, atm any cannon i look up on youtube fails to work because all the mechanics for how sand/tnt works has changed. is there any plugin or mod that will fix this, i know there is for spigot servers but can find anything for sponge which sucks cause i need mods!