@NienkGC I really give up of foreach because who needs that ?... Try this: private SubCommand getCommand(String name) { int n; int n2;...
@lgplay You didn´t put main in your Module. try this: package ga.lgplay.ModuleLoader; public class Module { private main pl = null; public...
The parentheses isn´t really necessary, is just a good pratice. The Material.SIGN is working. Thanks for the answering. I solved the problem...
@NienkGC I made a mistake on for(Iterator<SubCommand> sc : localIterator) The Iterator return a SubCommand, i declared like a Iterator again...
1 - I'm importing the sign like a block and im checking if it's really a sign. 2 - Im sure, this is the only plugin on the server. 3- the click...
The structure of your for is wrong, you could use foreach is way simple. Try this private SubCommand getCommand(String name) {...
It is easy, do you have a database with a table related to the player ?
Hi, when i update a sign on a PlayerInterectEvent the content of the sign is erased. Where my code is wrong ? @EventHandler public void...
Solved thanks for helping.
How to remove the numbers after the point in a decimal number? Example: b = 1.15 He would remove the .15 and would be only 1
@Tecno_Wizard Thanks for your help. But that was not what I needed. I'll let the solution here in case someone needs in the future. String...
How to check if a number is greater than 60 and take 60 it until it is smaller?
I think the only way is you create a mod that communicates with a plugin within the server because if you create it opened directly into the...
How can I do so that when the server is started, it will take all the numbers of config? Example: Bans: SrNick: time: 10...
@Gamecube762 Thanks for you help
Separate names with a comma.