Ever wanted your server to be more realistic? Wanted to be more unique? Now you have a chance! This plugin will add more realistic water mechanics to your server! Vortexes are no longer a dream! First and only minecraft water mechanics!
The Lava version was not approved, so it won't be available to the public, sorry!
Video uses shader pack to modify graphics. It's not included into plugin!
If you want to test it before buying download:
https://www.spigotmc.org/resources/realistic-water-mechanics-free-limited-addition.48820/
- Realistic water mechanics
- Water drains into ground
- Water-hopper transfer system (video coming soon)
- Rain water
- Water vortex
- Changed boat mechanics
- Bucket event management
- More options in water
- Water will flow to holes and gather to water sources (that don't drain)
- Modified world generation (sea floor)
- Items will flow up in water (everything is configurable!)
- Fast support
Code (Text):
#Enable water on plugin load?
#It is disabled by default for first start and configure
#You can enable water mechanincs in server with /water enable
#Setting this to "true" will allow water mechaincs work when server starts
Enable on start: false
#The speed plugin will calculate and place water
#This speed is in ticks (1/20 second)
#This option doesn't effect the performance!
#Default: 1 (each tick)
Water speed: 1
#Blocks that can be broken by water
Destroy:
- SUGAR_CANE
- TALL_GRASS
- GRASS
- DANDELION
#- TALL_SEAGRASS
#- SEAGRASS
#- KELP_PLANT
#- KELP
- TORCH
- REDSTONE_TORCH
- REDSTONE_WIRE
- REDSTONE_WALL_TORCH
- REDSTONE
- LEVER
- STONE_BUTTON
- ACACIA_BUTTON
- BIRCH_BUTTON
- DARK_OAK_BUTTON
- JUNGLE_BUTTON
- OAK_BUTTON
- SPRUCE_BUTTON
- ACACIA_SAPLING
- BIRCH_SAPLING
- DARK_OAK_SAPLING
- JUNGLE_SAPLING
- OAK_SAPLING
- SPRUCE_SAPLING
- FLOWER_POT
- SUNFLOWER
- CHORUS_FLOWER
- DEAD_BUSH
- VINE
- LILAC
- LILY_PAD
- ROSE_BUSH
- ROSE_RED
#The max time plugin can take checking the water
#Higher values can make water go faster, but
#performance will decrease
Max ms to check: 30
#Message to send when player tries to place water
#When there is no enough space for water
No enough space message: 'There is no enough space'
#In which worlds will realistic mechanics work
Enabled worlds:
- world
#Enable bucket check
Bucket check: true
#The distance from which water mechanics will stop working
Distance: 92
#Radius of water to check
#The higher this number, the flater water will be
#Higher values will cost a lot of performance (Water will work slower)
Radius to check: 30
#Rain water (puddles) forming on ground
Rain: true
#Forming puddles on normal water
Rain on water: false
#The radius in wich it will rain
#Larger radius can begin to load chunks - cause lag
Rain radius: 64
#The speed at which water will rain
# Default: 500
# 0 - fastest
Rain speed: 500
#If water can rain on lowest water
#This will enable forming of more water on lakes/holes
#Will let regenerate water faster
Rain on lowest water: true
#Blocks on which it will not rain
#"Destroy" blocks are included
Dont rain on:
- SIGN
- WALL_SIGN
- FENCE
#Enable hopper water transfer system
Hopper transfer system: true
#Name of the bucket in hopper
#This bucket will transfer water trough hoppers
#Don't use color codes (doesn't work)
Bucket name: "Water"
#Enable generation edit?
#It will replace blocks under water
#That helps so water doesn't flow into caves
#(Recommended settings is set, change at your own will)
Generation edit enabled: true
#Block that will be placed under water on generation
#It will be placed if:
#* There is air under water
#* There is sand/gravel under water (block will be placed under sand/gravel)
Replace block: "DIRT"
#Wich rate the block will be placed under water
#It will count as blocks*2/s
Replace rate: 50
#Replace in all chunks that is loaded or only in new chunks
#true - only in new
#false - in all loaded
#If you put small Replace rate, set this to false
#Else, put this to true
Replace only new: true
#The speed at which blocks will drain
#It can be from 1 to infinite
#1 - fastest, default: 1
Drain speed: 1
#Blocks that can float on water
#Use '*' to allow all blocks to float
#List of all blocks: https://www.minecraftinfo.com/items.htm
#Replace spaces with _
List of floatable blocks:
- '*'
- 'block_of_readstone'
- 'etc'
Every owner should change the ms speed to the one server can handle. 35 is fast and doesn't cause lag, but if you experience some tps drop, lower it. Don't raise it above 50!!!
Code (Java):
[/SIZE]/**
* Replace block to water and set its data (size)
* 0 - full water block
* 7 - lowest
* 8 - will turn to air
* @param b Block to replace
* @param size Water size
*/
public static boolean placeWater(Block b, int size)
/**
* Set water data (size)
* 0 - full water block
* 7 - lowest
* 8 - will turn to air
* @param b Block to set data
* @param size Water size
*/
public static boolean setWaterSize(Block b, int size)
/**
* Checks if block is water block
* @param b Block to check
* @return Is block water
*/
public static boolean isWater(Block b)
/**
* Gets block size
* 0 - full water block
* 7 - lowest
* -1 - not a water block
* @param b Block to get size
* @return Water size
*/
public static int getWaterSize(Block b)
- Download the plugin (from this page).
- Move the plugin to your servers /plugins/ folder.
- Restart the server (or load the plugin with plugman).
- Edit configs as you please
- Run: /water reload
- That's it!
- /water (for non-op players) - shows plugin description and creators
- /water (fro op players) - shows plugin version, queue size and commands
- /water reload - reloads the plugin config
- /water stop - clear water queue (stops the water)
- /water enable - enables realistic water mechanics
- /water disable - disables realistic water mechanics
As you could guess, this kind of plugin could lag the server a lot. But not this time! Server with 2.2ghz CPU, 16GB ram and 10+ players works with 19+ TPS on full load! No place for lag! The plugin works more on CPU, single core. If you have a CPU with core higher then 2.2ghz, you will be okay!
- Optimize the plugin
- Make config with more options
- PM @AsVaidas for more!