Pitch and yaw is the direction the entity is looking. So what the code above does is set the entity to look in the same direction as the player --...
Go to File->Project Structure-> and change Project SDK from 11 to 8 (or 7, if you hate lambdas). Intellij is great because it catches a lot of...
JavaPlugin is the class extended by your main class. That comment was not about the runnable, but about fetching an instance of your plugin....
Then look at something like: https://stackoverflow.com/questions/3280353/how-to-import-a-jar-in-eclipse Also, a bit off topic but having used...
@Xp10d3 If it works it works -- but I much prefer using: JavaPlugin.getPlugin(MainClass.class) Instantiating a command class just to have access...
If the NPC name is colored, it won't match ("&5Shop" is not the same as "Shop"). Try: if(ChatColor.stripColor(npc.getName()).equals("Shop"))
@Xp10d3 don't you get notifications when someone replies to your thread?
Use AsyncWorldEdit. It does pretty much exactly what you ask, except it works for all WorldEdit commands.
If you use intellij, you can add it in the artifacts menu (File -> Project Structure -> Artifacts) -- in the Output Layout section, there is a...
1.8?? Still???? https://www.dropbox.com/s/76560kt4n8i70af/TopKills.jar?dl=0 I can't test this, but I'm assuming this will work. This plugin uses...
https://www.dropbox.com/s/4qp0g7b5hdq453u/forcehunger.jar?dl=0 The most common way to disable hunger is to cancel the hunger event. This plugin...
Add a space between removeall and the ": "rp removeall " + p.getName() also why are you checking p.isDead()? The PlyerDeathEvent only fires when...
https://www.dropbox.com/s/zstyb0uhmmkfyig/BasicTeleportation.jar?dl=0 Commands: /tpa, /tpaccept Permissions: teleport.delaybypass (default players...
Where are schematics stored? I've never used them.
Hi - I'm trying to use https://bukkit.org/threads/updater-2-3-easy-safe-and-policy-compliant-auto-updating-for-your-plugins-new.96681/page-8 to...
So create a new File object with the path of the file you want, and use the methods above to create the file.
Adjust the path: public File folder = new File(path-to-file-here); I'm a little hung up on your confusion here, you have everything you need.
https://www.dropbox.com/s/na8ccdt2b4pot3e/PlayerMention.jar?dl=0
BukkitRunnable runnable = new BukkitRunnable() { @Override public void run() { // this function will be called when the runnable is...
If you're checking for whether an event has been cancelled by another plugin, you should put it on a higher priority, as well:...
Separate names with a comma.