1.8.5 spigot no compatible
LadyCailinBot opened this issue ยท 5 comments
CMDHELPER-3078 - Reported by sat
commandhelper no work on 1.8.5.
on load on 1.8.5 spigot on new "serv" with only commandhelper's plugin i have this log :
[17:44:04 INFO]: Starting minecraft server version 1.8.5
[17:44:04 INFO]: Loading properties
[17:44:04 INFO]: Default game type: SURVIVAL
[17:44:04 INFO]: This server is running CraftBukkit version git-Spigot-17fce80-529e4cd (MC: 1.8.5) (Implementing API version 1.8.5-R0.1-SNAPSHOT)
[17:44:04 INFO]: Server Ping Player Sample Count: 12
[17:44:04 INFO]: Using 4 threads for Netty based IO
[17:44:04 INFO]: Debug logging is disabled
[17:44:04 INFO]: Generating keypair
[17:44:04 INFO]: Starting Minecraft server on *:25565
[17:44:04 INFO]: Using epoll channel type
[17:44:05 INFO]: Set PluginClassLoader as parallel capable
[17:44:05 INFO]: [CommandHelper] Loading CommandHelper v3.3.1-SNAPSHOT.2893-
[17:44:05 INFO]: [CommandHelper] Running initial class discovery, this will probably take a few seconds...
[17:44:06 INFO]: Performing one time scan of file:/home/saturnux/Serveur-mc/1.8.5/spigot.jar, this may take a few moments.
[17:44:25 ERROR]: No enum constant com.laytonsmith.abstraction.enums.MCVersion.MC1_8_5 initializing CommandHelper v3.3.1-SNAPSHOT.2893- (Is it up to date?)
java.lang.IllegalArgumentException: No enum constant com.laytonsmith.abstraction.enums.MCVersion.MC1_8_5
at java.lang.Enum.valueOf(Enum.java:236) ~[?:1.7.0_80]
at com.laytonsmith.abstraction.enums.MCVersion.valueOf(MCVersion.java:10) ~[?:?]
at com.laytonsmith.abstraction.bukkit.BukkitMCServer.getMinecraftVersion(BukkitMCServer.java:294) ~[?:?]
at com.laytonsmith.abstraction.enums.MCEntityType$MCVanillaEntityType.existsInCurrent(MCEntityType.java:133) ~[?:?]
at com.laytonsmith.abstraction.enums.bukkit.BukkitMCEntityType.build(BukkitMCEntityType.java:42) ~[?:?]
at com.laytonsmith.commandhelper.CommandHelperPlugin.onLoad(CommandHelperPlugin.java:290) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:296) [spigot.jar:git-Spigot-17fce80-529e4cd]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:199) [spigot.jar:git-Spigot-17fce80-529e4cd]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) [spigot.jar:git-Spigot-17fce80-529e4cd]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_80]
[17:44:25 INFO]: **** Beginning UUID conversion, this may take A LONG time ****
[17:44:25 INFO]: Preparing level "world"
[17:44:25 INFO]: -------- World Settings For [world] --------
[17:44:25 INFO]: Anti X-Ray: true
[17:44:25 INFO]: Engine Mode: 1
[17:44:25 INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[17:44:25 INFO]: Replace Blocks: [1, 5]
[17:44:25 INFO]: Nerfing mobs spawned from spawners: false
[17:44:25 INFO]: Cactus Growth Modifier: 100%
[17:44:25 INFO]: Cane Growth Modifier: 100%
[17:44:25 INFO]: Melon Growth Modifier: 100%
[17:44:25 INFO]: Mushroom Growth Modifier: 100%
[17:44:25 INFO]: Pumpkin Growth Modifier: 100%
[17:44:25 INFO]: Sapling Growth Modifier: 100%
[17:44:25 INFO]: Wheat Growth Modifier: 100%
[17:44:25 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[17:44:25 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[17:44:25 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[17:44:25 INFO]: Random Lighting Updates: false
[17:44:25 INFO]: Structure Info Saving: true
[17:44:25 INFO]: Mob Spawn Range: 4
[17:44:25 INFO]: Sending up to 10 chunks per packet
[17:44:25 INFO]: Max Entity Collisions: 8
[17:44:25 INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[17:44:25 INFO]: Max TNT Explosions: 100
[17:44:25 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[17:44:25 INFO]: View Distance: 10
[17:44:25 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[17:44:25 INFO]: Item Despawn Rate: 6000
[17:44:25 INFO]: Item Merge Radius: 2.5
[17:44:25 INFO]: Arrow Despawn Rate: 1200
[17:44:25 INFO]: Zombie Aggressive Towards Villager: true
[17:44:25 INFO]: Experience Merge Radius: 3.0
[17:44:25 INFO]: Chunks to Grow per Tick: 650
[17:44:25 INFO]: Clear tick list: false
[17:44:25 INFO]: -------- World Settings For [world_nether] --------
[17:44:25 INFO]: Anti X-Ray: true
[17:44:25 INFO]: Engine Mode: 1
[17:44:25 INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[17:44:25 INFO]: Replace Blocks: [1, 5]
[17:44:25 INFO]: Nerfing mobs spawned from spawners: false
[17:44:25 INFO]: Cactus Growth Modifier: 100%
[17:44:25 INFO]: Cane Growth Modifier: 100%
[17:44:25 INFO]: Melon Growth Modifier: 100%
[17:44:25 INFO]: Mushroom Growth Modifier: 100%
[17:44:25 INFO]: Pumpkin Growth Modifier: 100%
[17:44:25 INFO]: Sapling Growth Modifier: 100%
[17:44:25 INFO]: Wheat Growth Modifier: 100%
[17:44:25 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[17:44:25 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[17:44:25 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[17:44:25 INFO]: Random Lighting Updates: false
[17:44:25 INFO]: Structure Info Saving: true
[17:44:25 INFO]: Mob Spawn Range: 4
[17:44:25 INFO]: Sending up to 10 chunks per packet
[17:44:25 INFO]: Max Entity Collisions: 8
[17:44:25 INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[17:44:25 INFO]: Max TNT Explosions: 100
[17:44:25 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[17:44:25 INFO]: View Distance: 10
[17:44:25 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[17:44:25 INFO]: Item Despawn Rate: 6000
[17:44:25 INFO]: Item Merge Radius: 2.5
[17:44:25 INFO]: Arrow Despawn Rate: 1200
[17:44:25 INFO]: Zombie Aggressive Towards Villager: true
[17:44:25 INFO]: Experience Merge Radius: 3.0
[17:44:25 INFO]: Chunks to Grow per Tick: 650
[17:44:25 INFO]: Clear tick list: false
[17:44:25 INFO]: -------- World Settings For [world_the_end] --------
[17:44:25 INFO]: Anti X-Ray: true
[17:44:25 INFO]: Engine Mode: 1
[17:44:25 INFO]: Hidden Blocks: [14, 15, 16, 21, 48, 49, 54, 56, 73, 74, 82, 129, 130]
[17:44:25 INFO]: Replace Blocks: [1, 5]
[17:44:25 INFO]: Nerfing mobs spawned from spawners: false
[17:44:25 INFO]: Cactus Growth Modifier: 100%
[17:44:25 INFO]: Cane Growth Modifier: 100%
[17:44:25 INFO]: Melon Growth Modifier: 100%
[17:44:25 INFO]: Mushroom Growth Modifier: 100%
[17:44:25 INFO]: Pumpkin Growth Modifier: 100%
[17:44:25 INFO]: Sapling Growth Modifier: 100%
[17:44:25 INFO]: Wheat Growth Modifier: 100%
[17:44:25 INFO]: Entity Activation Range: An 32 / Mo 32 / Mi 16
[17:44:25 INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[17:44:25 INFO]: Hopper Transfer: 8 Hopper Check: 8 Hopper Amount: 1
[17:44:25 INFO]: Random Lighting Updates: false
[17:44:25 INFO]: Structure Info Saving: true
[17:44:25 INFO]: Mob Spawn Range: 4
[17:44:25 INFO]: Sending up to 10 chunks per packet
[17:44:25 INFO]: Max Entity Collisions: 8
[17:44:25 INFO]: Custom Map Seeds: Village: 10387312 Feature: 14357617
[17:44:25 INFO]: Max TNT Explosions: 100
[17:44:25 INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[17:44:25 INFO]: View Distance: 10
[17:44:25 INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[17:44:25 INFO]: Item Despawn Rate: 6000
[17:44:25 INFO]: Item Merge Radius: 2.5
[17:44:25 INFO]: Arrow Despawn Rate: 1200
[17:44:25 INFO]: Zombie Aggressive Towards Villager: true
[17:44:25 INFO]: Experience Merge Radius: 3.0
[17:44:25 INFO]: Chunks to Grow per Tick: 650
[17:44:25 INFO]: Clear tick list: false
[17:44:25 INFO]: Preparing start region for level 0 (Seed: 2169622392023274062)
[17:44:26 INFO]: Preparing spawn area: 59%
[17:44:26 INFO]: Preparing start region for level 1 (Seed: 2169622392023274062)
[17:44:27 INFO]: Preparing start region for level 2 (Seed: 2169622392023274062)
[17:44:27 INFO]: [CommandHelper] Enabling CommandHelper v3.3.1-SNAPSHOT.2893-
[17:44:27 ERROR]: Error occurred while enabling CommandHelper v3.3.1-SNAPSHOT.2893- (Is it up to date?)
java.lang.NullPointerException
at com.laytonsmith.commandhelper.CommandHelperPlugin.onEnable(CommandHelperPlugin.java:320) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot.jar:git-Spigot-17fce80-529e4cd]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot.jar:git-Spigot-17fce80-529e4cd]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot.jar:git-Spigot-17fce80-529e4cd]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:356) [spigot.jar:git-Spigot-17fce80-529e4cd]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:316) [spigot.jar:git-Spigot-17fce80-529e4cd]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:418) [spigot.jar:git-Spigot-17fce80-529e4cd]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:382) [spigot.jar:git-Spigot-17fce80-529e4cd]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:337) [spigot.jar:git-Spigot-17fce80-529e4cd]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:257) [spigot.jar:git-Spigot-17fce80-529e4cd]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:528) [spigot.jar:git-Spigot-17fce80-529e4cd]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_80]
[17:44:27 INFO]: Server permissions file permissions.yml is empty, ignoring it
[17:44:27 INFO]: Done (2,301s)! For help, type "help" or "?"
>
Commandhelpers build #2893
spigot build this day.
Comment by PseudoKnight
I had assumed jb-aero's new MCVersion ENUM handled unlisted versions, but I guess not. Maybe it was on his TODO list.
Instead of adding every new version to this ENUM, it should at least dynamically figure out which is the last prior minor (or major) version. New minor versions can be added when there's a need.
Alternatively, we could just not use an ENUM like this. I'm not sure why it's needed instead of just detecting the major / minor versions as the numbers that they are, and in that way we could check versions with more granularity when needed.
Comment by PseudoKnight
All that said, MC1_8_6 should be added until a better solution can be made.