That's exactly how I started too, with BetterPHP and exploding arrows :>
I'll see you on Steam sometime berny (˙ ͜ʟ˙)
You mean the original scroller string, "&oThis text should be scrolling"? You can save it as a variable which you pass into the Scroller...
You want to make the Scroller outside of the scheduler, so you only have one instance that you're calling .next() on, otherwise you're making a...
It might be best to move temp banning to its own command, as it could get confusing if the ban reason begins at different arguments for temp and...
You could try casting block.getType().getData() to a DirectionalContainer and using .getFacing() ?
You should do some debugging by printing out the value of each variable to the console to see which, if any, is null.
That could be plugin,...
Look at this post to find what's causing it, we can't do anything without seeing any code (particularly line 63 in RankingHander c:)
You need to keep in mind that methods like .replaceAll() as well as villager.isAdult() return the new String/a boolean respectively, which won't...
Remember that array indexes start at 0 (the command is not the first argument), meaning in /dm help, "help" would be args
Create a new class with the fields you need, and make the most of OOP :)
Upload it to imgur and then enter the image link there :)
Are you aware this thread is over 2 years old? :confused:
Lines 8 and 9: you're checking if it's Action.RIGHT_CLICK_BLOCK, then immediately after if it's Action.LEFT_CLICK_BLOCK - they can't both be true...
What are you trying? It should be a simple:
public void onWorldChange(PlayerChangedWorldEvent event)
Make sure you're casting it to org.bukkit.block.Sign instead of org.bukkit.material.Sign :)
PlayerChangedWorldEvent would be better :>
Eeeeh what are you trying to do? Convert all &[char] to a ColorCode? If so, use
String translatedMessage =...
You can use .toString() on a ChatColor to get §[char] which you can then concatenate :)
I found that checking this seems to get round it :)
if (damagedEntity.getNoDamageTicks() > 10) return;
By the way, there's no need to give...
Is the command defined in your plugin.yml?
Separate names with a comma.