Original:
https://www.spigotmc.org/resources/celeste.81862/
Relevant information copied from original resource below:
Celeste - Add shooting stars to your Minecraft server
Celeste is a simple plugin that adds shooting stars to your Minecraft server. Inspired by the shooting stars from Animal Crossing and the falling stars from Breath of the Wild, this plugin brings some celestial ambiance to your Minecraft world.
Features
- Add shooting stars to the night sky, with configurable frequency
- Find rare falling stars that deliver precious materials in a sparkling package
- Watch meteor showers that occur every new moon, increasing the rate of shooting and falling stars
Shooting stars with a falling star in the upper left corner (note: frequency increased here to 120 a minute)
Shooting stars
Shooting stars occur once every 10 seconds by default (6 times a minute), but due to how large the area around a player is, you would usually only see one every few minutes unless you were stargazing. They have no functional purpose and are only there to sparkle and look pretty. To more accurately emulate real-world meteors, these virtual shooting stars vary in speed, length, and can even break up into multiple parts while burning up!
Falling stars
Inspired by the star fragments from The Legend of Zelda: Breath of the Wild, these rare stars are fall from the sky only once or twice a night! They are marked by a streak of light and resonating sound as they fall towards the earth, and once they land the stars spark and sizzle for 10 seconds by default to help players find them. They can be easy to miss, with players only knowing one has fallen by the distinctly resonating sound they make on impact. But if a player is lucky enough to find one, they may receive a rare treasure as well as some experience! This loot is completely customizable, and the documentation for that can be found further below.
In-Depth Functionality
Shooting stars and falling stars spawn on a per-world basis. This means that the number of players in a world does not affect the spawning rate. When either type of star is given a chance to spawn, the plugin will find a random player within that world and center the spawn in a large radius around said player, in order to avoid sending stars to unloaded chunks where they would never be found. Additionally, the worlds that shooting and falling stars can spawn in must meet the following conditions:
- Must have players in the world currently
- Must be nighttime (between 13000 and 23000 in-game time)
- Must be clear weather (no rain or snow)
- Will not spawn in the nether or end
Configuration
Installation is as simple as copying the newest build jar to your plugins folder. A configuration file is created by default, but if the file was created previously it may not include default values that were added in later updates. If this is the case, you only need to copy the lines over to the config from the listed defaults in order to change them.
Here are some things you can configure:
- How many shooting stars and falling stars appear per minute
- Whether shooting or falling stars are enabled (enabled by default)
- The items that drop from falling stars, including the amount of exp
- Whether to enable meteor showers on nights with a new moon (enabled by default)
- The frequency of shooting/falling stars during meteor showers
- The volume of the falling star sound, and whether it should be played
- And many more minor settings
To view the config defaults and see the docs, check out the GitHub write-up here
Falling Star Loot
Falling stars drop loot wherever they fall, and spark for 10 seconds (200 ticks) by default to show their location. The loot they drop is randomly selected from the loot table in the config, with each material being given a weight. For instance, in the default config, there is a 60% chance for a diamond, 20% of an emerald, and a 20% chance of a fire_charge. Experience also drops from falling stars, 100 points (not levels) by default.
You have the option of defining a simple list of items in the config or using Minecraft's built-in loot table system. The config-based loot system is simpler as it doesn't require messing with data packs, but it is limited to only one item at a time and is unable to produce items with NBT data attached. For more advanced loot, you'll probably want to use loot tables. Note that both kinds of loot configurations can be used at the same time if you wish to do so for whatever reason.
Documentation on setting up the config is available here
Commands
/shootingstar [player] summons a shooting star in the sky directly above the player. If no player is given, spawns one above the summoner.
Permission: celeste.shootingstar
/fallingstar [player] summons a falling star directly above the player. If no player is given, spawns one above the summoner.
Permission: celeste.fallingstar
/celeste reload reloads the config file, recalculates the falling star loot, and checks for updates (if enabled)
Permission: celeste.reload
/celeste info displays if shooting stars, falling stars, and meteor showers are enabled
Permission: celeste.info