@Mindlessmink He hasn't got the plugin as a jar, he has the modules as a folder full of .java files. Mineplex's code has been leaked over and over...
Judging by some of your other posts, I suggest you get more familiar with Java/Bukkit before even attempting this.
What makes this 1000x worse is that he copied Mineplex's code. (Not the fact that Mineplex's code is bad, but that he most likely has no idea how...
@AlvinB You shouldn't cancel a MoveEvent, instead use e.setTo(e.getFrom());
Every time someone runs the command, you are creating a new List<Player>, since the code to create the list is inside the OnCommand section. This...
May I ask what method you are using to crash a player?
You need to put the "/" in front of the message :p Should be: if(!e.getMessage().equalsIgnoreCase("/paintball leave") ||...
Thank you so much!
@Xerox262 Changed it to this: file = new File(plugin.getDataFolder() + File.separator + "Punish" + file.separator + "Mutes" + file.separator +...
OfflinePlayer oTarget = Bukkit.getServer().getPlayer(args[0]); if (!isInt(args[1])){ sender.sendMessage(PunishUtil.daysNumber); return...
In my plugin, every player has their own yml file to store data of them in. The file is named <uuid of player>.yml For one of the commands, I...
New stacktrace: [16:45:38 ERROR]: Could not pass event PlayerLoginEvent to MasCore v1.0.0 org.bukkit.event.EventException at...
See post above for error
Okay, I will try changing it to the things you said. I have done it my current way many times before in this same project and it has worked...
The null is to do with getting the player's ip. I am using this method: public static String getPlayerIp(Player player){ return...
I will try what you suggested. I think it is something to do with the getAdress() on that line.
When a player joins my server, the plugin should onduct a check to see if their ip is banned or if they have used up the max number of accounts...
Could you give an example of this?
I am trying to summon lightning where a player is looking using getTargetBlock with the following code:...
Moved it to main class, getting this error: [20:06:28] [Server thread/WARN]: [MasCore] Task #2 for MasCore v1.0.0 generated an exception...
Separate names with a comma.