Your best bet would be to follow that guide in calculating parabolic motion vectors. That's a better method, and I'd definitely do that if I were...
You are technically right, no advertising blocking plugin is perfect, but a learning plugin can get close. Admins can add custom regexes to the...
If you're sure that there isn't an existing plugin that does what you want, I will make this. I've made a build that might work. Needs testing....
Regular Expressions are your friend. There are plenty of great tutorials and basic reference guides for making good regular expressions.
I'd recommend looking at these two articles: https://bukkit.org/threads/tutorial-how-to-calculate-vectors.138849/...
Up at the first code snippet on line 8 I'm calling Radio.isRadio(). The only return true statement in that function is after some IF statements...
It's a regex class that I'm using to parse the lore format. But it doesn't matter here, and I've tested it so I know it's working.
public static boolean isRadio(ItemStack stack) { if (stack.getType() == Material.REDSTONE_LAMP_ON || stack.getType() ==...
Well then I am not sure because A) I know that method checks because I just checked and B) The item this is being called on does in fact have a...
The method Radio.isRadio() Should have checked that the meta and lore are both valid.
Here's my code @EventHandler public void onInteract(PlayerInteractEvent event) { // Check for right click if...
*sigh I know that. But this is for testing purposes. I DO have permission because I can access it with the other plugin on my server, as well as...
[13:47:22] [Server thread/ERROR]: [WizryLand] Could not connect to the database! [13:47:22] [Server thread/WARN]: java.sql.SQLException: Access...
There is no stack trace, I used the log methods to find out which exception was being called. But as a fact I know it's coming from line 17 with...
MySQL MySQL = new MySQL(this, ip, port, name, user, pass); try { c = MySQL.openConnection(); } catch...
Here is the code from my main class. private String getFullURL() { return String.format("jdbc:mysql://%s:%s/%s", ip, port, name); }...
I need to grab the information of a block that a wall sign is attached to when the player right clicks it. How can I do this? I've got a block and...
If I define a command's permission in plugin.yml is there a check for that? Or do I still need to check for it in my command executor?
I want to store an entire PlayerInventory in a in-memory object, such as a HashMap. I want to make a complete clone, so that I can clear the...
I've seen some plugins where they don't define any permissions in the plugin.yml, they just check for them in the code. I wanna know, how much...
Separate names with a comma.