Thank you very much you're a very good guy @KarimAKL
@KarimAKL I think I will let this system for the moment. The plugin runs well, it's just not complete. I have others things to do on the server....
@KarimAKL It runs, Thanks but that's crazy. I really don't understand why this method was not running well. Maybe it's deprecated.
@KarimAKL It returns player is null. I suspected it. That's very strange I tried a lot of ways to get the player but there is nothing to do.
I had supressed warning and I have an error when I perform command /vote oui
The line is task1.cancel() and task2.cancel().
Sorry that's because I do some test and so changes.
that's the good code : https://pastebin.com/raw/63TLKt88
Console : [ATTACH]
So the error is...
@KarimAKL I kill the entity with left-clicking, with my hand.
Complete code : https://pastebin.com/raw/fmcCm790
@KarimAKL I use the variable in the if() section no ?
@KarimAKL Yes but when I test the code the variable musn't be null.
I don't understand. If I kill the armorstand, I'm a player so the variable...
Oh yes sorry, I've forgotten to give it to you.
Yes it returns null
@KarimAKL I tried to do that. I have the error "the variable is not used".
Code : https://pastebin.com/raw/zzf88UBq
I have an error with that code (Player killer = e.getEntity().getKiller(); ) : https://pastebin.com/raw/LYwqu5hG
I already tried to...
@KarimAKL sorry this system is a vote. When an admin performs the command /request day/night/weather, I start the BukkitRunnable which contains...
I would like to execute a specific line into this code : https://pastebin.com/raw/USV8pQu8
At 'if(sql.getOui() + sql.getNon() ==...
Separate names with a comma.