Hey people! I am making a plugin and I want to direct spawn people after they died. Does someone have any ideas how to do that? Thnx! Greetz Ebbe
other code: public void onRespawning(PlayerRespawnEvent e){ Player p = e.getPlayer(); World world = (World) p.getWorld();...
The yaw en the pitch value's are floats
jthort code: Location loc = p.getLocation(); getConfig().set("spawnpoint.x", loc.getX()); getConfig().set("spawnpoint.y", loc.getY());...
I'm programming something and I putted a float in a config, but if the plugin was reloaded it says: [19:50:29 ERROR]: Could not pass event...
Thanks for all the help, it solved my problem. My code is now: Inventory inv = chest.getInventory(); int i = 0; while(i <= 26){ if(inv.getItem(i)...
Hello Guyz I'm coding something but when i call this void there occurs a error. // Set inventory Inventory inv =...
Why this won't work? @EventHandler public void createSign(SignChangeEvent e){ if(e.getLine(0).equalsIgnoreCase("[arena 1]")){...
Thanks! DxDy
DxDy do you think this work: @EventHandler public void onBreaking(EntityExplodeEvent e){ for(Block b : e.blockList()){...
Hey all I want to protect a block against explosion, but i don't know how to get block type. Please help @EventHandler public void...
Thanks!
Hey all, I'm developing a plugin for a friend. With explosions and other stuff, but my friend wants 2 blocks can't break by a explosion. (A...
Thnx xize ----------------EDIT---------------------- Awh it don't work Code now: package jailguardebbe; import org.bukkit.Material; import...
Already in my code (My main): package jailguardebbe; import org.bukkit.ChatColor; import org.bukkit.entity.Player; import...
Hello Guyz, I was try to open a door but I got nothing. My code: package jailguardebbe; import org.bukkit.Material; import...
Jahb What means /cmas who? And if you want to see the plugin. Ask me and I give you my server IP Does someone knows the code for spawning a NPC...
Finished :D (I have worked hard on this plugin :p) Fully automatic on minutes and seconds :p. Only /cmas santa: It spawns a diamond block instead...
Hello Guyz I want to spawn a Fake player (not online) for christmas. for a Christmas plugin I want to spawn a Santa or a mob with Santa Clothes....
Is it possible to make a zombie with a Santa head
Separate names with a comma.