mods / shorewaves

Shore Waves

Waves roll in from the sea, break into foam and wash up the beach - bigger in storms.

400+ downloads

Download on CurseForge

Shore Waves makes the coasts of Hytale come alive. Waves roll in from the open sea, curl, break with a splash and wash up onto the sand, where the foam slowly fades. Calm days bring small waves, rain and storms bring big ones.

Some nights a storm rolls in: heavy rain, a dark sky, lightning over the sea and thunder after it. The mod is server-side only, so players do not need to install anything. Inspired by the Minecraft Waves mod.

Type
Server plugin + asset pack
Client mod
Not needed
Admin command
/waves admin
Player command
/shorewavesfx
Permission
shorewaves.admin
Config
settings.json in the mod's data folder

Getting started

Shore Waves banner
Waves rolling onto every shore.
  1. Put the mod jar in the server's mods folder and start the server. Nothing is needed on the players' side.
  2. Go to a sea coast. Waves start rolling in towards the beach around you on their own.
  3. To check it works anywhere, an admin can run /waves test - eight waves roll towards you from every side and break about 2 blocks away.
  4. Open /waves admin to change the style, the wave amount and the storm settings in game.
  5. On a weak PC, any player can lower their own waves and storms with /shorewavesfx low or turn them off with /shorewavesfx off.

Where waves appear

The mod looks for shore spots around each player: the top water block with land next to it and open water behind it. Each wave rolls towards the shore, breaks, and its wash runs up a flat beach. All players within 48 blocks of a wave see the same wave at the same time, with the same splash and sound.

Sea

Open water gets all wave sizes.

Lakes

Water that ends within 64 blocks counts as a lake and gets only small waves.

Ponds

Water narrower than 24 blocks or shallower than 3 stays calm - no waves at all.

WeatherWaves per second (per player)Sizes
Calm2.4Mostly small: 65 % small, 30 % medium, 5 % large
Rain, snow, wind3.4One size step bigger
Storm, thunder, blizzard6.2Two size steps bigger

Storms

Once per in-game day the world rolls whether a storm comes and when. The roll comes from the world seed, so every player of a world gets the same storm, and a restart does not change it. By default a storm has a 15 % chance per day, starts at night (between 19:00 and 04:00) and lasts 2.5 in-game hours.

A storm is the weather of the whole world. Every player under the open sky gets it, by the water or inland. When it ends, the normal weather comes back.

Three lightning bolt styles over the water
Bolt drawings for the Cozy, 32px and Hytale styles (the small figure is a player).
  • Rain - the game's own rain weather with darker clouds, plus extra rain and far rain curtains over the sea.
  • Squalls - for 22 seconds out of every 95 the storm peaks: more rain, faster lightning and bigger waves.
  • Lightning - about 5 strikes a minute, 45 to 110 blocks away, out on the water. Half of them are only a far flash over the horizon. Each strike picks one of five bolt shapes, its own size and a slight tint.
  • Thunder - follows each strike, later and quieter the farther away it was.
  • Rain rings and mist - rings spread on the sea where drops land. Most storms (60 %) also bring mist banks that come and go over the water.

Three styles

Waves, splashes and storm effects come in three looks. All three are always loaded, so a switch applies to the next waves. Admins switch it on the Overview tab of /waves admin, and the new style plays right in front of them.

Cozy, 32px and Hytale waves side by side
Style comparison drawing: Cozy, 32px and Hytale (not an in-game screenshot).
  • Cozy (default) - pixel-art waves.
  • 32px - a painted wave that peels and bursts, at Hytale's block texture density.
  • Hytale - built from the game's own water textures.

Performance and per-player effects

Waves are particles sent by the server. Nothing in the world is changed and nothing is stored. Shore spots are cached, and a crowd on one beach does not multiply the waves: the wave rate is shared by the players standing together.

  • Each player is sent the 14 nearest waves at most.
  • Players farther than 24 blocks from a wave get every second frame.
  • The lag guard lowers the wave rate while the world thread is behind.
  • Players with a congested connection are skipped until it clears.
  • /shorewavesfx (alias /swfx) sets each player's own level: Full, Low (about a third of the waves, half the distance; in a storm only the weather's rain) or Off. Saved on the server, kept after restarts.

Settings

Every setting is in settings.json and on the Settings tab of /waves admin. Values are clamped to safe ranges; /waves reload reads the file again.

SettingDefaultWhat it does
enabledtrueWaves on or off.
style00 = Cozy, 1 = 32px, 2 = Hytale.
radius26Shores are looked for this far around each player (blocks).
wavesPerSecondCalm / Rain / Storm2.4 / 3.4 / 6.2Waves started per player per second.
weightSmall / Medium / Large65 / 30 / 5Share of wave sizes in calm weather.
waveScale1.0Size of all waves.
pondProtectiontrueNo waves on ponds and puddles.
lakeWavestrueSmall waves on lakes (false = none).
viewDistance48Players this close see a wave (blocks).
soundstrueBreaking sounds from the game's own wave recordings.
stormstrueStorms on or off.
stormChance0.15Chance that a day gets a storm.
stormHours2.5How long a storm lasts (in-game hours).
stormsAtNighttrueStorms start only at night (off = any hour).
stormInlandtrueThe storm reaches inland too (off = only by the sea).
stormFog10 = barely any fog, 1 = light, 2 = heavy.
lightningPerMinute5.0Strikes per minute during a storm.
stormThundertrueThunder after each strike.
lagGuardtrueFewer waves while the world is lagging.
worldsdefaultWorlds the effects run in. default is the main world; an empty list means every world.
updateChecktrueLook for a new version on CurseForge after the server starts.

Commands

CommandWhat it doesPermission
Admin panel: switches, test waves, storm tools and every settingshorewaves.admin
Whether waves run in this world and how many have rolled so farshorewaves.admin
Turn the waves on or off in this world (until restart)shorewaves.admin
Eight waves roll towards you from every sideshorewaves.admin
Force a storm here for 5 minutesshorewaves.admin
Stop a forced stormshorewaves.admin
A lightning strike next to youshorewaves.admin
Reload settings.jsonshorewaves.admin
Your own wave and storm level; without an argument opens a small menu (alias /swfx)every player

Questions

Do players need to install anything?

No. Everything is sent by the server.

Why are there no waves on my pond?

Pond protection keeps water narrower than 24 blocks or shallower than 3 calm. Lakes get only small waves.

How do I see a storm without waiting?

Run /waves storm for a 5-minute storm in your world, or use the Storm button in /waves admin.

Can I keep the waves but drop the storms?

Yes. Turn storms off in the Settings tab or in settings.json.

Why no waves in my other world?

By default the mod runs only in the main world. Tick more worlds on the Worlds tab of /waves admin.