The second thing is really easy to do, all you need is the correct velocity boost of the regular jump
The first thing however, would require both a client and server mod. It's possible, sure, but everyone who joins your server will have to download a client to be able to do whatever.