Problem How can I create new team via CustomNPCs/my own plugin?

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.

LeonidM

New Member
Jan 7, 2021
1
0
2
So, I need to create new team, when player clicks on NPC. I created this script:
function interact(e) {
e.npc.executeCommand("/team create test blue");
}
This script works when I use, for example, command /say 1, but when /team create test blue - no.

Also, I can create my own plugin, but will this command work correctly?