Pathinator icon

Pathinator -----

Easily create custom paths using the block you're standing on.



Pathinator
[​IMG]

Pathinator allows you to easily create custom paths using the block you're standing on.

For example, if you are standing on a block of OAK_PLANKS and you issue a command to create a path of 50 blocks, Pathinator will replace all the blocks in the direction you are facing with OAK_PLANKS out to a distance of 50 blocks. If you also requested with lights Pathinator will add a light ( configurable, defaults to TORCH) every N* blocks to the side of the path.

Usage
Basic
` path:basic <distance> [with lights]` ( aliased as `pb`) where <distance> is the number of blocks to place, and [with lights] is an optional boolean ` true|false` whether to place a light every N * number of blocks.

For example: ` path:basic 25 true` to create a path 25 blocks long with lights, or ` path:basic 25` where [with lights] defaults to false for no lights.

Tracks
` path:tracks <distance> [with power] [with lights]` ( aliased as `pt`) where <distance> is the number of blocks to place, and [with power] is an optional boolean ` true|false` whether to place a powered rail every N * number of blocks. [with lights] is another optional boolean whether to place a light every N * number of blocks.

* N is configurable in `/plugins/Pathinator/config.yml`

Custom
` path:custom <distance> <width> <height> [path material] [clearance material]` ( aliased as `pc`) where <distance> <width> and <height> are required and [path material] and [clearance material] are optional. If no [path material] is specified Pathinator will detect the pattern of blocks the player is currently standing on for the path. For example: if you create a path 3 blocks wide Pathinator will detect the block under the player and one block to the left and right and keep that same pattern for the entire distance requested.

Additionally, you can specify what material to use to fill the 'air' space above the path (clearance material). This allows you to easily create 3 dimensional structures out of any material!

Follow
` path:follow <start|stop> [radius] [path material]` (aliased as ` pf`) where [radius] is a number between 0 and 5, and [path material] is any solid block. NOTE you must run path:follow stop to tell Pathinator to stop creating a path wherever you walk.

For example, ` path:follow start` will start following using the default radius and whatever block you are currently standing on. ` path:follow start 2 minecraft:ọak_planks` will create a wide path with OAK_PLANKS.

The follow command only works in Creative mode at this time.

Examples
[​IMG]

[​IMG]

[​IMG]

[​IMG]

[​IMG]

Survival vs Creative
In Survival mode, you must have enough material in your inventory to place blocks for the distance requested. Additionally, the following options can be configured:
  • Tool Damage: each relevant tool in your inventory will take 1 damage for each block you replace (including the clearance space above if carving through a mountain). For example, if you have a shovel and a pickaxe and you create a path 10 blocks long through 6 blocks of dirt and 4 blocks of stone, your shovel will take 6 damage and your pickaxe will take 4 damage. If you have more than one tool of the same type, Pathinator will take the damage from the tool with the least remaining durability.
  • Require Tool: in order to clear (mine) blocks you must have an appropriate tool in your inventory. (e.g. a shovel to clear dirt, a pickaxe to clear stone, etc...)
  • Keep Material: any material cleared (mined) will be added to the player's inventory.
In Creative mode, you can place as many blocks of any type as you want, with no inventory restrictions or damage to tools.


Configuration
Once loaded on the server, edit `/plugins/Pathinator/config.yml` to adjust the default values.
Code (YAML):
clearance:
  height
: 3
  material
: AIR

lighting
:
  interval
: 12
  stack
: [TORCH ]

survival
:
  enabled
: true|false
  requireTool
: true|false
  toolDamage
: true|false
  keepMaterial
: true|false

tracks
:
  powerInterval
: 34

follow
:
  enabled
: true|false
  radius
: (0-5 )

Future Updates
- Add option to follow the natural terrain instead of laying it all on the same Y value.
- Add permissions management with LuckPerms

Support

If you encounter any issues or have any questions, please open an issue on GitHub.
Resource Information
Author:
----------
Total Downloads: 120
First Release: Aug 10, 2024
Last Update: Oct 12, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings