KrystalFox Studio
  • Hey!
  • PLUGINS
    • ShootingStars
      • Config.yml
      • Stars.yml
      • Commands and permissions
    • AnarchyStabilizer
      • Config.yml
      • Commands and permissions
    • AdvancedMobAI
      • Config.yml
  • Studio
    • Members
Powered by GitBook
On this page
  1. PLUGINS
  2. ShootingStars

Stars.yml

The stars.yml file is where you define the different types of stars can spawn in your world. Each top-level key in this file represents a unique star type name (e.g., MyCommonStar:)

PreviousConfig.ymlNextCommands and permissions

Last updated 1 month ago

Under each star type name, you can configure the following options:


  1. item

    • Type: String

    • Description: The Bukkit Material name for the item that falls from the sky. Names are case-insensitive. (Find names )

    • Example: nether_star, DIAMOND, glowstone_dust

    • Default: "NETHER_STAR" (If omitted or invalid)

  2. name

    • Type: String

    • Description: The display name shown for the item in-game. Supports standard Bukkit color codes using &.

    • Example: "&e&lShooting Star"

    • Default: "&bFalling Star" (If omitted)

  3. lore

    • Type: List of Strings

    • Description: The descriptive lines (lore) appearing below the item's name. Supports & color codes.

    • Example:YAML

      lore:
        - "&7A fragment from the sky."
        - "&eMake a wish!"
    • Default: [] (Empty list - no lore if omitted)

  4. particles

    • Type: String

    • Description: The Bukkit Particle type for the trail effect while falling. Names are case-insensitive. (Find names )

    • Example: flame, GLOW, soul_fire_flame

    • Default: "FLAME" (If omitted or invalid)

  5. sound

    • Type: String

    • Description: The Bukkit Sound name played repeatedly while falling. Names are case-insensitive. (Find names )

    • Example: entity.firework_rocket.launch, BLOCK_AMETHYST_BLOCK_BREAK

    • Default: "ENTITY_FIREWORK_ROCKET_LAUNCH" (If omitted or invalid)

  6. probability

    • Type: Number (Double)

    • Description: Controls the chance of this star spawning automatically per player during each check cycle (defined in config.yml). The internal check compares (random_number_0_to_1 * 10) against this value; if the random number is lower, the spawn attempt passes. Higher values mean a higher chance. A value of 0 means it never spawns automatically.

    • Example: 0.1 (approx 1% chance per cycle), 1.5 (approx 15% chance per cycle)

    • Default: 0.0 (If omitted)

  7. altitude

    • Type: String (Format: "min-max")

    • Description: The range of blocks above the determined ground/surface location where the star will initially spawn. If min and max are the same, it spawns at a fixed relative height.

    • Example: "30-70", "50-50"

    • Default: "25-50" (If omitted or invalid format)

  8. sky

    • Type: Boolean (true or false)

    • Description: If true, the star will only spawn automatically if the block chosen on the ground has direct access to the sky (no solid blocks above it up to the world height limit).

    • Default: false (If omitted)

  9. time

    • Type: String

    • Description: Determines when this star can spawn automatically based on the world time. Options are "night", "day", or "any". Case-insensitive.

    • Example: day, Night, ANY

    • Default: "night" (If omitted or invalid)

  10. world

    • Type: String

    • Description: The exact name of the world where this star type is allowed to spawn automatically via the background task.

    • Example: world_nether, survival_world

    • Default: "world" (If omitted)

  11. explosion

    • Type: Number (Double/Integer) or String

    • Description: Defines the explosion behavior upon impact.

      • Number (e.g., 3.5): Creates a real explosion with the specified power (TNT=4.0 is a reference). Damages entities. Whether it breaks blocks depends on damage_blocks and WorldGuard rules.

      • String "fake": Creates only visual (particles) and sound effects of an explosion. Causes no damage or block breaking.

      • String "false" or Number 0: No explosion effect occurs at all.

    • Default: Behaves like "fake" if omitted or the value is invalid.

  12. damage_blocks

    • Type: Boolean (true or false)

    • Description: Only effective if explosion is set to a positive number. If true, the real explosion will attempt to break blocks. This respects WorldGuard rules based on the flag configured in config.yml (settings.worldguard.explosion-check-flag).

    • Default: false (If omitted)

  13. damage

    • Type: Number (Double)

    • Description: Extra damage (in half-hearts) dealt directly to entities within the radius defined by settings.impact.damage-radius in config.yml. This damage is applied in addition to any damage caused by a real explosion effect.

    • Example: 5.0 (deals 2.5 hearts of direct damage)

    • Default: 0.0 (If omitted)

  14. remove_item_on_impact

    • Type: Boolean (true or false)

    • Description: If true, the star item entity itself disappears upon impact after effects are triggered. If false, the item entity remains (or is re-dropped) on the ground after impact effects, allowing players to pick it up.

    • Default: true (If omitted)

here
here
here