Ok so I made a skript for my minecraft server. I have multiverse core and I want to disable dropping items, picking them up and I want to disable damage in "world" and I don't want this skript to work in "survival". Can anyone help me with this skript becouse It's not working :/ Code (Text): if player is in "world": on drop: cancel event on pickup: cancel event on damage: cancel event
try this : Code (Text): player's world = "world": on drop: cancel event on pickup: cancel event on damage: cancel event
player world check is inside event not outside and for on damage you will need to use victim's world, not player's
this should work: Code (Text): if player is in world "worldname": on drop: cancel event on pickup: cancel event on damage: cancel event
Code (Text): if %player's world% is "world": on drop: cancel event on pickup: cancel event on damage: cancel event dont change %player's world% only change the "world"
Ok so I found a solution to my problem. I've added "player's gamemode is adventure" which works perfectly for me. Thanks to everyone who helped me. Code (Text): on drop: player's gamemode is adventure cancel event on pickup: player's gamemode is adventure cancel event on damage: victim's gamemode is adventure cancel event
please don't help if you have absolutely no idea of how skript works, what you are saying is absolutely incorrect you can do the same with world... example: Code (Text): on drop: player's world is "test" cancel event
It's actually quite easy, all you have to do is check for the players world then cancel the event Code (Text): world = "survival" on block place: if player's world is world: cancel event
world = "survival" is invalid syntax, you can't create your own syntax like this without skript-mirror