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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Anyone who has time and can could help me?

Discussion in 'Skript' started by christianmv84, Dec 24, 2017.

Thread Status:
Not open for further replies.
  1. christianmv84

    christianmv84 Active Member

    Joined:
    Jul 20, 2017
    Messages:
    50
    Likes Received:
    0
    I've asked many developers, and they do not know how to do it, that's why this is the reason for this post,...

    I've been looking for documents about generations and I do not see anything

    What I want to do is to put a block is removed after 4 seconds.

    That is already done, the problem is this:

    When you put lava and water, it generates coblestone, and that coblestone is not eliminated, if anyone knows how to do it thanks: D

    Code (Skript):
    1. on place:
    2.     add location of event-block to {skyffablock::%{blocks.%player%}%::%location of event-block%}
    3.     set {skyffablock::%{blocks.%player%}%::%location of event-block%} to true
    4.     wait 4 second
    5.     set event-block to air
     
  2. HackerOTVW

    HackerOTVW Active Member

    Joined:
    Sep 10, 2017
    Messages:
    91
    Likes Received:
    2
    You can use Skellett's CustomEvents:

    ====================================
    Event: "org.bukkit.event.block.BlockFormEvent"
    Syntax: "%You need to ask LimeGlass%"
    ====================================

    Once you have the syntax, you can "set event-block to air" :emoji_slight_smile:
     
  3. btk5h

    Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    154
    Likes Received:
    159
    skript-mirror's custom events are implemented better and should be used instead. (skript-mirror doesn't require a configuration file and has the reflection tools necessary to deal with new events.)

    In this case, using another addon is unnecessary. Skript already has an on form event.
     
  4. Selvati

    Selvati Active Member

    Joined:
    Jun 26, 2017
    Messages:
    190
    Likes Received:
    9
    I have already tried this along with another event similar to it and suggested it to him, both of us could not get it to work, no errors, just broken..
     
  5. Pikachu

    Moderator Supporter Addon Developer

    Joined:
    Jan 25, 2017
    Messages:
    871
    Likes Received:
    139
    Medals:
    IIRC the event being broken isn't a bug on Skript's side
     
  6. Selvati

    Selvati Active Member

    Joined:
    Jun 26, 2017
    Messages:
    190
    Likes Received:
    9
    Sorry, what? IIRC?
    --- Double Post Merged, Dec 25, 2017, Original Post Date: Dec 25, 2017 ---
    Oh whoops! fksdhfkjbwelo I understand now, I love google :emoji_slight_smile:)
     
Thread Status:
Not open for further replies.

Share This Page

Loading...