That method doesn't exist for me.
I need to make a lever turn on or off. I do this by using setData((byte) 0x8); to turn it on and setData((byte) ~0x8); to turn it off. The...
I am making a KitPVP plugin and when a player joins it gives them a compass. I want the compass to be shiny as if it were enchanted. How would I...
I did that and now I can do CustomPlayer player = newCustomPlayer(bukkitPlayer) or cast a Bukkit player to Healthy player like CustomPlayer player...
EnitityPlayer Ive been thinking about using a wrapper. I know what they are and how to use them but Im not sure how Id go about making one for this
I cant find their getter
It takes a MinecraftServer, a WorldServer, GameProfile, and PlayerInteractManager
Yep thats what Im trying to do. Now im just having trouble using the constructor of EntityPlayer and figuring out what it takes in. ClassName(){...
I am making a plugin and in the plugin I want to extend the player. I tried extending Player (bukkit) CraftPlayer (Bukkit) and...
you could use player.PreformCommand("Title");
Here is my plugin.yml I already have version added main: com.BigxMac.olsspawn.OlsSpawn name: InfoGUI version: 1.0 author: BigMac description:...
Yes and as I have said the whole thing works when I run it on my server on my computer but when I send it to someone else to run on theirs it...
package com.BigxMac.olsspawn; import java.util.Iterator; import org.bukkit.Bukkit; import org.bukkit.ChatColor; import org.bukkit.Material;...
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) { if ((cmd.getName().equalsIgnoreCase("info")) ||...
2014-07-15 14:25:14 [INFO] [InfoGUI] Enabling InfoGUI v1.0 2014-07-15 14:25:14 [SEVERE] Error occurred while enabling InfoGUI v1.0 (Is it up to...
I made a plugin for a server. It adds the commands /dragon /creeper /tnt etc which play those sounds to all players. The plugin is very simple and...
Could you show me I came here for help not to be criticized because I want to learn EDIT by Moderator: merged posts, please use the edit button...
Can you show me how to do that?
All I know how to do with configs is create them, check if they exhist, and get some data so I need help with this. In my plugin I need to do the...
I was wondering how to check if a player hurt a pig and how to make a non-hostile mob despawn. This is the eventhandler im using public void...
Separate names with a comma.