Solved I am Having Issus runing a Command

Discussion in 'Plugin Development' started by Danielh90, Aug 11, 2014.

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


    [19:21:04] [Server thread/INFO]: Starting minecraft server version 1.7.10
    [19:21:04] [Server thread/INFO]: Loading properties
    [19:21:04] [Server thread/INFO]: Default game type: SURVIVAL
    [19:21:04] [Server thread/INFO]: Generating keypair
    [19:21:05] [Server thread/INFO]: Starting Minecraft server on *:25565
    [19:21:07] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
    [19:21:09] [Server thread/INFO]: [Epicraft] Loading Epicraft v1.0
    [19:21:09] [Server thread/INFO]: [SubCraft] Loading SubCraft v2.0
    [19:21:09] [Server thread/INFO]: [Essentials] Loading Essentials v2.13.1
    [19:21:09] [Server thread/INFO]: [ClearChat] Loading ClearChat v1.0
    [19:21:09] [Server thread/INFO]: Preparing level "world"
    [19:21:09] [Server thread/INFO]: Preparing start region for level 0 (Seed: 5775151342591454799)
    [19:21:11] [Server thread/INFO]: Preparing spawn area: 6%
    [19:21:12] [Server thread/INFO]: Preparing spawn area: 40%
    [19:21:12] [Server thread/INFO]: Preparing start region for level 1 (Seed: -4135890054344571055)
    [19:21:12] [Thread-7/INFO]: ----- Bukkit Auto Updater -----
    [19:21:13] [Thread-7/INFO]: It appears that you're running a Development Build, when you've specified in bukkit.yml that you prefer to run Recommended Builds.
    [19:21:13] [Thread-7/INFO]: If you would like to be kept informed about new Development Build releases, it is recommended that you change 'preferred-channel' in your bukkit.yml to 'dev'.
    [19:21:13] [Thread-7/INFO]: With that set, you will be told whenever a new version is available for download, so that you can always keep up to date and secure with the latest fixes.
    [19:21:13] [Thread-7/INFO]: If you would like to disable this warning, simply set 'suggest-channels' to false in bukkit.yml.
    [19:21:13] [Thread-7/INFO]: ----- ------------------- -----
    [19:21:14] [Server thread/INFO]: Preparing spawn area: 47%
    [19:21:15] [Server thread/INFO]: Preparing start region for level 2 (Seed: -4135890054344571055)
    [19:21:16] [Server thread/INFO]: Preparing spawn area: 42%
    [19:21:17] [Server thread/INFO]: [Epicraft] Enabling Epicraft v1.0
    [19:21:17] [Server thread/INFO]: [SubCraft] Enabling SubCraft v2.0
    [19:21:17] [Server thread/INFO]: [Essentials] Enabling Essentials v2.13.1
    [19:21:19] [Server thread/INFO]: Essentials: Using config file enhanced permissions.
    [19:21:19] [Server thread/INFO]: Permissions listed in as player-commands will be given to all users.
    [19:21:19] [Server thread/INFO]: [ClearChat] Enabling ClearChat v1.0
    [19:21:19] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
    [19:21:20] [Server thread/INFO]: Done (10.963s)! For help, type "help" or "?"
    [19:21:23] [Server thread/WARN]: Unexpected exception while parsing console command "epickit"
    org.bukkit.command.CommandException: Unhandled exception executing command 'epickit' in plugin Epicraft v1.0
        at org.bukkit.command.PluginCommand.execute( ~[bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at org.bukkit.command.SimpleCommandMap.dispatch( ~[bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand( ~[bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand( [bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at net.minecraft.server.v1_7_R4.DedicatedServer.aB( [bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at net.minecraft.server.v1_7_R4.DedicatedServer.v( [bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at net.minecraft.server.v1_7_R4.MinecraftServer.u( [bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at [bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        at [bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R4.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
        at com.danielh90.epic.Main.onCommand( ~[?:?]
        at org.bukkit.command.PluginCommand.execute( ~[bukkit.jar:git-Bukkit-1.7.9-R0.2-20-g0b2ed13-b3108jnks]
        ... 8 more
    I need help with this error i i think i am doing everything right its not error in eclipse
  2. Offline


    Danielh90 you cast the poor console to a Player
  3. Offline


    I just Figured that out still learning lol
Thread Status:
Not open for further replies.

Share This Page