Nope, doesn't really do what I need it to do, but thanks anyways. I'm just going to go with plan B.
Yes @Asc_Nicholas
I am making a minigame. Essentially, I need to know how I can put the player into fly mode, etc, after they get to health 0. It is critical that...
Thanks much, @teej107
I have created a constructer in my class that I will be making use of in the onEnable method. How would I register the events in the class, if I...
Once again, bump.
Bump, I really do need help, and an answer, asap.
Essentially, I was going of this thread: https://bukkit.org/threads/make-dragon-mount.160448/ - but modifying a bit. The answer is hidden in...
This is my code so far. (p representing Player, e representing Enderdragon) new BukkitRunnable() { @Override public void run() { if...
Essentially, I am getting a random coordinate to teleport a player to. I have the randomization done, but I need to know if they are on the top of...
I am checking to see if they exist in a database, using their UUID as the thing identifying if they are in there already. This didn't really solve...
I would, because if the name is spelled wrong, then you will get a NPE. (in a command, etc) I am checking to see if a player exists in a database.
public static String buildMessage(String[] args, int startat) { String message = ""; for(int i = startat; i < args.length; i++) { String...
"Locked, offline mode is not supported here." - This post has nothing to do with offlinemode, in fact, I am querying an SQL database to check if a...
If I did Bukkit.getOfflinePlayer("notspelledcorrectly").getUniqueID().toString(); What would that return if the player "notspelledcorrectly" is...
That is really inefficient, considering that I can call an event and save server resources.
@EventHandler public void onThunderEvent(ThunderChangeEvent event) { if (event.getWorld().isThundering()) {...
I understand what an object is. I want to see an example of code.
What would the code look like? Also, if I remove all of the statics, it will not let me use them in different classes. I need the load, the save,...
It is at this line: for (String s : BackstabPunish.plugin.getConfig().getConfigurationSection("permbans").getKeys(false)) What static to remove?...
Separate names with a comma.