Event Commands

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
C

chbachman

Guest
Welcome! Welcome one and all to my not creatively named new mod, that was made solely because @Gideonseymour asked me to, and said it would be useful!

This mod allows you to specify events that you can then run custom commands with. What are the uses of this? Well, I have no idea! However, Map and Modpack makers might find it useful, because it allows for a large amount of customizability.

Downloads
Downloads are here. (Not approved yet.)

Examples
This is a very easy to use mod, with one config file being generated, and a comment to help you learn now to use it. Use the commandEvent.cfg file, with the format as provided there. And example is in @Gideonseymour's Running Red 2, where he uses it to add potion effects.

Running Red 2 said:
commands {
# Category is formatted such that the line is this "EventName:Command". An example would be: LivingDeathEvent:say I am dead [default: ]
S:eventList <
LivingHurtEvent:effect @a[score_vamp_min=1] 1 9999
LivingHurtEvent:effect @a[score_vamp_min=2] 3 9999
LivingHurtEvent:effect @a[score_vamp_min=3] 5 9999
LivingHurtEvent:effect @a[score_vamp_min=4] 16 9999
>
}
 
C

chbachman

Guest
Sounds awesome! Btw, CF made an interesting page... :p
e0uiahe.png
CF has to approve my project before it can show.