Fredashay's Highway icon

Fredashay's Highway -----

This plugin builds highways in your world.



FredashaySpigotHighway.png This plugin builds highways across your world. It's really easy to use. In the chat window, type:

/HIGHWAY X=n Y=n Z=n D=N|S|E|W L=n

You could also spell things out if that's what warps your starship:

/HIGHWAY X=n Y=n Z=n DIRECTION=NORTH|SOUTH|EAST|WEST LENGTH=n

n is any number. The plugin will give you an error message if n is out of range for the parameter.

If all the parameters are valid, the plugin will build a highway starting at X,Y,Z coords in the specified direction for a length of n blocks. It will build the highway in the dimension you are currently in, be it the World, the Nether, the End, or a custom world.

The plugin slices time to build the highway, so you can continue playing while the highway is being built without freezing up the server. You will notice there's a split second pause as it builds each slice of highway tunnel. It may take a long time to build a long rail line.

If you specify, for example, X=* Y=* or Z=*, the plugin will use your current location for these values. If you specify DIRECTION=*, the plugin will build in the direction you are facing, as long as you are facing directly North, South, East, or West.

If your highway is above ground level, support pillars will be placed every 6 blocks under the road to create an overpass. They will extend downward until they touch solid ground. If the overpass is over water or lava, the support pillars will extend down into the water or lava until they reach solid ground. But if there is no solid ground, such as in The End, there will be no support pillar.

If your highway passes through a mountain, tunnel walls will be built around it.

WARNING! The plugin doesn't detect houses, villages, temples, fortresses, strongholds, portals, sunken ships, mansions, or other players' bases, etc. It will build the highway through anything in the way. Survey your route by eye in Spectator mode before you build!

You can issue /HIGHWAY HALT to halt construction.

You can issue /HIGHWAY RESUME to resume construction that has been halted.

PROPERTIES FILE

This plugin creates a highway.properties file the first time it runs. The properties file contains several default settings for region and tunnel styles.

If the properties file specifies ALIGNMENT=, highway centerlines will be snap to the nearest parallel multiple of that value. The default is 6. For example, if you specify X=13 and Z=8, the plugin will assume you mean X=12 and Z=6. This is so that when highways cross, they will intersect without oddly placed lamp posts and support pillars.

If the properties file specifies SURFACE=, this tells the plugin what surface you want for your road. The options are CONCRETE or ASPHALT or STONE.

If the properties file specifies FOUNDATION=, this tells the plugin what style you want for your bridge and overpass supports. The options are CONCRETE or STONE.

If the properties file specifies FENCE=, this tells the plugin what style you want for your guardrails and fences. The options are WOOD or IRON.

Lastly, if you keep the plugin loaded on your server after you build all your highways, it will protect the road surface from griefing and hostile mobs. The extent of this protection depends on the PROTECT= value. If you set PROTECT=OFF, there will be no protection, which is best if you are running a private server that only trusted friends will play on or you are building a world that is not yet open to the public. If you set PROTECT=MIN, there will be minimal protection protecting the highway from griefing, If you set PROTECT=MAX, the highway will be protected from griefing, and hostile mobs will not be able to harm players traveling along the highway. This last option will stress the server if you have a large and complex highway system.

ON RAMPS and OFF RAMPS

You will need to build your OWN on ramps and off ramps, toll booths, and whatnot.

KNOWN BUGS

If one highway crosses another, the plugin doesn't know what you intend to happen and it gets confused, especially if the two roads aren't at the same Y height. You'll have to clean things up and connect the roads the way you want.

It also gets confused when building a tunnel through a cave where the ground is below the road level. Do I build a tunnel here, or a bridge? ¯\_(ツ)_/¯

Trees are a problem! The plugin will try to prune trees in a sensible manner along the road so that you don't see trees simply sliced in half or mangled along the way, or leaves floating in mid-air, but it isn't perfect, such as when the tree-itself isn't in the way but the leaves hang over the road, or visa-versa. The Minecraft game engine usually notices clumps of leaves floating in mid-air and lets them despawn naturally, but not always. So you will have to do some manual editing along the way. Sorry...

Water is also a problem. Sometimes a highway will intersect some water and the water will start flowing after the plugin removed the existing block but before it placed the road surface. That may result in some water flowing onto the road. I tried using an event to test for water flowing, but water flows all over creation in a Minecraft world, and having an event to trace water in the highway tunnel back to the source block brought the server to its knees. So you may have to do some occasional repairs where water flows onto your road while it's being built.

Sometimes, the highway will disturb loose sand above. Since sand falls in slow motion relative to game ticks, it will land on the highway after that slice has been built and the plugin has moved on, and so the plugin won't detect it. So some clean-up may be necessary. This usually occurs at tunnel entrances in deserts or if the highway passes through a cave or canyon.

Also, while this may be obvious, building a highway on a busy server may cause your players to complain about "lag." Best to build your highways late at night when nobody is playing.

GO AHEAD AND TRY IT!

I recommend you play around with this plugin on a test server before building highways on your live server. Try building overpasses lines, underground tunnels, underwater tunnels,and surface roads, all with each of the different styles. Also mix and match different styles, for example, concrete and asphalt roads for a modern look, or stone for a Medieval look.
Resource Information
Author:
----------
Total Downloads: 174
First Release: May 30, 2022
Last Update: Nov 11, 2023
Category: ---------------
All-Time Rating:
0 ratings
Find more info at www.spigotmc.org...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings