GithubHelp home page GithubHelp logo

boiscljo / sba Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pronze/sba

21.0 21.0 15.0 3.62 MB

An addon to ScreamingSandals bedwars plugin to hypixelify it!

License: GNU General Public License v3.0

Java 100.00%

sba's People

Contributors

boiscljo avatar cjykk avatar justahuman-xd avatar misat11 avatar oolunar avatar pronze avatar qualk avatar snowmanftw avatar zlataovce avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sba's Issues

BUG: message + minertrap + skip

The blindtrap and minertrap have the same effect, cecity III for 3 seconds, I think the trap has just been copied and pasted but the mining fatigue effect has not been implemented for the minertrap, how do I correct this?

Nowhere in the configuration did I find the possibility of changing the trap effect.
image

Another thing: the minertrap can be bought indefinitely, but it will only be activated once, so if someone spams to buy it, they'll lose their diamonds and the trap will only work once.

With the other traps, they are limited to 1 purchase, but the minertrap is not.
Capture d’écran 2023-09-12 à 13 23 54

This is the message displayed to the player who triggers the minertrap.

It's the same as for the blindtrap trap
image

And the team name is wrong, it's our own team's name when it should be the opposing team's name.

Crash when spawning store NPC

Screenshot 2024-01-21 201751

When I add the Store NPC, my server crashes and I cannot rejoin without resetting the server. Nothing appears in my server log relating to this bug.

SBA Version: Most Recent
ScreamingBedwars: 0.20.0
Minecraft Version: 1.20.4

Cooldown Tier and interval bug

Hey, help please {BUG}

Another problem is that when the spawner is cluttered, the timer behind it continues, so when the spawner is no longer cluttered, the diamond will spawner without taking the visual timer into account, and it will spawner at any time.

In fact, the diamond will always appear with the correct interval, but without taking into account the visual timer, but rather the one that has continued to count down behind it.

This problem also applies to emeralds,

Other :
ScreamingSandals/BedWars#507
ScreamingSandals/BedWars#508

Rec complet :
Number 1 : https://streamable.com/ih5i2z
Number 2 : https://streamable.com/acujlm

For the moment I'm just trying with spigot in 1.19.4 because with paper 1.19.4 I'm getting a lot of errors in the console that mean I can't start the server, I'm not sure why but it doesn't cost me anything to test.

So I tested by creating an arena with the basic documentation and without changing anything in SBA or BW and there's the Tier timer error which isn't respected, so I don't think it's due to the configuration because I haven't changed anything and it's a new server in 1.19.4. So the Tier cooldown resets visually when the spawner is no longer cluttered, but behind the cooldown is still engaged and so the item will spawn out of sync.

The same applies to clutter, which is not always respected.

But I think the limits of spawner full are not respected because of the background recharge time, which continues to work despite spawner full.

Warning in Console about Translation Keys

[18:40:18 ERROR]: [SBA] Missing translation key for [games-inventory, gui, squad-prefix]
[18:40:18 ERROR]: [SBA] Missing translation key for [games-inventory, gui, triple-prefix]
[18:54:15 INFO]: SBA version 1.5.7.2-h9
[18:54:15 INFO]: Authors: pronze and boiscljo
[19:15:17 INFO]: Checking version, please wait...
[19:15:18 INFO]: This server is running Paper version git-Paper-307 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 476ef25)
You are running the latest version
Previous version: git-Paper-304 (MC: 1.19.2)

Import quickbuy from hypixel

its something really simple yet really effective. You can just click on a certain item and your quickbuy from hypixel gets imported.

Another great thing would be to fix the Price: 1 of iron in red glass quickbuy item and make the whole page customizable, just like the hypixel shop.

shops arent reloaded

i put custom values in my upgrades shop
i restarted the server ensured everything was saved but the shop prices just wont update

name-provider bug

When I want to put the team color with the pseudo, it only displays the pseudo but not the color.

image

image

Chat Level prefix conflicting with LuckPerms.

I have luckperms installed alongside SBA, however, even after disabling the functions in SBA's config, SBA still overrides LuckPerms when it comes to display names. Anyway to fix this?

No error just went down (Store create)

When i want to make an shop npc, my server just go down... No errors only my server is going down... Please help me.
Using Screaming Bedwars + SBA on Java 11 on 1.19.4 Paper

The last message i am getting is, that the NPC is created. But then the server is down...

Scoreboards keep resetting

Whenever I play the game and stop the server after inactivity. But when I start it back my stats and leaderboard are resetting. Is there anyway to retain the data. The server is running on Paper 1.20.4 Java 17
171326863295962109812023685693
Also is there any way to customise the scoreboard and tablets pls do let me know. Thanks

