Nothing happens at all. This time there are no errors. I even made sure Particles was on. It's not generating any files either. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
lol, the effect's not what I expected I'll try to fix it. And yes, it works. I'll also stop people from picking them up, and make them de-spawn.
Ok, just re-download. Everything works now. I'll go to sleep, if you need me to add anything else, just say so. Also: I don't like rip-off's, and I'm sure most people also don't, so try to add something special to your server, to make it a bit unique.
Ok It's randomly working. . . I placed red wool. I found the problem. It's not compatible with Skript. I disabled Skript and it worked. Enabled it and it stopped. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Players click netherrack/lapis to obtain the flag. (this give them a diamond) and turns the "flag" into a red/brown mushroom block. Skript doesn't handle wool data values well, therefore I used Netherrack and Lapis. May be the reason.
If it is possible could you make it work for every wool color please? I could use this as well for my server but would like to have more then just the red and blue color. Thanks if you could make it and else still thanks for reading
Entities can ride Entities. Also would cost you less resources if it works. Though i might be buggy of where the item gets to float, that might be a problem
Reptar_ Code:java /** The ID**/private UUID id; /** The command**/if(label.equals("flag")){ if(id == null) { Item i = p.getWorld().dropItem(p.getLocation(), new ItemStack(Material.DIAMOND_SWORD, 1)); id = i.getUniqueId(); p.setPassenger(i); } else { p.getPassenger().remove(); id = null; }} /** The events**/ @EventHandlerpublic void onPickup(PlayerPickupItemEvent event){ UUID tid = event.getItem().getUniqueId(); if(tid.equals(id)) { event.setCancelled(true); }} @EventHandlerpublic void onItemDespawn(ItemDespawnEvent event){ UUID tid = event.getEntity().getUniqueId(); if(tid.equals(id)) { event.setCancelled(true); }} The code. It works perfectly fine :3 (though you might have problems seeing it when you are in a building). The effect: Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler