#i traid to make a faction for smp but it did't remove recipes (my first time btw)

2 messages · Page 1 of 1 (latest)

mossy hatch
#
FTBTeamsEvents.playerJoinedParty(event => {
        const player = event.player;
        const teamName = event.currentTeam.name;
        if (teamName === 'Magic') {
            event.server.tell(`${player.username} has joined the Magic team! Unlocking magic recipes.`);
            event.remove({ mod: 'create'  });
        } else if (teamName === 'Tech') {
            event.server.tell(`${player.username} has joined the Tech team! Unlocking tech recipes.`);
            event.remove({mod: 'ars_nouveau' });
        }
    });
gentle plazaBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!