Could not pass event BedwarsPlayerDeathMessageSendEvent

Hi,

i have a little issue with your plugin. When im in a bedwars match and one player dies then the game ends instantly even if the bed is not destroyed. When that happens i get this error in the console

[19:58:36 ERROR]: Could not pass event BedwarsPlayerDeathMessageSendEvent to SBA v1.5.7.2-h8 java.lang.IllegalArgumentException: Illegal ending tag </gray> (position 166): No tag is opened at sba.sl.minitag.MiniTagParser.parse(MiniTagParser.java:127) ~[?:?] at sba.sl.spectator.mini.MiniMessageParser.parse(MiniMessageParser.java:64) ~[?:?] at sba.sl.spectator.Component.fromMiniMessage(Component.java:79) ~[?:?] at io.github.pronze.sba.lang.Message.toMiniMessage(Message.java:86) ~[?:?] at io.github.pronze.sba.lang.Message.toString(Message.java:184) ~[?:?] at io.github.pronze.sba.listener.BedwarsCustomMessageModifierListener.onBedWarsPlayerDeathEvent(BedwarsCustomMessageModifierListener.java:107) ~[?:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor764.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-794] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-794] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-794] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-794] at org.screamingsandals.bedwars.listener.PlayerListener.onPlayerDeath(PlayerListener.java:115) ~[?:?] at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor626.execute(Unknown Source) ~[?:?] at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-794] at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-794] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-794] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624) ~[patched_1.16.5.jar:git-Paper-794] at org.bukkit.craftbukkit.v1_16_R3.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:876) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityPlayer.die(EntityPlayer.java:818) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityLiving.damageEntity(EntityLiving.java:1362) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityHuman.damageEntity(EntityHuman.java:870) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityPlayer.damageEntity(EntityPlayer.java:982) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityLiving.an(EntityLiving.java:2110) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.Entity.doVoidDamage(Entity.java:697) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.Entity.performVoidDamage(Entity.java:692) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.Entity.entityBaseTick(Entity.java:593) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityLiving.entityBaseTick(EntityLiving.java:360) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.Entity.tick(Entity.java:530) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityLiving.tick(EntityLiving.java:2543) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityHuman.tick(EntityHuman.java:258) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.EntityPlayer.playerTick(EntityPlayer.java:658) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.PlayerConnection.tick(PlayerConnection.java:325) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.NetworkManager.a(NetworkManager.java:408) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.ServerConnection.c(ServerConnection.java:168) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1520) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:436) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1347) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1135) ~[patched_1.16.5.jar:git-Paper-794] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Paper-794] at java.lang.Thread.run(Thread.java:831) [?:?]

i dont really know if the game ends because of that issue but i wanna get this fixed anyways..

Can you please help me here?

Unrealized stuff and bugs

Using this plugin for about 2 months now, thanks for it! Some problems have appeared during this time:

  • The plugin gives the option to auto swap swords when buying a better quality sword, but doesn't do it with pickaxe and axe. It should, as it seems to me.
  • The ability to disable downgrading of pickaxes/axes is not implemented. As well as the ability to configure all types of pickaxes/axes that will be given to a player when downgrading pickaxes/axes (personally, I do not need a gold pickaxe, which is hard-coded in the plugin code). As far as I understand, the armor material for downgrading can't be customized either
  • It would also be nice to block the ability to move sword/tools in slots (to be customizable in the config file), not sure if it's already implemented. And it should be customizable in which slot to put this items after respawn etc (now it's hard-codedd like pickaxe is slot 7, axe is slot 8...)
  • When I translate the internal NPC strings (games-inventory) and then do /sba generate, my string translation resets.
  • I'm not quite sure I'm getting this right, but it seems like the values for fireballs and TNT are synchronized? In terms of knockback and such. Seems to me they should be set up separately. And it's pretty hard to configure fireballs for me, maybe it would be much better if you comment some parameters in config etc, because it doesn't look like hypixel's
  • The implementation of spectating mode through adventure mode is very wrong imo. Since the plugin gives an invisibility effect, players can see the particles. In addition, the players see the items that are in the hands of the spectators. Plus, spectators in adventure mode can obscure arrows and other things, or what? At the same time, I don't like spectators in direct vanilla spectator mode, so it's kind of sad. Also, in spectator mode I can teleport to players who are at another world (out of current arena) xd.
  • Also I'm not sure if this is to you or the developer of the bedwars plugin itself, but the villagers don't exist in spectator mode (to spectators of arena).
  • I'm not sure why and I'm not sure if I can give some additional info, but for some reason all floating spawners in arenas just break after first match on server. They show "Spawner is full", but spawners still generate items, idk why. If I enable spawner holograms in SBW plugin, it shows spawner generation timer just well (in SBW holo, not SBA), but then there's an error when spectator enters arena (i guess this is why I shouldn't enable both holo settings at two plugin at the same time xd). Maybe I did something wrong in the config idk
  • When ugrading internal plugin's files (after plugin's update), it deletes my changes in languages files.

