Help with a skript; canceling ender portal travel for a specific player.

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Allan Noyd

Member
Apr 29, 2021
48
0
6
23
Hi, I have been wondering what can you guys come up with. I have been trying to disable enderportal for myself as a character on a RP server I'm on, for the good of lore. All my trials to skript this however failed for me.
On my testing server I have found out that skript's name for enderportal is "ender portal block" if that is of any use.
Any ideas?
 
Try this, don't tested:
Code:
on player portal: # or on portal enter
    if event-world is "world_end": #name of end world
        if player's name is "name of player":
            cancel event
            send "You can't do it :P" to player
 
Try this, don't tested:
Code:
on player portal: # or on portal enter
    if event-world is "world_end": #name of end world
        if player's name is "name of player":
            cancel event
            send "You can't do it :P" to player
Doesn't seem to work, but I had problem with Skript lately anyway. Not even custom commands work so I have no idea what to do :emoji_frowning:
 
Status
Not open for further replies.