Skript

Skript

743k Downloads

TNT Minecart destruction event

qsxcfthnjil opened this issue ยท 1 comments

commented

Skript/Server Version

[18:56:31 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases

[18:56:31 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/

[18:56:31 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials

[18:56:31 INFO]: [Skript] Server Version: 1.21-130-b1b5d4c (MC: 1.21)

[18:56:31 INFO]: [Skript] Skript Version: 2.9.0 (skriptlang-github)

[18:56:31 INFO]: [Skript] Installed Skript Addons: 

[18:56:31 INFO]: [Skript]  - Skellett v2.0.10 (https://forums.skunity.com/resources/skellett.24/)

[18:56:31 INFO]: [Skript]  - SkBee v3.5.7 (https://github.com/ShaneBeee/SkBee)

[18:56:31 INFO]: [Skript] Installed dependencies: 

[18:56:31 INFO]: [Skript]  - Vault v1.7.3-b131

[18:56:31 INFO]: [Skript]  - WorldGuard v7.0.11-beta1+a801a9d

Bug Description

On damage:
broadcast victim

on vehicle destroy:
broadcast event-entity

on vehicle damage:
broadcast event-entity

On death:
broadcast victim

all fail to report the victim as an "explosive minecart" when a flame bow is shot at a TNT minecart.

Expected Behavior

"explosive minecart" is broadcasted in the chat after I shoot a TNT Minecart with a bow enhanted with Flame.

On death:
broadcast victim

Steps to Reproduce

You literally can't make skript broadcast "explosive minecart" when it dies.
Try using the following, then shoot a TNT Minecart with a bow enchanted with Flame.
On damage:
broadcast victim

on vehicle destroy:
broadcast event-entity

on vehicle damage:
broadcast event-entity

On death:
broadcast victim

Errors or Screenshots

No errors in chat.

Other

Detecting that the damage cause was an "explosive minecart" works fine.

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

I was trying to block cart pvp on my server, and I found that the following worked

on explode:
broadcast event-entity

you can also cancel the event if you don't want the explosion to happen

there was no way to send a message to the person that caused the explosion, but that's another issue