I am trying to create a book which have certain effects I mean i have a crate plugin which will randomise but i wanted to know how can I able to make effects run even after the death of the player and how can I make when the player executes any other item of which he can get effects so that the current effect he have will get removed and he gets other effect
#Loop effects
1 messages · Page 1 of 1 (latest)
can you send the error or be clear on whats the problem
So basically in simple words I wanted to make an item which gives me an effect and it will be there if i died and I also need to be when I use any other item having any other effect remove's the effect i already have and I could get the effect of the 2nd one
The first effect should be removed
So what do you want from us?
So i need help in how I can make it so that the effect should be there on death and it should be removed when the other item which has other effect will remove the first effect completely and give the player the second effect
You need to explain this more clearly cuz i have no idea what you want rn
Ok I will explain from start
So basically I am making a book which on right click will open a crate and I can get any item for example:- amethyst shard named saturation effect so there are many of these in the crate which I will get anyone of them randomly and when right clicking those items will give me an effect for example say e1 and then because the book is craftable I can get more effects items which will give me effects so for example if I have an effect saturation I need so that when I die the effect should not be removed from me and I also need help in if I have saturation and I got the other item which haves resistance so when I use the item which gives me resistance will take over from saturation or any effect i have and it removes the saturation and now I will have resistance only
Skript Hub - Documentation
Called when a user clicks on a block, an entity or air with or without an item in their hand.
Please note that rightclick events with an empty hand while not looking at a block are not sent to the server, so there's no way to detect them.
Also note that a leftclick on an entity is an attack and thus not covered by the 'click' event, but the 'dam...
You want the crate to be GUI based or just get a random item?
No I will be creating crate using other plugin
And just open it by right clicking
alr so just the items will be skripted?
Yes
then those three links are all you need