Disable armor stand interact

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

iStopcontact

Member
Feb 18, 2017
113
2
18
23
Hello guys,

I have a quick question and i hope someone can help me with this

How can i disable armor stand interaction so players cant take armour etc from the armor stands
 
you can also define that in a summon command too, so that it's specific to certain armor stands.
/summon armor_stand ~ ~ ~ {DisabledSlots:2039583}
 
code_language.skript:
on click on armor stand:
    cancel the event
I still can remove armour when i use that code
[doublepost=1501708646,1501708612][/doublepost]
you can also define that in a summon command too, so that it's specific to certain armor stands.
/summon armor_stand ~ ~ ~ {DisabledSlots:2039583}
Yhea but we allready placed allot of armourstand its in my main hub we have around like 20 armor stands
 
Alternatively MundoSK has an "on armor stand interact" event that you can try canceling
74f590e2cd.png
 
I still can remove armour when i use that code
[doublepost=1501708646,1501708612][/doublepost]
Yhea but we allready placed allot of armourstand its in my main hub we have around like 20 armor stands
code_language.skript:
command /fix:
    loop all entities:
        if loop-entity is an armor stand:
            add "{DisabledSlots:2039583}" to nbt of loop-entity
 
code_language.skript:
command /fix:
    loop all entities:
        if loop-entity is an armor stand:
            add "{DisabledSlots:2039583}" to nbt of loop-entity
Do i need to add an addon for the "nbt" because it gives me the error:
"nbt" is not a number
[doublepost=1501742852,1501742817][/doublepost]
Alternatively MundoSK has an "on armor stand interact" event that you can try canceling
74f590e2cd.png
I allready tried that, but thanks!

But i donkt know why but when i add MundoSK to my pl folder my other scripts stop working
[doublepost=1501744951][/doublepost]
code_language.skript:
command /fix:
    loop all entities:
        if loop-entity is an armor stand:
            add "{DisabledSlots:2039583}" to nbt of loop-entity
I saw your reaction i needed SKStuff so i downloaded that, now the skript doesnt give me any errors but still can remove the armour
 
Status
Not open for further replies.