matanrak I was glad to help you at first, but this is a Plugin Development forum, not make-the-code-for-me forum. Please refer to Java tutorials...
RawCode I assume random int is generated properly and doesn't exceed the length of the array, and I assume the list of online players is added to...
matanrak I don't think you can cast World to a Server but if it works, good for you.
matanrak I just copy pasted it from your code. Of course you need to initalize a proper list of players and get the value of it using .get().
Hello everyone, I'm making sort of a "poke stick" for my plugin, and the idea is that when the creeper is poked it will explode. I know I can do...
FabeGabeMC I'm not sure what you're trying to achieve...
KingFaris11 It's a better solution, I didn't notice OP said "override" and not just prevent.
KingFaris11 Most likely. So if this doesn't work, OP could try using world.getBlockAt() in the same loop and change the type.
Someone_Like_You I can't help you atm as I'm not used to NMS, but when I'll have some free time I'll look into it and post my suggestion here.
FabeGabeMC for(int i = 0; i < Core.getPlugin().getConfig().getConfigurationSection("tier1").getValues(false).size(); i++) { Object object =...
mine-care What exactly is wrong? The code is right, probably relative coordinates are wrong but it should work.
mine-care All hail the for loops! if(world.getSpawnLocation().getBlock().getType() == Material.AIR){ Location l = p.getLocation(); int x...
Someone_Like_You I'm not really sure how different Spigot is from Bukkit, but I would check if the zombie .isBaby() or .isVillager() on...
RawCode You asked if it's safe, I told you that it looks safe to me. How are you going to use encoded passwords? My best guess is that you're...
RawCode Well, I'm pretty sure my dad can get hold of my laptop while I'm not home but for some reason I'm still using my antivirus software,...
Separate names with a comma.