So I know that you can not extend JavaPlugin more than once. I have been away for awhile and I can not figure out what is causing this error....
now that does suck ok thanks I will test the code later. thanks for all the help.
I have not tested this yet but what would I set my plugin.yml as for the permissions?
I have been looking for a tutorial or even examples on the beat way to do non specific permissions. Such as perm.land.300 with the 300 being a...
The string is test:heal:playersid my test broadcast message shows the players name correctly but it returns a null for getplayer. And as for it...
String[] loc = in1.readLine().split(":"); loc.toString(); //Loc1 is Command //Loc2 is Player if (loc[1].equals("heal")){...
Ok So I have some code now that works good but I am having a problem with my connection staying open and being refused when I attempt to connect...
I have added this code to my plugin for a socket server what I want to do is very simple listen for a command then process it. The problem is it...
Bump
and yet none of this answered my question lol. Only the Local Variables in if block are not visible outside that block.
if (player.haspermission = "user.admin"){ int max = this.getConfig().getInt("User.max1"); }else{ int max = this.getConfig().getInt("User.max2");...
@EventHandler(priority = EventPriority.HIGHEST) public void onSignUse(PlayerInteractEvent event) { if(!(event.getClickedBlock().getState()...
Ok I have created the scoreboard and it displays my info correctly... now I am trying to figure out how to update that information. public...
Without pasting all of the code for both my player interact and signchangeevent I pasted this at the top of both.
I will have them try this. Doing this caused a lot of problems many more errors than there was before. Any other suggestions? EDIT by Moderator:...
Separate names with a comma.