So, I need to create new team, when player clicks on NPC. I created this script:
Also, I can create my own plugin, but will this command work correctly?
This script works when I use, for example, command /say 1, but when /team create test blue - no.function interact(e) {
e.npc.executeCommand("/team create test blue");
}
Also, I can create my own plugin, but will this command work correctly?