1. Es freut uns dass du in unser Minecraft Forum gefunden hast. Hier kannst du mit über 130.000 Minecraft Fans über Minecraft diskutieren, Fragen stellen und anderen helfen. In diesem Minecraft Forum kannst du auch nach Teammitgliedern, Administratoren, Moderatoren , Supporter oder Sponsoren suchen. Gerne kannst du im Offtopic Bereich unseres Minecraft Forums auch über nicht Minecraft spezifische Themen reden. Wir hoffen dir gefällt es in unserem Minecraft Forum!

ServerPlugin 1vs1 Problem HILFE DRINGEND

Dieses Thema im Forum "Programmierung" wurde erstellt von bARIS_Bukkit, 18. September 2015.

  1. bARIS_Bukkit
    Offline

    bARIS_Bukkit

    Registriert seit:
    21. Januar 2015
    Beiträge:
    10
    Ich brauche hilfe bei Meinem 1vs1 Plugin,

    Er Klappt alles bis auf das Joinen....
    Code (Text):
    1. This Spigot build supports Minecraft clients both of versions 1.7.x and of 1.8.x
    2. .
    3. *** It is imperative that backups be taken before running this build on your ser
    4. ver! ***
    5. Please report any such issues to http://www.spigotmc.org/, stating your client,
    6. server, and if applicable BungeeCord versions.
    7. *** Any bug reports not running the very latest versions of these softwares will
    8. be ignored ***
    9.  
    10.  
    11. WARNING: This build is more than 2 days old and there are likely updates availab
    12. le!
    13. You will get no support with this build unless you update from http://ci.md-5.ne
    14. t/job/Spigot/
    15. The server will start in 10 seconds!
    16. [21:41:15 INFO]: Starting minecraft server version 1.7.10
    17. [21:41:15 WARN]: To start the server with more ram, launch it as "java -Xmx1024M
    18. -Xms1024M -jar minecraft_server.jar"
    19. [21:41:15 INFO]: Loading properties
    20. [21:41:15 INFO]: Default game type: SURVIVAL
    21. [21:41:15 INFO]: This server is running CraftBukkit version git-Spigot-1642 (MC:
    22. 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
    23. [21:41:15 INFO]: Debug logging is disabled
    24. [21:41:15 INFO]: Server Ping Player Sample Count: 12
    25. [21:41:15 INFO]: Using 4 threads for Netty based IO
    26. [21:41:15 INFO]: Generating keypair
    27. [21:41:15 INFO]: Starting Minecraft server on *:25565
    28. [21:41:15 INFO]: Set PluginClassLoader as parallel capable
    29. [21:41:15 INFO]: [1vs1] Loading 1vs1 v1.0
    30. [21:41:15 INFO]: **** Beginning UUID conversion, this may take A LONG time ****
    31. [21:41:15 INFO]: Preparing level "world"
    32. [21:41:15 INFO]: -------- World Settings For [world] --------
    33. [21:41:15 INFO]: Chunks to Grow per Tick: 650
    34. [21:41:15 INFO]: Clear tick list: false
    35. [21:41:15 INFO]: Experience Merge Radius: 3.0
    36. [21:41:15 INFO]: View Distance: 10
    37. [21:41:15 INFO]: Zombie Aggressive Towards Villager: true
    38. [21:41:15 INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    39. [21:41:15 INFO]: Max Entity Collisions: 8
    40. [21:41:15 INFO]: Arrow Despawn Rate: 1200
    41. [21:41:15 INFO]: Item Merge Radius: 2.5
    42. [21:41:15 INFO]: Item Despawn Rate: 6000
    43. [21:41:15 INFO]: Mob Spawn Range: 4
    44. [21:41:15 INFO]: Anti X-Ray: true
    45. [21:41:15 INFO]:        Engine Mode: 1
    46. [21:41:15 INFO]:        Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74,
    47. 82, 129, 130]
    48. [21:41:15 INFO]:        Replace Blocks: [1, 5]
    49. [21:41:15 INFO]: Alternative Hopper Ticking: false
    50. [21:41:15 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    51. [21:41:15 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    52. [21:41:15 INFO]: Random Lighting Updates: false
    53. [21:41:15 INFO]: Sending up to 5 chunks per packet
    54. [21:41:15 INFO]: Nerfing mobs spawned from spawners: false
    55. [21:41:15 INFO]: Cactus Growth Modifier: 100%
    56. [21:41:15 INFO]: Cane Growth Modifier: 100%
    57. [21:41:15 INFO]: Melon Growth Modifier: 100%
    58. [21:41:15 INFO]: Mushroom Growth Modifier: 100%
    59. [21:41:15 INFO]: Pumpkin Growth Modifier: 100%
    60. [21:41:15 INFO]: Sapling Growth Modifier: 100%
    61. [21:41:15 INFO]: Wheat Growth Modifier: 100%
    62. [21:41:15 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    63.  
    64. [21:41:15 INFO]: Structure Info Saving: true
    65. [21:41:15 INFO]: Max TNT Explosions: 100
    66. [21:41:15 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    67. [21:41:16 INFO]: -------- World Settings For [world_nether] --------
    68. [21:41:16 INFO]: Chunks to Grow per Tick: 650
    69. [21:41:16 INFO]: Clear tick list: false
    70. [21:41:16 INFO]: Experience Merge Radius: 3.0
    71. [21:41:16 INFO]: View Distance: 10
    72. [21:41:16 INFO]: Zombie Aggressive Towards Villager: true
    73. [21:41:16 INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    74. [21:41:16 INFO]: Max Entity Collisions: 8
    75. [21:41:16 INFO]: Arrow Despawn Rate: 1200
    76. [21:41:16 INFO]: Item Merge Radius: 2.5
    77. [21:41:16 INFO]: Item Despawn Rate: 6000
    78. [21:41:16 INFO]: Mob Spawn Range: 4
    79. [21:41:16 INFO]: Anti X-Ray: true
    80. [21:41:16 INFO]:        Engine Mode: 1
    81. [21:41:16 INFO]:        Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74,
    82. 82, 129, 130]
    83. [21:41:16 INFO]:        Replace Blocks: [1, 5]
    84. [21:41:16 INFO]: Alternative Hopper Ticking: false
    85. [21:41:16 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    86. [21:41:16 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    87. [21:41:16 INFO]: Random Lighting Updates: false
    88. [21:41:16 INFO]: Sending up to 5 chunks per packet
    89. [21:41:16 INFO]: Nerfing mobs spawned from spawners: false
    90. [21:41:16 INFO]: Cactus Growth Modifier: 100%
    91. [21:41:16 INFO]: Cane Growth Modifier: 100%
    92. [21:41:16 INFO]: Melon Growth Modifier: 100%
    93. [21:41:16 INFO]: Mushroom Growth Modifier: 100%
    94. [21:41:16 INFO]: Pumpkin Growth Modifier: 100%
    95. [21:41:16 INFO]: Sapling Growth Modifier: 100%
    96. [21:41:16 INFO]: Wheat Growth Modifier: 100%
    97. [21:41:16 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    98.  
    99. [21:41:16 INFO]: Structure Info Saving: true
    100. [21:41:16 INFO]: Max TNT Explosions: 100
    101. [21:41:16 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    102. [21:41:16 INFO]: -------- World Settings For [world_the_end] --------
    103. [21:41:16 INFO]: Chunks to Grow per Tick: 650
    104. [21:41:16 INFO]: Clear tick list: false
    105. [21:41:16 INFO]: Experience Merge Radius: 3.0
    106. [21:41:16 INFO]: View Distance: 10
    107. [21:41:16 INFO]: Zombie Aggressive Towards Villager: true
    108. [21:41:16 INFO]: Custom Map Seeds:  Village: 10387312 Feature: 14357617
    109. [21:41:16 INFO]: Max Entity Collisions: 8
    110. [21:41:16 INFO]: Arrow Despawn Rate: 1200
    111. [21:41:16 INFO]: Item Merge Radius: 2.5
    112. [21:41:16 INFO]: Item Despawn Rate: 6000
    113. [21:41:16 INFO]: Mob Spawn Range: 4
    114. [21:41:16 INFO]: Anti X-Ray: true
    115. [21:41:16 INFO]:        Engine Mode: 1
    116. [21:41:16 INFO]:        Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74,
    117. 82, 129, 130]
    118. [21:41:16 INFO]:        Replace Blocks: [1, 5]
    119. [21:41:16 INFO]: Alternative Hopper Ticking: false
    120. [21:41:16 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
    121. [21:41:16 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
    122. [21:41:16 INFO]: Random Lighting Updates: false
    123. [21:41:16 INFO]: Sending up to 5 chunks per packet
    124. [21:41:16 INFO]: Nerfing mobs spawned from spawners: false
    125. [21:41:16 INFO]: Cactus Growth Modifier: 100%
    126. [21:41:16 INFO]: Cane Growth Modifier: 100%
    127. [21:41:16 INFO]: Melon Growth Modifier: 100%
    128. [21:41:16 INFO]: Mushroom Growth Modifier: 100%
    129. [21:41:16 INFO]: Pumpkin Growth Modifier: 100%
    130. [21:41:16 INFO]: Sapling Growth Modifier: 100%
    131. [21:41:16 INFO]: Wheat Growth Modifier: 100%
    132. [21:41:16 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
    133.  
    134. [21:41:16 INFO]: Structure Info Saving: true
    135. [21:41:16 INFO]: Max TNT Explosions: 100
    136. [21:41:16 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
    137. [21:41:16 INFO]: Preparing start region for level 0 (Seed: 7150718806157980554)
    138. [21:41:17 INFO]: Preparing spawn area: 9%
    139. [21:41:18 INFO]: Preparing spawn area: 14%
    140. [21:41:19 INFO]: Preparing spawn area: 16%
    141. [21:41:20 INFO]: Preparing spawn area: 22%
    142. [21:41:21 INFO]: Preparing spawn area: 34%
    143. [21:41:22 INFO]: Preparing spawn area: 50%
    144. [21:41:23 INFO]: Preparing spawn area: 67%
    145. [21:41:24 INFO]: Preparing spawn area: 78%
    146. [21:41:25 INFO]: Preparing spawn area: 91%
    147. [21:41:25 INFO]: Preparing start region for level 1 (Seed: 7150718806157980554)
    148. [21:41:26 INFO]: Preparing start region for level 2 (Seed: 7150718806157980554)
    149. [21:41:26 INFO]: [1vs1] Enabling 1vs1 v1.0
    150. [21:41:26 INFO]: [1vs1] by EinfachBaris_ wurde aktiviert!
    151. [21:41:26 INFO]: Server permissions file permissions.yml is empty, ignoring it
    152. [21:41:26 INFO]: Done (11,195s)! For help, type "help" or "?"
    153. >1vs1
    154. [21:45:00 WARN]: Unexpected exception while parsing console command "1vs1"
    155. org.bukkit.command.CommandException: Unhandled exception executing command '1vs1
    156. ' in plugin 1vs1 v1.0
    157.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[cra
    158. ftbukkit.jar:git-Spigot-1642]
    159.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:18
    160. 1) ~[craftbukkit.jar:git-Spigot-1642]
    161.         at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchCommand(CraftServe
    162. r.java:767) ~[craftbukkit.jar:git-Spigot-1642]
    163.         at org.bukkit.craftbukkit.v1_7_R4.CraftServer.dispatchServerCommand(Craf
    164. tServer.java:753) [craftbukkit.jar:git-Spigot-1642]
    165.         at net.minecraft.server.v1_7_R4.DedicatedServer.aB(DedicatedServer.java:
    166. 326) [craftbukkit.jar:git-Spigot-1642]
    167.         at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:2
    168. 90) [craftbukkit.jar:git-Spigot-1642]
    169.         at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:5
    170. 84) [craftbukkit.jar:git-Spigot-1642]
    171.         at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java
    172. :490) [craftbukkit.jar:git-Spigot-1642]
    173.         at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:6
    174. 28) [craftbukkit.jar:git-Spigot-1642]
    175. Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R4.command.
    176. ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
    177.         at VSMain.Befehle.onCommand(Befehle.java:33) ~[?:?]
    178.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[cra
    179. ftbukkit.jar:git-Spigot-1642]
    180.         ... 8 more
    181. >
    Wie behebe ich das oder kann mir jemand das per Skype machen?
     
    #1
  2. Werbung
    Online

    Werbung

  3. Victini151
    Online

    Victini151

    Du rufst ein Kommando von der Konsole auf, und prüfst nicht was der CommandSender wirklich ist, bevor du ihn zum Spieler castest.

    Weitere Ratschläge für nachfolgende Hilfegesuche:
    1) Formattiertes Einfügen des Logs (Pastebin z.B.)
    2) Code einfügen
     
    #2
  4. GPSforLEGENDS
    Offline

    GPSforLEGENDS

    Registriert seit:
    21. März 2014
    Beiträge:
    289
    Ort:
    Bürostuhl
    Minecraft:
    GPSforLEGENDS
    Wer noch nicht mal ein Fehler log ordentlich auswerten kann, sollte garnicht erst anfangen zu programmieren...
     
    #3
  5. MrPyro13
    Offline

    MrPyro13

    Registriert seit:
    29. April 2013
    Beiträge:
    826
    Minecraft:
    MrPyro13
    Code (Text):
    1. Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_7_R4.command.
    2. ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
    3. at VSMain.Befehle.onCommand(Befehle.java:33) ~[?:?]
    Erkenne deinen Fehler selbst ;)
     
    #4
  6. zdragun
    Offline

    zdragun

    Registriert seit:
    22. November 2014
    Beiträge:
    6
    Der Fehler wurde behoben ;):cool:
     
    #5