What i would do its go to main class and make it public so it would be like this : public Map<Player, Integer> bountys = new HashMap<Player,...
I need to add args there but idk how thats my problem I fixed it thanks for the help guys! EDIT by Moderator: merged posts, please use the edit...
Yea but how lol i have no idea i'm lost
I don't know how to put a location in a method cause it has args so idk
It was a test :P And its all in the same class, Do you got any like example of how i make it a variable that can have args and run in runnable?
This is at the command final World w = Bukkit.getServer().getWorld(this.settings.getData().getString("warps." + args[0] +...
I'm doing them finals but i can't it won't work
It worked thanks but how do i get Args on the cooldown i want that when cooldown its done it tps the player to the location of the warp.
package me.minekam.easywarp.events; import java.util.ArrayList; import java.util.List; import me.minekam.easywarp.Main; import...
The method runTaskTimer(Plugin, long, long) in the type BukkitRunnable is not applicable for the arguments (Warp, int, int)
public class Warping extends JavaPlugin implements Listener { public Main plugin; SettingsManager settings =...
That fix that but now i at the end of "}" i get syntax error,insert "}" to complete methodbody & on cooldown says delete this token I still...
syntax error on token "}",, excepted
Sorry,I get errors at }countdown); task = Bukkit.getScheduler().scheduleSyncDelayedTask(this, new Runnable() {...
Trevor1134 I can't seem to even make the scheduler i get errors on it
Okay so i'm making a warp plugin so when i type /warp [name] it would start a countdown to tp.When the countdown its finished it tp me to the warp...
felixfritz How do i stop people doing /spawn and making the repeadable task non stop? as it can be multiple times
Thanks for replying the cd comes from " inttask1; int cd = 5;" so yeah i would add the player and see how it goes
Okay so i have a cooldown of 5 secs to teleport to spawn.... The commands arnt working thats one problem: public boolean...
t try that without the ! on player.has....
Separate names with a comma.