#Can anyone help me with 3 skripts to do with item blocking please :3

1 messages · Page 1 of 1 (latest)

narrow nymph
#

disable protection 4 enchantment, disable the use of ender pearls and disable/clear strength 2 effect/potions

misty kindle
narrow nymph
#

i know nothing about skript

misty kindle
narrow nymph
#

im so lost xd

#

all i know how to do is make someone teleport to a location when stepping on a block

misty kindle
#

Skript seems to be easy to learn as it’s in English not like a code language

narrow nymph
#

yeah

misty kindle
narrow nymph
#

ok

#

how would one disable the use of pearls

#

i had a plugin for it but it only works when said player is flying

#

kinda useless

misty kindle
narrow nymph
#

but then they would be able to use 1

summer umbra
#

you can just cancel throw event

narrow nymph
#

how!

misty kindle
narrow nymph
#

real

summer umbra
#

but considering you know nothing about skript id suggest learning the basics

misty kindle
narrow nymph
#

make the world peacefull

#

no easy

misty kindle
narrow nymph
#

why

#

are you trying to disable cpvp?

misty kindle
#

And I don’t want donut

summer umbra
#

on damage
if explosion
reduce dmg

not an actual code

narrow nymph
#

what about cart!

summer umbra
#

also reading the topic of this channel
im pretty sure i have seen this like at least 3 times already so you could just search the forum and copy paste whatever solutions those people figured out

narrow nymph
#

alright

#

i couldnt find any joe_sad

hexed radish
#

i dont think i've seen any code in this post yet

#

have you tried writing anything?

narrow nymph
#

i dont know how to skript bro

#

thats why im asking

tidal orbit
#

Read tutorials

hexed radish
#

the best way to learn is to practice

narrow nymph
#

im not gunna learn how to skript by tommorow bro can some help

#

please! 🥺

misty kindle
narrow nymph
#

i need the skripts by tommorow

#

how am i supposed to learn it by then

grand moon
#

this stuff u can learn in like 30 mins to an hour

#

if u dont know the basics yet

narrow stump
#

@narrow nymph idk why like no one helped u in the 45 messages besides like 3 messages

#

but this is simple skript, learn with tutorials

#

also

#

skript is basically just english

#

u can read thru it

#

its ez to learn

#

@narrow nymph

Start with Skript and Skbee and review these forums to find what your looking for - https://skripthub.net/docs/

#

You can use the search feature to find what your looking for and make a code with it

#

Its also split into different sections like events, expressions, effects, etc.

hexed radish
lime heron
rotund rain
#

'''
on spawn of entity:
If name of event-entity is ‘Ender Pearl’:
Cancel event
Send ‘EnderPearls are disabled.’
'''

hexed radish
#

Thats wrong, and dont spoon feed

grand moon
#

use ` instea dof ' to make code blocsk

tidal orbit
#

Not even close

pine zephyr
solar plaza
#

you did it?

solar plaza
# tidal orbit Just doesn't work...

@narrow nymph

This is how to disable pearls if you haven't learned how to yet, i suggest you learn skript, it's really easy compared to other languages

options:
  message: "&c&lHey! Ender Pearls are disabled!"

on right click:
  if event item is ender pearl:
    cancel event
    send {@message} to player
solar plaza
tidal orbit
solar plaza
#

xD

hexed radish
solar plaza
pine zephyr
#

So off hand item is detected

solar plaza
#

right bruh, but shoot is better i think

pine zephyr
#

sure ig

#

That might block other stuff

#

From other skripts

solar plaza
hexed radish
solar plaza
#

@narrow nymph this also has a command to enable/disable them, they are disabled by default

options:
  message: "&c&lHey! Ender Pearls are disabled!"

command /enderpearldisabler:
    permission: enderpearl.disabler.use
    trigger:
        if {enderpearls.disabled} is true:
            set {enderpearls.disabled} to false
            send "&aEnder Pearls Enabled"
        else:
            set {enderpearls.disabled} to true
            send "&aEnder Pearls Disabled"

on right click:
    if {enderpearls.disabled} is true:
        if event-item is ender pearl:
            cancel event
            if {ender_pearl_message_cooldown.%player%} is set:
                set {_waited} to difference between {ender_pearl_message_cooldown.%player%} and now
                if {_waited} is less than 2.5 seconds:
                    stop
            send {@message} to player
            set {ender_pearl_message_cooldown.%player%} to now

on load:
  if {enderpearls.disabled} is not set:
    set {enderpearls.disabled} to true
tidal orbit
quaint quest
#
on teleport:
    if teleport cause is ender pearl:
        cancel the event
jaunty cave
quaint quest
#

what if you want to do a chunk loader?

misty kindle
#

Also thats if on teleport not if on throw.

raven sage
#

oh wait it is pre-generating chunks

#

just see some tutorials/ docs etc