VillagerPortal 1.0

Prevent Villagers from teleporting via a nether or end portal.

  1. Rowdyboy02
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    Villager.jpg
    What does this script do:

    • I wrote up this very simple script that disables Villagers, specifically, from using end portals.
    Why did I write it (what use is it):
    • A problem that we encountered on our server was whenever villagers entered an end portal they would be teleported to our spawn. Once at spawn they would close doors that were needed to be left open i.e. doors to our shop.

    Dependencies:
    This script will obviously need the plugin SkriptLang installed which can be downloaded at this link: https://github.com/SkriptLang/Skript/releases

    The Skript-Reflect add-on is also required as portal events related to Entities is not supported in the default SkriptLang which can be downloaded here:
    https://forums.skunity.com/resources/skript-reflect.1146/

    It's my very first script ever written. I thought I would log all my scripts on SpigotMC just in case others might benefit from them too. Please reach out to me if you have any questions, or if you'd like an addition to this script, by either starting a conversation with me here on SpigotMC, or use the discussion tab related to this post.

    You can also find me hanging out on my favorite server: pioneercraft.xyz