Solved PerWorldHome

Discussion in 'Plugin Help/Development/Requests' started by Jackson12, Jun 25, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Jackson12

    Name: PerWorldHome

    What It Does: A player is in the faction world and he does /sethome That sets the home for that world. But when he is in the prison world and does /home it sends him a message saying "Please use /sethome" So he does /sethome in the prison world. When he does /home in the prison world it will take him to his home in the prison world and not the faction world. Also i need players to be able to set more than one home in each world. Thanks to who ever can make this for me.

    Time: I don't need it any certain time, but soon would be nice. :D
     
  2. Offline

    MnMaxon

  3. Offline

    Jackson12

    Yes i have used that one, but players cant set more than one home in a world
     
  4. Offline

    CGA1123

  5. Offline

    Jackson12

    Ok, Thanks i never realized that you could set more than one home.

    Can you update the plugin to 1.8

    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jun 26, 2015
  6. Offline

    CGA1123

  7. Offline

    Jackson12

    Ill give it a try

    @CGA1123 It says "An internal error has occurred while attempting to perform this command"

    When i try /sethome it says "An internal error has occurred while attempting to perform this command"
    Heres the error it gives me in console.
    Error Message: (open)

    26.06 16:24:20 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at me.CGA1123.PerWorldHomes.onCommand(PerWorldHomes.java:319) ~[?:?]
    26.06 16:24:20 [Server] INFO at me.CGA1123.PerWorldHomes.setHome(PerWorldHomes.java:259) ~[?:?]
    26.06 16:24:20 [Server] INFO at me.CGA1123.PerWorldHomes.canCreateNewHome(PerWorldHomes.java:308) ~[?:?]
    26.06 16:24:20 [Server] INFO Caused by: java.lang.NullPointerException
    26.06 16:24:20 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_51]
    26.06 16:24:20 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_51]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO at com.earth2me.essentials.Essentials.onCommand(Essentials.java:402) [Essentials-2.x-SNAPSHOT%20(6).jar:?]
    26.06 16:24:20 [Server] INFO at com.earth2me.essentials.Essentials.onCommandEssentials(Essentials.java:417) [Essentials-2.x-SNAPSHOT%20(6).jar:?]
    26.06 16:24:20 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spigot.jar:git-Spigot-c3c767f-33d5de3]
    26.06 16:24:20 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'sethome' in plugin PerWorldHomes v1.1
    26.06 16:24:20 [Server] ERROR Unhandled exception executing command 'sethome' in plugin PerWorldHomes v1.1


    EDIT by Timtower: merged posts
     
    Last edited by a moderator: Jun 26, 2015
  8. Online

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives
     
  9. Offline

    CGA1123

    @Jackson12
    I forgot to add a null check! Should be fixed now, I haven't be able to test however.
    Download
     
  10. Offline

    Jackson12

    ok, Ill give it a second try

    @CGA1123 I think you forgot to add something in the plugin.yml because when i load the plugin it says Could not find file and failed to load search descriptions.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 12, 2016
  11. Offline

    Boomer

    His plugin.yml file looks fine and correct at a glance in that plugin, and is in the right place
    Is the file that cant be found perhaps be a reference to vault, and not plugin.yml ?? Cause he does have a vault dependancy
     
  12. Offline

    Jackson12

    Ok, i had to restart the server instead of reload, its working now
     
Thread Status:
Not open for further replies.

Share This Page