Also, can you use cumulative purchases for recurring payments? I have three monthly payed ranks and I would like if a user could pass to another...
Request: Give subscribers rewards after a certain time. Let's say I have a VIP rank for 5$ a month, reward the user after 2 months of successful...
Were my explanations adequate to the resolution of this gentleman's problem?
I don't really know how to get when the player consumes the potion... If you ran a command you change the weakness potion effect into a jump...
I dun goof?
It would. I'm not too good at coding so perhaps someone else can guide you..
Oh, sorry, I understand now... Well, you could create a new task which would run each "x" minutes, checking if the player has the weakness potion...
Well then, how do you want to use it? Player move event? Player damage event? Player join event?
It is but you cannot simply post for help copy and paste... I could code the thing for you but you wouldn't learn anything.
[IMG] Learn2Code
Edited your code in the post above :p
Is the fire being placed but not the effect? If so, you only run the task once on server startup, I'd recommend looking at this: Link!
This should remove the potion effect on the server side, afterwards on the client side by adding a 0 second effect and add the real effect.
Post the code please...
Well, when are you calling the method?
Hmm, create a set of "tourists", put the flying players in the set, listen to block break events. If the player is a tourist, cancel the event....
Change the effect type? Effect.(something else)
public void tpPlayerToSetLocation (Player p) { Block b = getServer().getWorld("world").getBlockAt(120, 100, -65); if...
Cancel the event when he walks and when he chats?
Simple method to play an effect: public void playEffect (Location loc) { World world = loc.getWorld();...
Separate names with a comma.