Ok so greet plugin but there are some errors...
1.
> [08:22:27 ERROR]: Could not pass event InventoryCloseEvent to ProSkyWars v1.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [server.jar:git-Spigot-21fe707-e1ebe52]
at org.bukkit.craftbukkit.v1_8_R3.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:852) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1411) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:18) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PacketPlayInCloseWindow.a(PacketPlayInCloseWindow.java:1) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_242]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_242]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:715) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [server.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [server.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_8_R3.block.CraftBlockState cannot be cast to org.bukkit.block.Chest
at com.mineorigin.minigame.listeners.InventoryOpen.onChestOpen(InventoryOpen.java:53) ~[?:?]
at sun.reflect.GeneratedMethodAccessor149.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_242]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_242]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[server.jar:git-Spigot-21fe707-e1ebe52]
... 16 more
2.
It's not an error but you can move still if the plugin tries to teleport you to the coop by jumping and holding W. or standing on a half block so not in the middle...
That were my problems with my plugin can you please help me with them I already sent you a message!
O and for the people that want a chest config just copy and paste this!
#-- Possible Items Structures --
# MATERIAL:AMOUNT:CHANCE
# MATERIAL:AMOUNT:ENCHANTMENT:CHANCE
# MATERIAL:AMOUNT:ENCHANTMENT:CUSTOMNAME:CHANCE
# MATERIAL:AMOUNT:ENCHANTMENT;ENCHANTMENTLEVEL,ENCHANTMENT;ENCHANTMENTLEVEL:CHANCE
# Example: DIAMOND_SWORD:1:DAMAGE_ALL;2,DURABILITY;3:100
# MATERIAL:AMOUNT:ENCHANTMENT;ENCHANTMENTLEVEL,ENCHANTMENT;ENCHANTMENTLEVEL:CUSTOMNAME:CHANCE
# Example: DIAMOND_SWORD:1:DAMAGE_ALL;2,DURABILITY;3:&cUltraSword:100
# For material id use MATERIAL,ID: : :
# Example: WOOL,6:16:100
# For a list of enchantments, visit
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
# For Mobs eggs use the following structure: MATERIAL:AMOUNT:null:Spawn (MOBNAME):CHANCE
#Example: MONTER_EGG:1:null:Spawn Spider:50
#This Config Was Made By BjornV Please Join PixelCraft.Host!!!
types:
default1:
Items:
- 'WOOD:16:60'
- 'WOOD:8:60'
- 'STONE:8:50'
- 'STONE:16:60'
- 'ENCHANTMENT_TABLE:1:20'
- 'BOW:1:ARROW_DAMAGE:5'
- 'BOW:1:ARROW_DAMAGE;2:15'
- 'ARROW:16:40'
- 'ARROW:8:40'
- 'STONE_SWORD:1:DAMAGE_ALL:50'
- 'DIAMOND_SWORD:1:40'
- 'DIAMOND_SWORD:1:DAMAGE_ALL:20'
- 'EGG:8:45'
- 'FISHING_ROD:1:35'
- 'DIAMOND_CHESTPLATE:1:20'
- 'IRON_CHESTPLATE:1:40'
- 'DIAMOND_LEGGINGS:1:20'
- 'IRON_LEGGINGS:1:40'
- 'DIAMOND_BOOTS:1:20'
- 'IRON_BOOTS:1:40'
- 'DIAMOND_HELMET:1:20'
- 'IRON_HELMET:1:40'
- 'DIAMOND_PICKAXE:1:55'
- 'DIAMOND_AXE:1:45'
- 'SNOW_BALL:16:60'
- 'COOKED_BEEF:8:90'
- 'EXP_BOTTLE:32:60'
- 'EXP_BOTTLE:24:45'
- 'EXP_BOTTLE:16:10'
- 'FISHING_ROD:1:15'
- 'WATER_BUCKET:1:40'
- 'LAVA_BUCKET:1:40'
default2:
Items:
- 'COOKED_BEEF:12:20'
- 'GOLDEN_APPLE:2:45'
- 'GOLDEN_APPLE:1:35'
- 'WOOD:32:60'
- 'STONE:45:60'
- 'LOG:64:15'
- 'ARROW:32:40'
- 'ARROW:28:40'
- 'EGG:32:10'
- 'SNOW_BALL:64:55'
- 'BOW:1:ARROW_DAMAGE;3:35'
- 'BOW:1:ARROW_DAMAGE;5:15'
- 'DIAMOND_BOOTS:1:PROTECTION_ENVIRONMENTAL;3:20'
- 'DIAMOND_LEGGINGS:1:PROTECTION_PROJECTILE;3:20'
- 'DIAMOND_CHESTPLATE:1:PROTECTION_PROJECTILE;3:20'
- 'DIAMOND_HELMET:1:PROTECTION_ENVIRONMENTAL;2:20'
- 'DIAMOND_SWORD:1:DAMAGE_ALL:50'
- 'MONSTER_EGG:1:null:Spawn Zombie:20'
- 'MONSTER_EGG:1:null:Spawn Blaze:10'
- 'MONSTER_EGG:1:null:Spawn Skeleton:15'
- 'WATER_BUCKET:1:40'
- 'LAVA_BUCKET:1:40'
- 'FLINT_AND_STEEL:1:25'
op1:
Items:
- 'BOW:1:ARROW_DAMAGE;5:15'
- 'DIAMOND_BOOTS:1:PROTECTION_ENVIRONMENTAL;3:20'
- 'DIAMOND_LEGGINGS:1:PROTECTION_ENVIRONMENTAL;3:20'
- 'DIAMOND_LEGGINGS:1:20'
- 'DIAMOND_CHESTPLATE:1:PROTECTION_ENVIRONMENTAL;3:15'
- 'DIAMOND_HELMET:1:PROTECTION_ENVIRONMENTAL;3:20'
- 'DIAMOND_CHESTPLATE:1:PROTECTION_PROJECTILE;3:30'
- 'MONSTER_EGG:1:null:Spawn Zombie:2'
- 'MONSTER_EGG:1:null:Spawn Blaze:2'
- 'MONSTER_EGG:1:null:Spawn Skeleton:2'
- 'SNOW_BALL:64:55'
- 'DIAMOND_SWORD:1:DAMAGE_ALL;1,FIRE_ASPECT;2:20'
- 'FISHING_ROD:1:KNOCKBACK;2:15'
- 'ENDER_PEARL:3:5'
- 'ENDER_PEARL:1:10'
- 'WATER_BUCKET:1:40'
- 'LAVA_BUCKET:1:40'
- 'FLINT_AND_STEEL:1:25'
- 'ARROW:64:40'
op2:
Items:
- 'DIAMOND_BOOTS:1:PROTECTION_ENVIRONMENTAL;3:20'
- 'DIAMOND_LEGGINGS:1:PROTECTION_ENVIRONMENTAL;3:20'
- 'DIAMOND_LEGGINGS:1:20'
- 'DIAMOND_CHESTPLATE:1:PROTECTION_ENVIRONMENTAL;3:15'
- 'DIAMOND_HELMET:1:PROTECTION_ENVIRONMENTAL;3:20'
- 'DIAMOND_CHESTPLATE:1:PROTECTION_PROJECTILE;3:30'
- 'COMPASS:1:35'
- 'SLIME_BALL:1:KNOCKBACK;10:1'
- 'ENDER_PEARL:3:5'
- 'ENDER_PEARL:1:10'
- 'FISHING_ROD:1:KNOCKBACK;2:15'
- 'MONSTER_EGG:1:null:Spawn Zombie:2'
- 'MONSTER_EGG:1:null:Spawn Blaze:2'
- 'MONSTER_EGG:1:null:Spawn Skeleton:2'
- 'DIAMOND_SWORD:1:DAMAGE_ALL;1,FIRE_ASPECT;2:20'
- 'BOW:1:ARROW_DAMAGE;5:15'
- 'ARROW:64:40'
- 'ENDER_PEARL:3:5'