AMP icon indicating copy to clipboard operation
AMP copied to clipboard

Minecraft advancement trigger isn't working within schedule

Open tartletboy opened this issue 4 years ago • 2 comments

Bug Report

System Information

  • Operating System (Including distribution name and version number) Windows 10 Home
  • AMP version and build date (Always use the version number, 'latest' is not valid!) 2.0.8.10
  • Which AMP release stream you're using (Mainline, Nightly or FastTrack) Mainline

I confirm:

  • [x] that I have searched for an existing bug report for this issue.
  • [x] that I am using the latest available version of AMP.
  • [x] that my operating system is up-to-date.

Symptoms

  • What are you trying to do?

When a player achieves an advancement in minecraft (specifically 1.12.2 java) I want to trigger a console command (specifically a [/give {@User} cookie] command.

  • What are you expecting to happen?

Command is executed at all times

  • What is actually happening? ('Nothing' is not an acceptable answer!)

No console commands are being executed which leads me to think the initial trigger isn't firing.

Enter Symptoms on this line.

Reproduction

I didn't start from a complete clean install but I did reach out to the techsupport discord for help and nobody there was trying a similar task. I'm happy to provide any additional info you may need to help diagnose this issue.

tartletboy avatar Dec 31 '20 06:12 tartletboy

I can confirm this happening on Ubuntu 20.04 as well, so not OS related, and up to the current release version of AMP (Triton, 2.3.3). In fact none of the death and achievement/advancement event triggers work as expected for me, but the "commits suicide" trigger catches all and any of them as well as any player issued command. Since I wanted to use those triggers to post messages to a discord channel, this is especially precarious because it also catches commands like "/lp" (for configuring LuckPerm) and "/msg [otherplayer]" without any means of filtering them. This has happened on PaperMC and Forge servers from Minecraft 1.16.5 on upwards. I haven't tested with other servers/modloaders or earlier versions.

RaeTheGit avatar Jun 03 '22 09:06 RaeTheGit

I also can confirm. The triggers need reviewed. I somehow got a combination that showed what I wanted in Discord, but it was just luck.

IceOfWraith avatar Jun 03 '22 12:06 IceOfWraith