Chyby v konzole, Rozdielne odmeny GAListener, hladám plugin
Napsal: 19 říj 2013, 22:25
od Pgsa
93.91.250.120:27501
Okej takze mám pár problémov:
1. Nejde mi plugin iPaint
Vždy keď sa skúsim pripjiť do arény zblbne mi invenat a portovanie.
V konzole sa vždy vypíše:
Tu je druhá chyba čo som objavil v koznole:
2. Chcem dať ako odmenu za hlasovanie na Czech-Craft preffix Hrac+ (samozrejme s nejakýmy výhodami) No problémom je že ak zahlasuje VIP hráč tak mu to prepíše VIP na Hráč+, neviete ako tomu zabrániť? Napadlo ma že by každá skupina dostala inú odmenu no však neviem ako sa to dá nastaviť (a či to je vôbec možné)
Config GAListener
3. Nepoznáte funkčný plugin ktorý po stlačení čudlíka spustí príkaz? (akoby ten príkaz vlastne napísal hráč)
EDIT: 22:40 - Pridaná druhá chyba iPaint
Okej takze mám pár problémov:
1. Nejde mi plugin iPaint
Vždy keď sa skúsim pripjiť do arény zblbne mi invenat a portovanie.
V konzole sa vždy vypíše:
Spoiler: zobrazit
Kód: Vybrat vše
> 22:08:09 [INFO] Pgsa issued server command: /pb join
> 22:08:09 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'pb' in plugin iPaint v1.0.6
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:523)
at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:959)
at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:877)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:834)
at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49)
at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_6_R2/inventory/CraftItemStack
at com.xxmicloxx.paintball.SavedInventory.setItem(SavedInventory.java:198)
at com.xxmicloxx.paintball.InventoryManager.getInventoryContent(InventoryManager.java:28)
at com.xxmicloxx.paintball.Paintball.saveItems(Paintball.java:546)
at com.xxmicloxx.paintball.Paintball.addPlayerToArena(Paintball.java:502)
at com.xxmicloxx.paintball.Paintball.onCommand(Paintball.java:156)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_6_R2.inventory.CraftItemStack
at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 21 more
Tu je druhá chyba čo som objavil v koznole:
Spoiler: zobrazit
Kód: Vybrat vše
> 22:12:07 [SEVERE] Could not pass event ProjectileHitEvent to iPaint v1.0.6
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callProjectileHitEvent(CraftEventFactory.java:590)
at net.minecraft.server.v1_6_R3.EntityProjectile.l_(EntityProjectile.java:159)
at net.minecraft.server.v1_6_R3.World.entityJoinedWorld(World.java:1354)
at net.minecraft.server.v1_6_R3.World.playerJoinedWorld(World.java:1335)
at net.minecraft.server.v1_6_R3.World.tickEntities(World.java:1223)
at net.minecraft.server.v1_6_R3.WorldServer.tickEntities(WorldServer.java:480)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:574)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.NullPointerException
at com.xxmicloxx.paintball.gameobjects.RealGrenade.grenadeHit(RealGrenade.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 14 more
2. Chcem dať ako odmenu za hlasovanie na Czech-Craft preffix Hrac+ (samozrejme s nejakýmy výhodami) No problémom je že ak zahlasuje VIP hráč tak mu to prepíše VIP na Hráč+, neviete ako tomu zabrániť? Napadlo ma že by každá skupina dostala inú odmenu no však neviem ako sa to dá nastaviť (a či to je vôbec možné)
Config GAListener
Spoiler: zobrazit
Kód: Vybrat vše
settings:
onlineonly: false
luckyvote: false
broadcastqueue: true
votecommand: true
voteremind: true
services:
default:
broadcast: '{GREEN}{username} {GOLD}hlasoval na {GREEN}Czech-Craft {GOLD}a dostal odmenu {GREEN}3 diamanty, cca 17 lvl, a k tomu {GRAY}Hrac{RED}+ {GREEN}a 2500 Kreditov!'
playermessage: '{GREEN}Vdaka za hlasovanie na {AQUA}Czech-Craft!'
commands:
- '/give {username} 264 3'
- '/give {username} 265 10'
- '/xp give {username} 300'
- '/fly {username} on'
- '/eco give {username} 2500'
- '/pex user {username} group add Hracplus world 7200'
- '/pex user {username} group add Hracplus world_the_end 7200'
- '/pex user {username} group add Hracplus world_nether 7200'
- '/pex user {username} group add Hracplus EventWorld 7200'
luckyvotes:
'10':
broadcast: '{GREEN}{username} {GOLD}was lucky and received an {GREEN}extra $1000!'
playermessage: '{GREEN}You were lucky and received an extra $1000!'
commands:
- /eco give user {username} 1000
'50':
broadcast: '{GREEN}{username} {GOLD}was super lucky and received an {GREEN}extra 100 XP and $1000!'
playermessage: '{GREEN}You were super lucky and received an {GREEN}extra 100 XP and $1000!'
commands:
- /xp give {username} 100
- /eco give {username} 1000
votemessage:
- '{GOLD}-----------------------------------------------------'
- 'Hlasuj na nasom webe za server a ziskaj odmenu :) Web: www.bonicraf.fakaheda.eu'
- '{GOLD}-----------------------------------------------------'
3. Nepoznáte funkčný plugin ktorý po stlačení čudlíka spustí príkaz? (akoby ten príkaz vlastne napísal hráč)
EDIT: 22:40 - Pridaná druhá chyba iPaint