All of this was in SBW 0.2.29 and SBA 1.5.9 and all of this remained in 0.2.30 & 1.5.11.

Paper 1.20.1.
Bukkit Plugins: Authy, BedWars, Citizens, DecentHolograms, Essentials, FastAsyncWorldEdit, LuckPerms, MdMotd, Multiverse-Core, NoOffhand, OldCombatMechanics, PlaceholderAPI, ProtocolLib, RegenManager, SBA, SkinsRestorer, spark, SuperLobby, TabList, Vault, WhitelistByTime, YamipaPlugin
SBA config: https://pastebin.com/hye06mJz
SBW config: https://pastebin.com/TMk6ffuj

GamesInv NPC

can anyone help my with this : [18:50:59 ERROR]: [SBA] Unable to retreive skin of Arokat: NULL

Generator upgrades and PAPI expansion for Bungee

Hi there,

First of all, the default generator upgrades (diamond/emerald) contain a - in the scoreboard and spaces will cause the scoreboard to not be displayed at all. However, Diamond-I, Emerald-II, etc. look ugly. Is there any way to have a space instead?

Secondly, it would be really useful if there was a PlaceholderAPI expansion for BungeeCord servers. For example, let's say that there's 2 BedWars servers and each server has a single arena running. We would want our players, from the lobby, to see if there's a game running on the servers and other game statistics without having to join where the arena is. Not sure if that's possible though, maybe could be saved to a MySQL database?

My lobby scoreboards keep resetting

SO I did /sba setlobby and then joined a games. after the game was completed the lobby scoreboard and tablist were missing.
So i had to do /sba setlobby again. But when i join the games it again resets it back. So i have to keep spamming /sba setlobby everytime a game has been completed. Is there a fix for this?

Im using 1.20.4 and Atenros

permissions

can you like tell about permissions? i mean i can find them ANYWHERE and on luckyperms too so if its not hard, list perms for sba

Forge not working properly.

You can upgrade forge infinitely, you can't put a limit on it... it takes the items required and says that it upgrades, but i can't tell a difference.

1.20.2 not working. Most likely due to plugin version.

Problem

When using the SBA hypixelfy plugin an error occurs. None of my players can join the server until this is fixed. The error is displayed the console as 01.10 02:31:49 [Server] [WARN] java.lang.NullPointerException: Failed to find player channel!. Now this may seem like nothing much but it really is. When the players join they see a screen that says "Failed to inject! Please rejoin!".

Throwing out from server when game start

Plugin version SBW 0.2.3.1
SBA-1.5.12.3
Client is 1.19.4
server 1.17.1
Also use viaversion , viarewind at bungeecord.
I have already set uped arena , but when found your addon go to the wiki remove all traders from maps by editing file , then set arena at editor mode and delete all spawners. Then add 4 shoppers for test and try start game with /bw cheat startempty game
I checked logs of my server but is nothing... But fortunately mine is minecraft launched with debug console , when go checking whats happening i found this logs before throwout

