Removal of the Mace in Java Edition.

Hey I need some help, I already have a file and the code for a Datapack to remove the mace but I need to figure out how to put it into my aternos server and how to put it into an actual Datapack, please help me figure this out.

Continue to help post