Spigot [Discontinued] SBA for Screaming Bedwars | [1.9.4 - 1.17] 1.5.5

Extend gameplay for Screaming BedWars users!

  1. ok, I updated the addon and now it works. Thanks
     
  2. And I have another question, how can you make that the glass doesn't break by explosions? Like hypixel.
     
  3. @jd007 in the config.yml in ScreamingBedWars' folder there is a string
    Code (Text):
    destroy-placed-blocks-by-explosion-except: ''
     
  4. I found another bug, if I die in the void at end game, it gives this error

    Code (Text):
    [22:29:25 ERROR]: Could not pass event PlayerRespawnEvent to SBAHypixelify v1.3.5
    org.bukkit.event.EventException: null
            at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1618]
            at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1618]
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1618]
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[patched_1.12.2.jar:git-Paper-1618]
            at net.minecraft.server.v1_12_R1.PlayerList.moveToWorld(PlayerList.java:688) ~[patched_1.12.2.jar:git-Paper-1618]
            at net.minecraft.server.v1_12_R1.PlayerList.moveToWorld(PlayerList.java:616) ~[patched_1.12.2.jar:git-Paper-1618]
            at org.bukkit.craftbukkit.v1_12_R1.entity.CraftPlayer$1.respawn(CraftPlayer.java:1840) ~[patched_1.12.2.jar:git-Paper-1618]
            at org.screamingsandals.bedwars.lib.nms.entity.PlayerUtils$1.run(PlayerUtils.java:21) ~[?:?]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1618]
            at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
            at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1618]
            at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
            at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
            at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
            at java.lang.Thread.run(Unknown Source) [?:1.8.0_261]
    Caused by: java.lang.NullPointerException
            at org.pronze.hypixelify.listener.PlayerListener.onPlayerRespawn(PlayerListener.java:89) ~[?:?]
            at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor367.execute(Unknown Source) ~[?:?]
            at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1618]
            ... 14 more
     
  5. I found another bug:

    Code (Java):
    [ERROR] Could not pass event PlayerDeathEvent to SBAHypixelify v1.3.5

    org.bukkit.event.EventException: null

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:413) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.EntityPlayer.die(EntityPlayer.java:432) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.EntityLiving.damageEntity(EntityLiving.java:956) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.EntityHuman.damageEntity(EntityHuman.java:759) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.EntityPlayer.damageEntity(EntityPlayer.java:586) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.craftbukkit.v1_12_R1.entity.CraftLivingEntity.damage(CraftLivingEntity.java:201) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.craftbukkit.v1_12_R1.entity.CraftLivingEntity.damage(CraftLivingEntity.java:189) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.screamingsandals.bedwars.listener.PlayerListener.onMove(PlayerListener.java:1037) [BedWars-0.2.12.jar:?]

    at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source) ~[?:?]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]

    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:654) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.PacketPlayInFlying.a(SourceFile:126) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_265]

    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_265]

    at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    at java.lang.Thread.run(Thread.java:823) [?:1.8.0_265]

    Caused by: java.lang.NullPointerException

    at org.pronze.hypixelify.utils.ShopUtil.checkifUpgraded(ShopUtil.java:239) ~[?:?]

    at org.pronze.hypixelify.listener.PlayerListener.onPlayerDeath(PlayerListener.java:145) ~[?:?]

    at sun.reflect.GeneratedMethodAccessor1202.invoke(Unknown Source) ~[?:?]

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_265]

    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_265]

    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar:git-Spigot-eb3d921-2b93d83]

    ... 30 more
     
  6. Hi I am trying to add leaping IV to the plugin and I am stuck. Pronze provided me with this to put in the shop config:

    - row: 3
    column: 2
    stack:
    type: POTION
    display-name: "§rPotion of Leaping I"
    meta:
    ==: ItemMeta
    meta-type: POTION
    potion-type: water
    custom-effects:
    - ==: PotionEffect
    effect: 8
    duration: 900
    amplifier: 4
    price: 2 of emerald

    I've tried that and it keeps telling me "Wrong shop.yml configuration!" "Your villagers won't work, check validity of your YAML!"

    I've messed around with it for a couple of hours now and I can't seem to get anywhere.

    This is what I ended up with at the end:
    - row: 3
    column: 2
    stack:
    type: POTION
    display-name: "§rPotion of Jump Boost"
    meta:
    ==: ItemMeta
    meta-type: POTION
    potion-type: leaping
    custom-effects:
    - ==: PotionEffect
    effect: 8
    duration: 900
    amplifier: 4
    price: 1 of emerald
    I'm not sure what I'm doing wrong. Any help would be immensely appreciated. Thank you :)
     
  7. @Janindu
    Try this:
    Code (Text):
    - price: 2 of emerald
      row: 3
      column: 2
      stack:
        type: POTION
        display-name: "§rPotion of Leaping I"
        meta:
          ==: ItemMeta
          meta-type: POTION
          potion-type: water
          custom-effects:
          ==: PotionEffect
          effect: 8
          duration: 900
          amplifier: 4
     
  8. Sorry, I tried it and it keeps giving me the previous error of "Wrong shop.yml configuration!" "Your villagers won't work, check validity of your YAML!". I'm using Notepad++ to edit the files, do you think that could have something to do with it? Thank you so much for your help.
     
  9. Mmh, have you tried to see if removing this part of code, it doesn't give anymore the error? Maybe it can be another thing that causes the error
     
  10. I took the code out and it ran just fine, I'm so confused on what this could be. According to https://www.spigotmc.org/wiki/itemstack-serialization/ the code should work just fine I think.
     
  11. @Janindu this is a addon for ScreamingBedWars, which use SimpleInventories to create gui, you need to read this wiki

    Try to check your shop with SimpleInventories
     
  12. Dose anyone know any of this
    1.How to delete Villagers
    2. how to fix the Broken Teamupgrades
    Teamupgrades is just a regular shop villager
     
  13. 1) What you mean with deleting villager?
    2) Did you do the command to use the upgradeShop.yml for it and you set "use-hypixelify-shop" to true in bwaconfig.yml?
     
  14. 1) The command syntax to remove a store is /bw admin <mapname> store remove
    Do note that you must be in the same place where you've spawned the villager to remove it.

    2) Update your addon to the latest version. Team upgrades store didn't use to work for legacy versions before.
     
  15. Thank you for reporting the error with stack trace. I've fixed it. Will release the update soon.
     
  16. Can you add the also the possibility of disabling regular shop, so the plugin use the screaming bedwars one, but with the upgrade shop still usable?
     
  17. So i want to delete The villagers
     
  18. You can replace the shop.yml with the Screaming BedWars store in the SBAHypixelify folder.
     
  19. Then do what pronze said before
    /be admin <arena> store remove
     
  20. I already tried, but the problem is that in screaming bedwars shop the gui has glass pane around the shop. but in the addon is in a different way, look to these photos

    The first one is with screaming bedwars shop, the second is with the addon shop, I wanted the shop to be as the first image
     

    Attached Files: