1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Script TripwirehookDupeFix 1.0.0

Fix a minecraft bug that makes it possible to duplicate tripwire hooks

  1. MattyHD0
    Supported Minecraft Versions:
    • 1.14
    Any error or bug not paste them on the home page, use private message

    You can donate to me in https://www.paypal.me/MattyHD0 :emoji_slight_smile:

    Requieres:
    - Skript

    ¿How does it work?
    TripwirehookDupeFix has 2 functions
    1) Block all attempts by the player when he tries to place a tripwire hook in a trapdoor
    2) If the player for some magic reason sets the tripwire hook, by pressing the string it detects if the tripwire hook is in a trapdoor, if it is deleted​

    Code (Text):
    1. options:
    2.     prefix: &4&lTDF: &r
    3.  
    4.     cancelPhysics: &ePossible duplicate/place attempt, player(s) nearby: &c%{_atd.dupeList::*}% &e(%{playerNearbyDetection}%&e blocks)
    5.     noNearbyPlayers: &cNone
    6.  
    7.     noPermission: &cYou do not have permissions to execute this command
    8.  
    9.     notifications: true
    10.  
    11.     version: 1.0.0
    12.  
    13. variables:
    14.     playersNearbyDetection = 10
    Code (Text):
    1. /tdf version - tdf.admin
    2. /tdf reload - tdf.reload
    3.  
    4. tdf.notify - Notifies user with permission in question when someone tries to place/duplicate

    Screenshot_3.png

    Without TripwirehookDupeFix
    1.jpg

    With TripwirehookDupeFix
    2.jpg