Changed the ajoin and apart command to be executed by every mod.