Pixelmon Sidemod API - Bug tracker

[8.1.2] Trainer Commands not functioning not a bug

Ticket description:
Hey there!

I'm pretty new to the community and have been trying to use the trainer commands sidemod (ver. 2.5.1)
I add "/give @p grass 1" command to an NPC Trainer that executes on loss, however the command doesn't seem to run. The log states:

[23:29:52] [Client thread/INFO]: [CHAT] §aPlease right-click the Pixelmon Entity.
[23:29:53] [Client thread/INFO]: [CHAT] §aCommand Added.
[23:29:53] [Client thread/INFO]: [CHAT] You sent out Turtwig!
[23:29:54] [Server thread/WARN]: Keeping entity pixelmon:pixelmon that already exists with UUID c9a885c4-dfc9-4d9b-b2ca-964b628db639
[23:30:05] [Server thread/WARN]: Keeping entity pixelmon:pixelmon that already exists with UUID c9a885c4-dfc9-4d9b-b2ca-964b628db639
[23:30:06] [Server thread/INFO]: Unknown command. Try /help for a list of commands
[23:30:06] [Server thread/INFO]: [com.trainercommands.events.CommandHandler:runCommand:97]: A permission error occurred running a command for Zdaeg at 611, 66, 475

I've tried executing the same command via a command block and it works fine. I've also checked the Trainer Commands config file and enabled cheats on my game, yet the log keeps populating with these messages.

Any help would be appreciated! More version info below.

Full latest log: https://pastebin.com/LbVBLfnK
Forge 14.23.5.2854

Mod List:
- Backpack 3.0.2
- Biomes O' Plenty 7.0.1
- BOP Patch 1.0
- Konkrete 1.0.3
- FancyMenu 1.5.2
- JourneyMap 5.7.1
- Nature's Compass 1.8.5
- Pixelmon 8.1.2
- Pixel Extras 2.5.10
- Pixelmon Trainer Commands 2.5.1

Comments

#22844 Posted by iMystxc » 23 Jun 2021 16:32

You are using the command incorrectly. The correct command is
When NPC loses: “/tedit add LOSS give @pl grass 1”
When NPC wins: “/tedit add WIN give @pl grass 1”

Ticket details

  • Ticket ID: 15587
  • Project: Pixelmon Sidemod API
  • Status: Not a bug
  • Component: Trainer Commands
  • Project version: 8.x.x
  • Priority: Normal
  • Severity: Normal
  • Forge/Sponge: Forge 14.23.5.2854
  • What else would be useful to know?: (unknown)
  • Assigned to: (unassigned)
  • Reported by: Zdaeg (Send PM)
  • Reporter's tickets: (List all tickets)
  • Reported on: 05 Mar 2021 23:43
  • Ticket last visited by: SkyAsa2256 on 09 Sep 2021 12:33
JOIN THE TEAM