Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:extrafireworks:commands [2021/12/27 16:16] – [Launch] Fix typo phoenix616plugin:extrafireworks:commands [2022/07/18 12:52] (current) – Add give command phoenix616
Line 12: Line 12:
  
 Allows reloading of the plugin config. Allows reloading of the plugin config.
 +
 +## Give Firework Rocket
 +
 +**Usage:** `/ef give <player> rocket <effect> <power> [<config>]`  
 +**Example:** `/ef give Phoenix616 rocket text 2 {colors:["0,255,0","255,0,0"],particle: redstone, text: "The Text", box: true}`  
 +**Permission:** `extrafireworks.command.give`
 +
 +Allows giving a firework rocket to a specific player. The firework effect type can be both [Vanilla](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/FireworkEffect.Type.html#enum.constant.summary) and [ExtraFirework's effects](https://wiki.phoenix616.dev/plugin:extrafireworks:effects) (including custom defined ones in the config).
 +
 +## Give Firework Star
 +
 +**Usage:** `/ef give <player> star <effect> [<config>]`  
 +**Example:** `/ef give Phoenix616 star text {colors:["0,255,0","255,0,0"],particle: redstone, text: "The Text", box: true}`  
 +**Permission:** `extrafireworks.command.give`
 +
 +Allows giving a firework star to a specific player. The firework effect type can be both [Vanilla](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/FireworkEffect.Type.html#enum.constant.summary) and [ExtraFirework's effects](https://wiki.phoenix616.dev/plugin:extrafireworks:effects) (including custom defined ones in the config).
  
 ## Launch ## Launch
Line 35: Line 51:
 #### motion #### motion
  
-A string in the format of `x,y,z` (e.g. `motion: "0.5,0.8,-0.6"`) which contains motion/direction information into which the firework should fly. Some effects also get changed based on that direction. (Currently only fountains)+A string in the format of `x,y,z` (e.g. `motion: "0.5,0.8,-0.6"`) which contains motion/direction information into which the firework should fly. Some effects also get changed based on that direction if the `direction` tag isn't explicitly specified. (Currently only fountains)
  
 #### color #### color
Line 72: Line 88:
  
 The direction an effect should be rotated in. (does nothing with fountain, snow, or explosion) E.g. `yaw: 100.0`. The direction an effect should be rotated in. (does nothing with fountain, snow, or explosion) E.g. `yaw: 100.0`.
 +
 +#### direction
 +
 +The direction vector string in the format of `x,y,z` an effect should point in. (currently only used for fountain) E.g. `direction: "0,1,0"` for up.
  
 #### box #### box