[Mod] Blink (Short Distance Teleport) [blink]

Post Reply
0siribix
Member
Posts: 123
Joined: Tue Nov 17, 2020 20:54
GitHub: 0siribix
In-game: 0siribix

[Mod] Blink (Short Distance Teleport) [blink]

by 0siribix » Post

Blink Teleport mod for Minetest
======================

Dependencies
------------
Minetest 5.0.0+
Mod dependencies: none

Description
-------------

Blink is a short distance teleport with a cooldown period, similar to a reuseable ender pearl. The further you blink, the longer the cooldown. You can also place a temporary marker that will display your destination if you were to blink. This will add a new dynamic to PvP and/or survival servers. If you blink into a player or a mob, you will find yourself directly behind them facing their back.

Right click or double tap to blink in the direction you are looking. Left click or tap and hold to show a glowing orb at the location you would blink to. If you do this twice in the same place, you will blink to that spot (see screenshots)

Blink Rune is limited uses (150 by default) and fairly easy to craft. Forever Rune is infinite uses and is more expensive to craft. Craft recipes vary depending on which game you are playing or which mods are installed.

Blink adds a few items for crafting purposes: Bone and Bone Shard. If Bonemeal is detected, that bone will be used instead. If Techpack is installed, a grinder recipe is added. If Bonemeal is not installed then there is a small chance of finding a bone when digging any type of soil.

Blink does not depend on MTG so it will work with any game including Mineclone.


Image
Image


Features
-------------
  • By default you cannot blink into or out of protected areas (configurable)
  • Ability to specify a protection owner to allow blinking (Useful for public areas)
  • Height check disallows blinking into a space too short for the player
  • If you blink into a player or mob, you will move directly behind them and face their back. currently compatible with all of Mobs Redo, NSSM, Creeper, and DMobs
  • Swoosh sound included (7 sounds played randomly)
  • Default max blink distance is 20 nodes (configurable)
  • Able to set static cooldown and/or dynamic cooldown (0.1s for each block travelled + the static cooldown)
[*] Use place marker button twice in the same place to blink there

Configuration
-------------

Open the tab Settings -> All Settings -> Mods -> blink to get a list of all
possible settings.

For server owners: Check settingtypes.txt and modify your `minetest.conf`
according to the wanted setting changes.


TODO
--------
  • Localize
  • Maybe switch to first weapon in hotbar when blinking behind players or mobs
  • Clean up and document code

License
-------

Code is licensed under the GNU LGPL version 3 or later.
See LICENSE.txt and http://www.gnu.org/licenses/lgpl-3.0.txt

Graphics were created by my wife and I and are licensed under CC-BY-SA 4.0
See textures/LICENSE.txt and https://creativecommons.org/licenses/by ... alcode.txt

Sounds were downloaded from https://www.fesliyanstudios.com/ and explicit permissions was obtained to include with Blink
See sounds/credits.txt and sounds/permission.txt and https://www.fesliyanstudios.com/sound-effects-policy

Links
-------
Source Code
https://github.com/0siribix/blink

Releases
https://github.com/0siribix/blink/releases
Attachments
screenshot_2.png
screenshot_2.png (602.76 KiB) Viewed 618 times
screenshot_1.png
screenshot_1.png (806.13 KiB) Viewed 618 times
Last edited by 0siribix on Fri Oct 01, 2021 22:24, edited 5 times in total.

0siribix
Member
Posts: 123
Joined: Tue Nov 17, 2020 20:54
GitHub: 0siribix
In-game: 0siribix

Re: [Mod] Blink (Short Distance Teleport)

by 0siribix » Post

Updated. This is ready to deploy on multiplayer servers. I am still open to suggestions of any type as well as submissions for artwork

0siribix
Member
Posts: 123
Joined: Tue Nov 17, 2020 20:54
GitHub: 0siribix
In-game: 0siribix

Re: [Mod] Blink (Short Distance Teleport) [blink]

by 0siribix » Post

Updated again. The previous release has been used on Avalon (Multicraft server) for more than a month and seems to work well with no noticeable lag. The latest update added a limited use rune which is easier to craft. Also added grinder recipe (Tubelib Addons 1). Blink does not depend on any games or mods so it should work with any (tested with Mineclone2 and Dev Test).

0siribix
Member
Posts: 123
Joined: Tue Nov 17, 2020 20:54
GitHub: 0siribix
In-game: 0siribix

Re: [Mod] Blink (Short Distance Teleport) [blink]

by 0siribix » Post

Updated license files

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 11 guests