>> [00:45:11] [Render thread/INFO]: [System] [CHAT] Руины Выбрана команда: Бирюзовые [1/3]
>> [00:45:13] [Render thread/INFO]: [System] [CHAT] [BW] Игра начнётся с пустыми командами. Разрушьте их главные блоки для победы!
>> [00:45:13] [Render thread/INFO]: [System] [CHAT] ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
>> [00:45:13] [Render thread/INFO]: [System] [CHAT]                              Bed Wars
>> [00:45:13] [Render thread/INFO]: [System] [CHAT] 
>> [00:45:13] [Render thread/INFO]: [System] [CHAT]     Защищай свою кровать и уничтожай другие.
>> [00:45:13] [Render thread/INFO]: [System] [CHAT]      Прокачивай себя и свою команду собирая
>> [00:45:13] [Render thread/INFO]: [System] [CHAT]    Железо, Золото, Изумруды и Алмазы с генераторов
>> [00:45:13] [Render thread/INFO]: [System] [CHAT] 
>> [00:45:13] [Render thread/INFO]: [System] [CHAT] ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
>> [00:45:13] [Render thread/INFO]: [System] [CHAT] 
>> [00:45:13] [Render thread/WARN]: Received packet for unknown team [NPC] fe15a63416: team action: REMOVE, player action: null
>> [00:45:13] [Render thread/WARN]: Received packet for unknown team [NPC] 59f3aaf2f5: team action: REMOVE, player action: null
>> [00:45:13] [Render thread/WARN]: Received packet for unknown team [NPC] 07806dffc9: team action: REMOVE, player action: null
>> [00:45:13] [Render thread/WARN]: Received packet for unknown team [NPC] fecab7c386: team action: REMOVE, player action: null
>> [00:45:13] [Render thread/INFO]: [System] [CHAT] The server you were previously on went down, you have been connected to a fallback server
>> [00:45:13] [Render thread/INFO]: Reloading pipeline on dimension change: NamespacedId{namespace='minecraft', name='bw_arena1'} => NamespacedId{namespace='minecraft', name='overworld'}
>> [00:45:13] [Render thread/INFO]: Destroying pipeline NamespacedId{namespace='minecraft', name='bw_arena1'}
>> [00:45:13] [Render thread/INFO]: Creating pipeline for dimension NamespacedId{namespace='minecraft', name='overworld'}
>> [00:45:13] [Render thread/INFO]: Stopping worker threads
>> [00:45:13] [Render thread/INFO]: Started 6 worker threads
>> [00:45:13] [Render thread/INFO]: Stopping worker threads
>> [00:45:13] [Render thread/INFO]: Started 6 worker threads
>> [00:45:13] [Render thread/INFO]: Stopping worker threads
>> [00:45:13] [Render thread/INFO]: Started 6 worker threads
>> [00:45:13] [Render thread/INFO]: Reloading pipeline on dimension change: NamespacedId{namespace='minecraft', name='overworld'} => NamespacedId{namespace='minecraft', name='overworld'}
>> [00:45:13] [Render thread/INFO]: Destroying pipeline NamespacedId{namespace='minecraft', name='overworld'}
>> [00:45:13] [Render thread/INFO]: Creating pipeline for dimension NamespacedId{namespace='minecraft', name='overworld'}
>> [00:45:13] [Render thread/INFO]: Stopping worker threads
>> [00:45:13] [Render thread/INFO]: Started 6 worker threads
>> [00:45:13] [Render thread/INFO]: Stopping worker threads
>> [00:45:13] [Render thread/INFO]: Started 6 worker threads
>> [00:45:13] [Render thread/INFO]: Stopping worker threads
>> [00:45:13] [Render thread/INFO]: Started 6 worker threads

Can't update plugin

I did sba upgradeplugin, then restarted. Now i do sba upgrade and it tells me - Cannot do this right now!

Scoreboard

Since I added the TAB plugin now whenever I start a game in bedwars I don't see the socreboard of the teams, how can I fix it?

Import quickbuy from hypixel

its something really simple yet really effective. You can just click on a certain item and your quickbuy from hypixel gets imported.

Tier limits bug

Hi, there,

Another problem, I've set Spawn limits regarding the diamond and emerald spawner depending on the Tier but sometimes it doesn't work, even very often the limit is exceeded and I don't understand why.

For example, in Tier 1, I set 4
Tier 2, I set 6 and Tier 3, I set 8

Sometimes on Tier 2, it'll go Spawn to 8 or 10 or even 12 diamonds.

Can't join games with Npcs

properties:
- name: join
- gameName: speedwaysolo (correct name, works with signs)

What is the problem here

Player in tablist not work

So I watched a video on this plugin and it showed that on the tablist It was supposed to have a letter in the color of the team and the letter of the team they were playing on before the player's name as a prefix, and this works for the chat but for some reason it does not work for the tab for me. I have removed all prefixes and stuff from the luckperms and it still does not work. Any I idea why? because without it is very hard to tell who is on what team.

Timer scoreboard and game bedwars bug

Hi

I have a bug with the game timer, which means that my game ends for no reason when it should last 2 hours in total.

Now the game suddenly ends at any time.

I didn't have this bug when I wasn't using the SBA addon. The game used to last 2 hours

image

Rec complet :
Number 1 : https://streamable.com/ih5i2z
Number 2 : https://streamable.com/acujlm

Even after a complete reinstall of the server in 1.19.4 and a reset to 0 of the SBA and BW configuration, it still bugs, so it's not due to the configuration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.