Simple plugin, that makes it possible to create artificial snow effects! ❄️❄️❄️
Supported versions: 1.17 & 1.18 & 1.19 & 1.20, & 1.21.
For versions 1.13 - 1.16 visit our discord server and download it from there. (
http://discord.fox-code.eu)
You can configure amount of particles, set in which world will players be able to see the snow, toggle snow effect with permission. Which particles should the plugin use is also configurable.
Commands:
Code (Text):
/foxsnow reload | Reloads the configuration
/foxsnow why | Debug command, shows why snow is not visible to you
/foxsnow toggle | Enables player to toggle the effect on/off
Permissions:
Code (Text):
foxsnow.show | Makes player able to see the particles
foxsnow.admin | Gives access to /foxsnow reload and /foxsnow why
foxsnow.toggle | Gives access to /foxsnow toggle
Placeholders:
Code (Text):
%foxsnow_enabled%
Installation steps: 1) Drop the plugin jar into your plugins folder
2) Restart your server
3) Configuration files should be created in the plugin folder, edit config.yml and messages.yml as you want!
Code (YAML):
# # Plugin made by Kesims, contact me on Discord for any help: Kesims # Thanks for using my plugin! # ############################### # FOX SNOW CONFIGURATION FILE # ############################### plugin-prefix: "&b&lFoxSnow &7>> "# Prefix that will be shown before every plugin message. Set to "" to disable. show-debug-messages: false
auto-save-data: true
# Put all worlds that you want the snow to appear here. Please, note that world names are case-sensitive. enabled-worlds: - example_world
- another_example_world
require-permission: true
# Permission foxsnow.show and foxsnow.toggle won't be needed, if this is set to 'false' separate-snowman-permission: false
# If enabled, snowman effect will be separated and players will need foxsnow.snowman # to see the effect. This also creates new WorldGuard region flags specific # for the snowman effect.
snow-under-blocks: true
# If set to false, snow will only appear in places where there is no block above it rain-disable-snow: true
# Stop snow effect, if it is raining (or snowing) naturally in the world player is in roof-ignored-blocks: # All blocks listed here will be ignored and snow will appear under them when snow-under-blocks is set to false - BARRIER
particle-count: 200
# Number of particles that will be spawned in each iteration max-particle-distance: 25
# Maximum distance from a player where the particle can spawn
# You can limit when it is going to snow, minecraft day has 24000 ticks, by default it will always snow. # If you want to snow for example only at night, set this to 12500 - 23500. More info: https://minecraft.fandom.com/wiki/Daylight_cycle snowtime:
start: 0
end: 24000
particles: - WAX_OFF
- SNOWFLAKE
- END_ROD
# Color for particles that are able to change color (for example dust particles). particle-base-color: 0xFFFFFF
# RGB color. Default is white: 0xFFFFFF. # Some particles also have transition color. particle-transition-color: 0xC0C0C0
# Default is silver: 0xC0C0C0. # Particles like FALLING_DUST are dependent on a material. Use materials such as SNOW_BLOCK for white falling dust particles, SAND for yellow particles etc. particle-material-color: SNOW_BLOCK
# Default is SNOW_BLOCK.
# You can use biome filter to enable the effect only in certain biomes # Available types: # :: BLACKLIST (the effect will not appear in biomes listed bellow) # :: WHITELIST (the effect will appear only in biomes that are listed) # You can find list of all possible biomes on the plugin's main page (http://foxsnow.fox-code.eu) biome-filter:
enabled: false
type: BLACKLIST
biomes: - BLOCKED_BIOME_ONE
- ANOTHER_BLOCKED_BIOME
snowman-effect:
range: -1
# Set to -1 to disable, else defines range around player where snow will be placed on the ground. Do not set this too high (it could cause a lag, even when it is as much async as possible), especially if you have a lot of players. Ideal value is around 3. duration: 100
# How long will the snow stay on the ground before being removed, in ticks. Set to -1 to keep the snow on the ground "forever" destroyable: false
# Defines if players will be able to break the snow and get snowballs from it under-blocks: true
# If set to false, snowman effect will not appear under roofs (roof-ignored-blocks applies).
# You can simply enable and disable hooks for other plugins here. # It is recommended to disable all hooks that you are not using to increase FoxSnow performance hooks:
worldguard: false
# If you are running into performance issues, you can adjust the following values to try to tweak the plugin to your server's needs. roof-cache:
enabled: true
# Helps with performance while snow-under-blocks is set to false, especially in lobbies where many people accumulate in the same space cache-time: 8
# Time in seconds after which the roof cache will be cleared (when roof is built/destroyed, this is how many seconds will the plugin take to notice) dynamic-performance-adjustment:
enabled: false
# If enabled, the plugin will monitor server TPS. If TPS starts falling, there will be automatic reduction in # the number of particles spawned by decreasing the distance radius. # ENABLING/DISABLING REQUIRES FULL PLUGIN RESTART, /fs reload IS NOT ENOUGH. min-tps: 19.8
# Minimum TPS value that will trigger the performance adjustment adjustment-factor: 0.3
# Factor by which the distance radius will be multiplied when the TPS falls below min-tps # This value should be between 0 and 1 (0.3 = 30% reduction in distance radius, 0.5 = 50% reduction, 1.0 = 100% reduction) snowfall-only: false
# If set to true, the performance adjustment will only affect the snowfall effect, but not the snowman effect
Code (YAML):
########################## # MESSAGES CONFIGUTATION # ########################## no-perms: "&cYou dont have enough permissions to run this command!" effect-disabled: "&7Snow effect was successfully &cdisabled&f." effect-enabled: "&7Snow effect was successfully &aenabled&f." disabled-placeholder: "&cDisabled" enabled-placeholder: "&aEnabled"
# # Messages for /foxsnow why. These are usually used for debug only. # debug-messages:
snow-is-working: "&7The snow should be &avisible&7! If you can't see it, please, check your Minecraft client configuration." effect-toggled-off: "&7The snow is hidden because you have the effect &ctoggled off&7." rainy-weather: "&7The snow is hidden because &cit is raining/snowing naturally&7 in the world." missing-permission: "&7The snow is hidden because you are &cmissing foxsnow.show permission&7." world-not-configured: "&7The snow is hidden it is &cnot configured to show up in this world&7. Check your config.yml." wrong-time: "&7The snow is hidden because it is configured not to show up in this &cpart of the minecraft day&7." blocks-above: "&7The snow is hidden because there are &cblocks above you&7." hook-force-disable: "&7The snow is hidden because of &cthird-party plugin hook&7." invalid-biome: "&7The effect is &cblocked in this biome&7. Check your config.yml."
List of all possible particles (please, note that these are for 1.18, some of them doesn't exist in lower versions!):
If enabled, the plugin will register 2 new region flags, that are superior to all config options.
What does that mean? If you enable/disable the effect using WorldGuard flag, the region will behave based on the flag and will completely ignore the configuration in your config.yml. This way you can have the snow effect active only in specific regions of your worlds (such as spawn in case it is a part of game world.)
Support: If you need any help, run into any problems etc., contact me on our Discord server, or here via Discussion.
I am currently just maintaining the plugin and keeping it up to date with newest Minecraft versions, without major updates, but feel free to contribute to the resource with your own pull requests on Github, they will be more than appreciated!