Nevermind, after a little bit of testing, I managed to figure out that I had to use player.teleport(plugin.tpthepos); It was tpthepots that was...
In a project that I'm working on, I've recently been reworking a lot of the code, and I've separated all my event-handlers into separate classes....
It seems I have fixed it. I was just following the instructions wrong. PlayerRespawnEventClass.java: public class PlayerRespawnEventClass extends...
I'm very confused as to why its returning Null, all of the other forum posts I looked at said that the issue is caused by the 'this' or the...
I have to extend my main class, or else I get a bunch of errors. I am fairly new to java, and I'm really confused on how to continue >< I really...
In a .java file separate from my main file is using a scheduleSyncDelayedTask and when it triggers in the server, it generates a Caused by:...
Thanks so much! I had searched for a while. Have a great day! Edit: [Set to Solved]
So I have been trying to spawn Minecarts with custom blocks inside of them. I've seen recently that with McEdit, with a Filter that SethBling made....
@EventHandler public void onEntityDamageByEntity(EntityDamageByEntityEvent event) { Entity Damager = event.getDamager(); if(event.getEntity()...
On a PlayerInteractEvent Player p = event.getPlayer(); if(p.getItemInHand().getType()==Material.COOKED_BEEF) {...
Zombie Escape for Minecraft - My First Plugin: Version: v0.2 This is Zombie Escape for Minecraft, a plugin that I have been spending several months...
tyty<3
I guess I can't edit the title. I must just not know how. If anyone can edit the title, something better would be '[Solved]...
Excellent! Thank you so much! <3 Fixed the error right up! Not sure what was causing it, but its gone now. It was coming up like crazy. Thankyou,...
I've been getting a reallllly weird errror in my plugin. 2012-10-09 01:31:29 [SEVERE] Could not pass event EntityDamageByEntityEvent to...
ty, NixillUmbreon from the IRC chat helped me fix it! <3 getServer().createWorld(new WorldCreator("worldBackup")); OnlinePlayers.teleport(new...
I'm also still using 1.2.5, is this something that is fixxed in 1.3.1 and I should just try to recompile with the new one? I don't wana mess...
when I use the word 'test' for the mapname, it generates a completely new world, but it doesn't use the 'test' map that I have in the server...
could you post your solution?
yepyep, best IDE ive ever used
Separate names with a comma.