Java bukkit config file for player homes not allowing teleportation

You might want to check to see if “homesConfig.contains(“Homes.” + user.getName() + )” before you try to use it. I think getting something that the config file doesn’t contain will just return null. Here’s how you could check it if (!homesConfig.contains(“Homes.” + user.getName() + “.world”) || <just copy the first condition but for the different … Read more

.Replace Errors from minecraft

To solve your error, you can do the following: The replace method only accept (charSequence toReplace, charSequence replacement) as parameters. You can easily add your int to be replace on the method, doing the following: int i = 0; String iString = String.valueOf(i); String.valueOf(int i) converts the int i to a String form, making it … Read more