• ALERT

    We are currently undergoing a minor database conversion which may have caused the email management system and registration and other minor issues, our team is working on getting our new database system up and running as soon as possible, thank you for your understanding!

    If you have any other questions, feel free to open a ticket on our discord server https://dc.gleaks.pro/

Wind

VIP Plugins Wind 1.30.3

Register to download this resource

Original resource URL: https://polymart.org/resource/wind.560#!



[img] tag


Wind adds a completely new feature to Minecraft, Wind.
  • 8 new types of wind effects (all listed below), including tornados, fire carried by wind and snowstorms.
  • Geolocation compatebility - have the wind speed and wind direction in your country/city/home apply to your server!
  • Extremely configurable plugin config.
  • Naturally changing wind speed and direction based on algorithms that you can edit yourself
  • Full control over which weather effects should be enabled and at which wind speed
  • Integration with popular land protection plugins (feel free to suggest if yours isn't integrated already)
  • Full language support with 5+ premade language files (with more to come)

Wind

[img] tag

Wind particles naturally flowing in the direction of the wind
Tornados

[img] tag

Rare, but destructive forces, pulling in blocks and entities below and throwing out from the top, leaving a path of destruction.
Sandstorm

[img] tag

Sandstorms will obstruct your vision while travelling in the desert.
Picking

[img] tag

At a certain wind speed, light blocks will be picked up and carried with the wind. Note how the house protected with the stone brick roof (higher blast resistance) is protected from the wind.
The effect is set to a higher chance of occurring in the video to get a representation of the effect in a shorter time.
Snowstorms

[img] tag

Snow piling up in multiple layers
Elytra

[img] tag

The wind will boost players flying with elytra if they're flying in the direction of the wind. Flying against the wind will be more difficult.
Entities

[img] tag

At certain wind speeds, entities will start being pushed by the wind and moving slightly.
Fire

[img] tag

The wind carrying fire in its direction, causing fires to spread faster.
Tripping

[img] tag

Based on wind speeds, the player might end up tripping in the wind.


/wind - get details about the wind
/wind help - shows a list over wind commands
/wind set <speed/direction> <amount> - set wind speed or direction
/wind tornado (size) - spawn a tornado at the block you're looking at
/wind trip (player) - trip yourself or another player
/wind update - update the wind speed and direction following the algorithm specified in the config.
/wind reload - reload the wind config


wind.wind - access to /wind
wind.help - access to /wind help
wind.set.speed - access to set wind speed using /wind set speed
wind.set.direction - access to set wind direction using /wind set direction
wind.tornado - access to /wind tornado
wind.trip - access to /wind trip
wind.trip.others - access to /wind trip <player>
wind.reload - access to /wind reload
wind.update - access to /wind update
wind.effect.elytra - get elytra wind effect
wind.effect.trip - get tripping wind effect
wind.effect.particles - get particle wind effect
wind.effect.sandstorm - get sandstorm wind effect


WorldGuard

If WorldGuard is installed, you can prevent damage from wind effects in regions by using the flag 'wind-damage'.
IMPORTANT:
BEFORE VERSION 1.20.0:
Regions will by default have the flag denied, so if you have a global region and want to enable weather damage globally (outside specified regions) you need to set the flag 'wind-damage' to 'allow' in the global region
AFTER VERSION 1.20.0:
Due to a lot of users being confused by the fact that effects don't work in the global region (__global__) because the global regions are protected by default, the plugin will from now on automatically set the 'wind-damage' flag to 'ALLOW' if it's undefined. Therefore if you want to disable damage from wind in the global region you have to set the 'wind-damage' flag to DENY! It is not enough to remove the 'allow' flag, it HAS to be set to 'deny'. This only goes for the global region. Other regions will have deny as default, so if nothing is defined manually, wind damage will be disabled.

PlaceholderAPI

With PlaceholderAPI installed you have access to the following four placeholders:
- %wind_speed_short% (returns wind speed in a 2 digit number)
- %wind_speed% (returns full wind speed)
- %wind_direction_short% (returns wind direction in a 2 digit number)
- %wind_direction% (returns full wind direction)
- %wind_direction_natural% (returns written cardinal/ordinal direction, eg. N, NW, SW, SE etc.)
GriefPrevention

All claims made by either GriefPrevention or Lands will be protected from wind block damage.


  1. Download the plugin from this page
  2. Drop it into the 'plugins' folder on your server
  3. Restart your server

config.yml


# __ ___ _
# \ \ / (_) | |
# \ \ /\ / / _ _ __ __| |
# \ \/ \/ / | | '_ \ / _` |
# \ /\ / | | | | | (_| |
# \/ \/ |_|_| |_|\__,_|

# Hello user, thank you for purchasing Wind and welcome to the config.
# If you need any help setting up this plugin please contact me here:
# Discord ( https://discord.gg/Sgug3WQ ) or spigot discussion section under this resource.

#In this section you can define how wind direction and speed operates

language-file: lang_en

#Do not enable on production server
#Do not enable if you're not on the latest version supported by the plugin
use-beta-options: false

wind:

#Settings for wind speed
speed:

#How often the wind speed should change naturally in seconds
change-interval: 300

#The slowest the wind can naturally get
min-speed: 0

#The fastest the wind can naturally get
#WARNING: High wind speed can cause immense destruction and lag, raise this value with caution!
#NOTE: Raising this value does not raise the chance of the wind going above this value if 'type' is CONTROLLED.
#If you eg. raise this value to 45 without changing chance-modification, it is very unlikely that the wind will hit 45.
max-speed: 30

#The minium change in wind speed upon natural change
min-change: 0.5

#The maximum change in wind speed upon natural change
max-change: 2

#The wind setting type defines the chance of wind speed increasing or decreasing
#Set the type of wind speed, options are FIXED, RANDOM, CONTROLLED and LOCATION.
#FIXED wind speed will have a specific value that you define ingame with /wind set speed <speed> and will not change naturally.
#RANDOMIZED will randomize the wind speed between minium and maxium wind speed change every time a new wind speed is generated (defined by change-interval)
#CONTROLLED (default) will follow a lineare function to define the wind speed.
#LOCATION will use a location in the real world and use the wind speed at said location. This uses yr.no API. You can define the latitude and longitude under location-settings.
type: "CONTROLLED"

#These settings will be applied if the wind speed type above is set to CONTROLLED
controlled-settings:

#This defines modification in chance for the wind speed to drop.
#The CONTROLLED settings follows a function for chance of wind speed decrease.
#This means that lower chances have a higher chance of wind speed increase and lower chances have a higher chance of speed decrease.
#This will in opposition to RANDOMIZED make it so it's more unlikely to get high or low wind speeds, but still possible, making the wind seem more natural.
#The function for CONTROLLED chance is a following:
# f(x) = chance-modification * windspeed + (base-windspeed - chanceModifciation * base-windspeed)
chance-modification: 0.0025
base-windspeed: 5

#These settings will be applied if the wind speed type above is set to LOCATION
location-settings:

latitude: 51.51737171498748
longitude: -0.11559511638429729

#Settings for wind direction
direction:

#How often the wind direction should change naturally in seconds.
#NOTE: This is will only be used if 'type' below is not LINKED
change-interval: 300

#The minium change in wind direction upon natural change (in degrees)
min-change: 5

#The maximum change in wind direction upon natural change (in degrees)
max-change: 20

#The wind direction setting:
#FIXED wind direction will have a specific fixed value that you will define ingame
#INTERVAL wind direction will change depending on change-interval
#LINKED wind direction change-interval will be linked to changes in wind speed.
type: "LINKED"



# Here you will see all effects the wind can perform. All wind effects have four default options.
# In the first effect (wind-particles) I will explain what these default options does.
effects:

# Wind particles show particles in the air displaying the direction of the wind
wind-particle:

# This option you can disable / enable this specific wind effect. This goes for all wind effects.
enabled: true

# This option determines the minimum wind speed which is required for this effect to occur. This goes for all wind effects.
minimum-wind-speed: 5

# The scaling will detmine how much the effect "scales". The formula is a lineare function equal to
# = 1+(s*(ws-mws))
# where s is scaling, ws i wind speed and mws is minimum wind speed. This goes for all wind effects.
# For the wind particle effect, scaling will determine how many particles will spawn.
scaling: 0.03

# This is a list over worlds where the effect will occur. This goes for all wind effects.
enabled-worlds:
- world
# These options will be unique for each effect.
effect-settings:
#Determines which particle type will be displayed. Here's a list over all particle effects in the newest version -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
particle-type: "SMOKE_NORMAL"

#Particle color and size if the particle type is colorable.
#You can use this website for RGB colors https://www.rapidtables.com/web/color/RGB_Color.html
#If the particle type uses blockdata, you can set the material below.
particle-settings:
red: 84
green: 230
blue: 216
size: 1
material: STONE

#The amount of particle that by default appears per 0.1 second
#NOTE: The interval is per 0.1 second, so the default (10) is 100 per second.
particle-amount: 10

#The radius around players particles will spawn in
particle-radius: 20

tornado:
enabled: false
minimum-wind-speed: 27

#This scales 'chance' in 'effect-settings'
scaling: 0.03
enabled-worlds:
- world
effect-settings:

#The chance (for every player) of a tornado spawning at the players location per second.
chance: 0.0025

#The radius of the player in which tornados will spawn
spawn-radius: 20

#The duration (in seconds) the tornado will last
duration: 20

#The duration (in seconds) in which the tornado will be a fire tornado if it touches lava
lava-fire-duration: 4

#The duration (in seconds) in which the tornado will be a fire tornado if it touches fire
#NOTE: The tornado can sometimes spray fire ahead of itself, which it will then touch again, renewing the fire tornado duraiton.
fire-fire-duration: 2

#The max blast resistance blocks a tornado can pick up. Values above this cannot be picked up by tornados.
max-blast-resistance: 5

#The radius in which the tornado will suck up entities
tornado-suck-radius: 10

#The velocity blocks will have when picked up by a tornado
block-velocity: 3

#The velocity entities will have when picked up by a tornado
entity-velocity: 3

#The damage entities will take while inside the tornado
tornado-damage: 5

#The amount of fire spawned per 1/4 second if the tornado is a fire tornado.
fire-spawn: 5

#The height of the tornado in blocks
tornado-size: 25

#The radius in which the tornado will pickup blocks to be thrown
destruction-radius: 4

#The height in blocks that the tornado will check for future ascend/descend.
#Raising this value will make the tornado capeable of better climbing steep terrain.
#However, raising the value will also cause the tornado to look more unstable in uneven terrain (eg. a forest)
future-height-check: 2

#Set to true, if the falling blocks from the tornado should damage entities.
#NOTE: The falling blocks will make the tornado even deadlier, but the chance of getting hit
#is lower than one might think.
falling-blocks-do-damage: true

#This is generally adviced to keep this disabled, as an average tornado can cause upwards of 250 dropped itemstacks if this is enabled.
#If enabled, falling blocks from tornados will only drop items if the block can not materilaize.
falling-blocks-drop-item: false

#Disable to stop sending warning messages when tornados spawn.
send-warning-message: true

#All players within the radius of this distance will recieve a message when a tornado spawns.
warning-distance: 80

sandstorm:
enabled: true
minimum-wind-speed: 15

#Scaling scales the amount of particles
scaling: 0.03
enabled-worlds:
- world

effect-settings:
#Determines which particle type will be displayed. Here's a list over all particle effects in the newest version -> https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
particle-type: "BLOCK_DUST"

#Particle color and size if the particle type is colorable.
#You can use this website for RGB colors https://www.rapidtables.com/web/color/RGB_Color.html
#If the particle type uses blockdata, you can set the material below.
particle-settings:
red: 0
green: 0
blue: 0
size: 1
material: SAND

#The amount of particle that by default appears per 0.1 second
#NOTE: The interval is per 0.1 second, so the default (10) is 100 per second.
particle-amount: 20

#The radius around players particles will spawn in
#NOTE: 6 is radius you can see with blindness, if you seek to disable the blindness it is advised to
#raise this value.
particle-radius: 6

#Disable to prevent players from getting the blindness effect during sandstorm.
apply-blindness: true

#The biomes in which sandstorms appear.
biomes:
- DESERT
- DESERT_HILLS
- DESERT_LAKES

#In this section you can define certain items that will protect players from getting blindness while inside a sandstorm.
#You can use any kinds of equipmentslots, options are as following:
#HEAD, CHEST, LEGS, FEET, HAND, OFF_HAND
#You can add as many items to each equipment slot as you'd like. If you wish to require a custom name on the item, set
#it under display-name. If you don't want to require a custom name on the item, set display-name to null.
protection:
HEAD:
GLASS:
#Set to null, so the name of the glass won't be taken into consideration.
display-name: null
ZOMBIE_HEAD:
display-name: null
OFF_HAND:
SHIELD:
#The shield has to be named "&aWind Blocker" to work.
display-name: "&aWind Blocker"

#If the player is protected from particles due to a protection item listed above, this will be the new particle radius.
protected-particle-radius: 20

pickup-block:
enabled: true
minimum-wind-speed: 24

#This scales the chance of a block being picked up.
scaling: 0.04
enabled-worlds:
- world
effect-settings:

#Set to true, if the falling blocks from wind pick-ups should damage entities.
falling-blocks-do-damage: true

#Set to true, if falling blocks that could not materalize (turn into blocks when landing) should drop an item.
falling-blocks-drop-item: false

#The number which the wind velocity will be multiplied with before being applie to the block.
block-vector-multiplier: 0.2

#The y (vertical) velocity of the block.
block-y-velocity: 0.1

#The radius of chunks which will be affected by block pickups.
chunk-radius: 3

#The default chance at min-wind-speed of a chunk getting a block picked up per 2 ticks.
chance: 0.05

#Blocks with blast resistance over this value will not be picked up. Here's a list over all blast resistances -> https://minecraft.gamepedia.com/Explosion#Blast_resistance
max-blast-resistance: 6
snow-storm:
enabled: true
minimum-wind-speed: 15

#This scales the chance of a snow layer being placed.
scaling: 0.02
enabled-worlds:
- world
effect-settings:

#Blocks with a temperature above this value will not get snow. Here's a list over all biomes and their temperature -> https://minecraft.gamepedia.com/Biome#Biome_types
#NOTE: This is not only related to biome temperature but also block temperature. In some cases higher y levels will lower temperature. For example at the top of an extreme hills biome.
max-temperature: 0.15

#Disable this to make snow generation only be determined by wind speeds and not require storm.
only-during-snow-weather: true

#The radius of the player which will be affected by snow generation
chunk-radius: 3

#The default chance at min-wind-speed of a chunk getting a snow layer per 2 ticks.
chance: 0.05
elytra:
enabled: true
minimum-wind-speed: 8

#This scales the speed of the elytra boost.
scaling: 0.02
enabled-worlds:
- world
effect-settings:

#The base elytra veloctiy multiplier. This will be multiplied with the normalized vector of the wind direction (and multiplied with the scale).
#Raise this value to raise the elytra wind boost and lower this value to lower the elytra wind boost.
base-elytra-boost: 0.005

#The max squared velocity wind can cause (the velocity is squared for performance reasons).
max-wind-velocity: 2

#The max y at which elytras will be boosted. This is to prevent players from flying into infinte vertical heights using wind speed.
#NOTE: This is not a roof to max elytra vertical flight. Players can still fly above this value using firework rockets or peek above using
#speed from wind boost from below this value.
max-wind-boost-y: 256
entity-move:
enabled: true
minimum-wind-speed: 13

#This scales the veloctiy at which the entities will be moved with.
scaling: 0.03
enabled-worlds:
- world
effect-settings:

#This is the horisontal radius from all players in which entities will be moved if they're in a wind zone.
horisontal-radius: 20

#This is the vertical radius from all players in which entities will be moved if they're in a wind zone.
vertical-radius: 10

#This dermines how much velocity will be added to the entities. This scales with the scaling value.
wind-veloctiy-modifier: 0.01

#This is a list of all entitytypes that will be affected by wind.
#By default it contains LivingEntities (minus player), Firework and Projectiles.
#NOTE: Player is disabled by default because the effect can cause the player to stop mid-air if running.
entity-list:
#- PLAYER
- ARMOR_STAND
- BAT
- BEE
- BLAZE
- CAT
- CAVE_SPIDER
- CHICKEN
- COD
- COW
- CREEPER
- DOLPHIN
- DONKEY
- DROWNED
- ELDER_GUARDIAN
- ENDERMAN
- ENDERMITE
- ENDER_DRAGON
- EVOKER
- FOX
- GHAST
- GIANT
- GUARDIAN
- HOGLIN
- HORSE
- HUSK
- ILLUSIONER
- IRON_GOLEM
- LLAMA
- MAGMA_CUBE
- MULE
- MUSHROOM_COW
- OCELOT
- PANDA
- PARROT
- PHANTOM
- PIG
- PIGLIN
- PIGLIN_BRUTE
- PILLAGER
- POLAR_BEAR
- PUFFERFISH
- RABBIT
- RAVAGER
- SALMON
- SHEEP
- SHULKER
- SILVERFISH
- SKELETON
- SKELETON_HORSE
- SLIME
- SNOWMAN
- SPIDER
- SQUID
- STRAY
- STRIDER
- TRADER_LLAMA
- TROPICAL_FISH
- TURTLE
- VEX
- VILLAGER
- VINDICATOR
- WANDERING_TRADER
- WITCH
- WITHER
- WITHER_SKELETON
- WOLF
- ZOGLIN
- ZOMBIE
- ZOMBIE_HORSE
- ZOMBIE_VILLAGER
- ZOMBIFIED_PIGLIN
fire-move:
enabled: true
minimum-wind-speed: 17

#Scaling scales 'chance' which is defined under 'effect-settings'
scaling: 0.02
enabled-worlds:
- world
effect-settings:
#This is under which ignite-causes the fire will be able to spread. The options are added and can be commented to disable and un-commented to enable
ignite-causes:
- SPREAD
#- ARROW
#- ENDER_CRYSTAL
- EXPLOSION
#- FIREBALL
#- FLINT_AND_STEEL
#- LAVA
#- LIGHTNING

#This is the multiplier that will be multiplied with the normalized vector of the wind velocity. Raise value to raise the velocity of the fire and lower it to lower the velocity of the fire.
velocity-multiplier: 0.1

#This is the chance of the summoning of a flying piece of fire per ignite cauese. (Scales with 'scaling')
chance: 0.2
trip:
enabled: true
minimum-wind-speed: 20
#This scales the 'chance' under 'effect-settings'.
scaling: 0.003
enabled-worlds:
- world
effect-settings:

#The chance of a player tripping per 2 ticks.
chance: 0.003

#Disable to trip non-sprinting players aswell.
only-sprinting-players: true

#The duration the player will be tripped in milliseconds. (1000 = 1 second)
trip-time: 1000

#The damage the player takes from tripping.
trip-damage: 1
leaf-drop-item:
enabled: true
minimum-wind-speed: 23

#This scales the amount of dropped items.
scaling: 0.01
enabled-worlds:
- world
effect-settings:

#A list of types of blocks that can drop items, typically the leaves
#The items will drop the drops they would naturally have dropped if broken by hand.
leaves:
- ACACIA_LEAVES
- BIRCH_LEAVES
- DARK_OAK_LEAVES
- JUNGLE_LEAVES
- OAK_LEAVES
- SPRUCE_LEAVES

#The radius of the player in which chunks will be affected by leaves dropping items.
chunk-radius: 3

#The default chance at min-wind-speed a leaf block in a chunk dropping an item
chance: 0.007


If you have any questions regarding this plugin, want to report a bug, want to see the plugin in action or want to suggest a feature. Please contact me in this discord group: https://discord.gg/jtd9pG4 or under 'discussions' in this resource. I am very likely to respond quickly and help you with your problem.

Uploader


Downloads
0
Views
61
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from ArteffKods

Back
Top Bottom