JEREMSPEED If you can, yes, because, like some other say, I'm a beguiner at java dev', and I learn it by practice it. Thank you in advance ! :)
How to run one taks for one player ? Because I can't say's "Already looping", that a ambiant region music ;)
Hi again all. After fixing some bug, I try my plugin on a real server, with other people. When a player type a command, a Scheduled task was...
AdamQpzm I know prs was an iterator, I just see it, and i'm trying to work with it. I learn java by doing some stuff, test some fonctions, etc. I...
AdamQpzm I know why this return false, but I don't know how to fix it. When I'm in 2 regions on the same time, pr.getId() will return a list...
Now I use .equals() but this will not solve my problem :(
This is all my Listener code... package com.minecamp.spouties; import java.util.Iterator; import org.bukkit.Bukkit; import...
But I don't know how to do that too
Hi all, for my plugin, I use a Worldguard listener to check if the player was in a region that start with "music_" For that, I use if...
I need some help :( Mhhh, I found a fix. I just remove the @SuppressWarnings("unused") and for some strange reason, that work now. But at this...
Thank bloodless2010, but now, on line 65: loop1 = plugin.getServer().getScheduler().scheduleAsyncRepeatingTask(plugin, new Runnable() { I got...
This time, I can't use that hard method, I need to cancel just one task... This is my code. I need to cancel "loop1" if...
I know this code, but I need a loop, or something else to start it every time the variable change ? Because with the onCommand fonction, bukkit...
Hi, I'm a beguiner at Java, and I make a little music plugin. Basicly, all the plugins action was created because the player enter a specific...
I just fix myself this errors, and I know the error was on line 35, because he returned null, BUT I just don't understand why, and that why I'm...
No one know how to use Worldguard api ? I need help :( Garris0n
Hi all, I want to add to my music plugin a way to launch music when a player walk into a specific region. For that, I think to do like that. -...
But when I try that, eclipse say he doesn't know the variable loop and tell me to create it. So, I used a brutal way to stop that loop, with...
I've already see that, but when I add if (w = 0) { Bukkit.getScheduler().cancelTask(loop); }, it said "loop" was not initialized. if...
Hi, I was a beguiner in the java dev', and I have a little problem now. I made a plugin, with spout, to listen music in game. I've made a loop...
Separate names with a comma.