Thanks next time i will look at it! But im still looking for the solution and im really doing and trying to fix it!
I have made this but now i never see the scoreboard. public void startTime() { this.countdown = new BukkitRunnable() { public...
This part i already know. But the code is a kit menu. You can make your own kits in the config but there can be 0 armor. But if someone add the id...
How can i do that when you put armor in your kit that you automatic get putted on? public void onEnable() {...
So every second remove and add?
Every second my scoreboard updates but when the for example the time updates this happens: (it happens with all of it) [IMG] Code: public void...
Main: package me.coding.mineadventurepvp; import java.io.File; import java.io.IOException; import org.bukkit.ChatColor; import...
It doens't change anything....
Yeah? The problem is in this: private Main plugin; public Menu(Main main) { this.plugin = main; plugin.getConfig(); }...
package me.coding.mineadventurepvp; import java.util.Arrays; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.DyeColor;...
But if i check it if its a player can i still use it then for my p.sendmessage with the players name?
When i remove this: private Main plugin; public Menu(Main main) { this.plugin = main; plugin.getConfig(); } Thats in the...
No ofcourse not :)! public Menu(Plugin p) { inv = Bukkit.getServer().createInventory(null, 9, "test"); c = createItem(DyeColor.GREEN,...
p.openInventory(inv); More: public void show(Player p) { p.openInventory(inv); }
I have two classes in the second to connect the config to the first: private Main plugin; public Menu(Main main) { this.plugin =...
@EventHandler public void onEntityDamage(EntityDamageByEntityEvent e) { if (e.getDamager() instanceof Snowball) { Snowball s = (Snowball)...
Player damaged = ((Player) e.getEntity()); This line isn't good but i don't kwow what? (i think i see over it :P)
Yeah but how can i let it happen now that this code runs without errors :/.
Player damager = (Player) e.getDamager();
I have an error when i shoot somebody? 03.11 20:47:55 [Server] INFO ... 23 more 03.11 20:47:55 [Server] INFO at...
Separate names with a comma.