Title pretty much says it all but... Im trying to create a plugin for my faction server that will allow players to create a portal and use it,...
private void offlinecomparer(Player p, String offline1, Player args) { p.sendMessage("p1 iss offline"); int wins =...
Since i'm not sure what minecarts and boat placement false under and doing it via blockplacement didn't work anyone know a way to completely...
Does bank team work? Try /pex gorup <group> prefix <prefix> ingame or via console see what it does also use the [ code] [ /code] thing so it...
@EventHandler (priority = EventPriority.HIGH) public void onItemMove(InventoryMoveItemEvent e) { System.out.println("Item being...
@EventHandler public void onInventoryClick(InventoryClickEvent e) { if (e.getClick().isShiftClick()) { Inventory clicked =...
unfortunatly this is the only way i know how to make a randomizer for items via a % like i said it works great without the "amount" stuff so no...
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot1.8.new.jar:git-Spigot-db6de12-18fbb24] at...
public void reward(Player p, int rewards, String grade) { ArrayList<String> rew = new ArrayList<>(); ArrayList<String> rews = new...
fine and all but this doesn't helpt at all mainly cause changing the 1 to a 0 will for some reason grab the item instead and the 1 will cause the...
@AlvinB This all aint really helpfull but ill give it 1 more shot.. int amount = 0; for (String line : commands) {...
@AlvinB But how then i mean okay i would do something like String[] words = line.split(" "); but how do i use/store the 10 into a different int...
I'm trying to seperate a line like - '20% cookie 10' Where cookie is the item so getmaterial but the 10 is the amount of said item.. Im just a...
Location loc = p.getLocation(); Block mat = loc.getBlock(); mat.setType(Material.CHEST); Chest chest = (Chest)...
so it doesnt matter for usee in 1.8-1.9?
Off topic question...I see many "md_5 chatcolor" imports are bad for use, but why? what is its purpose of being in there if its "bad"
ow.... X) uhhhh yea... That the only way? In the end what i wanna attempt is to create that crystal thats used to respawn the dragon, which the...
@mcdorli both don't give the option.. private void crystaltest(Player p) { Location loc = p.getLocation(); EnderCrystal...
yea but the issue is @mcdorli i cant get that option on entityspawn event or on a method thatcreates the crystal so... x)
Im stuck on endercrystal spawns... I can spawn in a crystal just fine with 1.9 plugin wise, but those are with a bedrock block underneath, while...
Separate names with a comma.