package me.umadbros.skyblockfly.commands; import java.util.ArrayList; import java.util.UUID; import org.bukkit.Bukkit; import...
I am creating a player toggle using Metadata. For some reason, once one player sets off a trigger that removes the metadata from themselves, it...
Thanks! I figured this out and remembered I made a post, glad to get reassured I did this right. :P
I don't really know. public ASkyBlockAPI getASkyBlock() { Plugin p = Bukkit.getServer().getPluginManager().getPlugin("ASkyBlockAPI");...
@timtower Nevermind, figured it out! Thank you so much
Editing to remove the code.
I read that already, and it seems to be telling me how to create a NEW object, I'm just trying to reference one with already set values from...
@timtower How does that make sense? It's using "this" referring to the class it's in, how does it pull from "CommandClass"? Is that what the...
This goes inside the Command class or the other class that needs to get the boolean from the command class?
Okay, I'm going to sound extremely unintelligent and uneducated, and quite contradictory to myself, but how do you set up a proper constructor for...
That, I did not. I should have one? And if so, why should I? It's a lot easier to do something and understand it, rather than just do it, which is...
Cooould the great programming master Tim possibly explain that? Something like this is what I was doing; import...
This was more of just an example. I don't want code spoon fed to me, I just want a general idea on how to reference booleans. I can't supply the...
I tried googling this to get a proper example, but I can't find anything useful. I've created a boolean in a command class that is used for...
I read it, and someone said "just add this".. that doesn't explain why. At all. EDIT: Doesn't really work the same, either. That only works for a...
Separate names with a comma.