Code Monkey home page Code Monkey logo

bedwars1058's Introduction

Logo

As from November 1st 2021 BedWars1058 by Andrei Dascălu becomes open source under GNU GPL 3.0 license. If you are a developer I would really appreciate if you'd come with pull requests instead of making hundreds of forks. Let's make updates available for everyone!

Discord

Crowdin

Description

BedWars is a mini-game where you have to defend your bed and destroy the others.
Once your bed is destroyed, you cannot respawn.

System requirements

This software runs on Spigot and NMS. Spigot forks without compiled NMS code are not supported. Officially supported servers are spigot and paper. It is required to use Java 11 or newer.

The internal world restore system is based on zipping and unzipping maps which can become heavy if you are still making use of HDDs and you do not have a decent CPU, for a better and faster restore system we recommend using one of the following solutions:

BedWars1058 will hook into it and do everything for you, no additional configuration is needed.

Pre-made setups and community add-ons

You can find a list of pre-made server setups and a lot of community add-ons on BedWars1058 Wiki.

Main features

Flexible | Ways you can run the plugin:
  • SHARED: can run among other mini-games on the same spigot instance. Games will only be accessible via commands.
  • MULTIARENA: will require an entire server instance for hosting the mini-game. It will protect the lobby world and games can be joined via commands, NPCs, signs and GUIs.
  • BUNGEE-LEGACY: the old classic bungee mode where a game means an entire server instance. You'll be added to the game when joining the server. Arena status will be displayed as MOTD.
  • BUNGEE: a brand new scalable bungee mode. It can host multiple arenas on the same server instance, clone and start new arenas when needed so other players can join. The server can be automatically restarted after a certain amount of games played. This will require installing BedWarsProxy on your lobby servers so players can join. And of course, you can run as many servers as you want in bungee mode.
Language | Per player language system:
  • each player can receive messages, holograms, GUIs etc. in their desired language. /bw lang.
  • you can either remove or add new languages.
  • team names, group names, shop contents and a lot more can be translated in your languages.
  • custom titles and subtitles for starting countdown.
Lobby removal | Optional:

The waiting-lobby inside the map can be removed once the game starts.

Arena Groups | Customization:
  • you can group arenas by type (4v4, 50v50). You can name them however you want.
  • groups can have custom scoreboard layouts, team upgrades, start items and custom generator settings.
  • you can join maps by group: /bw join Solo, /bw gui Solo.
Shop | Customization:
  • you may configure quick-buy default items.
  • you may add or remove categories.
  • you may add new shop items or execute commands when bought.
  • permanent items are given after you re-spawn.
  • permanent items can be downgradable which will make you lose one tier per death.
  • items can have weight so you can't buy a weaker item than your current one etc.
  • special items available: BedBug, Dream Defender, Egg Bridge, TNT Jump and Straight Fireball.
  • quick buy feature is available and is synced between nodes as well in bungee mode.
Team Upgrades | Customization:
  • you may have different team upgrades per arena group.
  • you may either add and remove categories and contents.
  • you may make upgrade elements that: enchant items, give potion effects (to team-mates/ base/ enemies when they enter the island), you can edit generator settings and change the dragons amount for the Sudden Death phase.
  • you may add new traps that: disenchant-items (sword, armor, bow), give potion effects (team/ base/ enemies), remove potion effect when an enemy enters your island range and trigger commands.
Ways to join an arena:
  • arena selector, which can be configured. /bw gui will display all arena groups while /bw gui Solo will show games from Solo groups and /bw gui Solo+4v4 will show games from Solo and 4v4.
  • you can also join games via NPCs by installing Citizens.
  • join-signs are also available with status block.
  • commands can be used as well. /bw join random will bring you the most filled arena, while /bw join mapName will send you to the given arena and /bw join groupName+groupName2 will bring you on a map from the given groups.
Arena Settings | Customization:
  • you can set a custom display name used on signs, GUIs etc.
  • option to set the amount of min/ max players and team size.
  • toggle options for: allowing spectators, disabling generators for empty teams, disabling NPCs for empty teams, disabling internal drops management, bed holograms usage.
  • protection range for team-spawn and team NPCs.
  • island radius (for features like triggering traps and map) border radius.
  • instant kill on void based on Y coordinate.
  • you can create as many teams as you want.
  • you can allow map breaking like on a SkyWars game.
  • you can toggle generator split.
  • custom game rules per map.
  • unlimited iron/ gold / emerald (this one can pe activated from upgrades) generators per team.
Vip Kick | Privilege:

Players with bw.vip permission are able to join full arenas in starting phase. This will kick a player without bw.vip permission from that game.

Player Statistics:
  • we do not provide top holograms but you can use ajLeaderboards for that or LeaderHeads using the placeholders we provide.
  • players can see their stats using the internal stats GUI, which can be customized and accessed by /bw stats.
Party System:
  • we provide a basic and functional internal party system to play with your friends on the same team or arena.
  • we also support Parties by AlessioDP and Party and Friends by Simonsator which could be a better solution if you are a large network.
Anti AFK System:

Inactive players for more than 45 seconds can't pick-up items from generators.

Custom Join Items:
  • you can add and remove items that you receive when you join the server (only on multi-arena) and the items you receive when you join a game in starting/ waiting phase or when you join as a spectator.
  • join items can execute commands.
Map Restore System:
  • the default restore adapter from BedWars1058 is based on un-loading the map, un-zipping a backup and loading it again. This may be heavy for servers with cheap hardware. We recommend using gaming processors and a SSD.
  • to improve performance we added support for SlimeWorldManager, which loads maps way faster with less performance impact thanks to its slime format. We really encourage you installing this plugin. No manual conversion is required. BedWars1058 will handle everything. Read how to install it here.
  • you can also implement your own map adapter trough the API.
  • it may seem heavy than other plugins because we don't simply keep track of modified blocks. We need to restore the entire map because server owners can allow players to destroy the maps like on a SkyWars game. Regions like generators, NPCs and team spawns will be protected.
Re-Join | Feature:

If you get disconnected, or if you leave a game (configurable) you can re-join it via command or by joining the server again. This is also available in bungee scalable mode.

TNT Jump | Feature:
  • players are able to do tnt jump with configurable values.
  • players with tnt in their inventory have a red particle on their head (configurable).
Season events:
  • Halloween special. It is enabled automatically based on your machine timezone and will provide cool effects.

Contributing

Any help is appreciated, just give a quick look at CONTRIBUTING.md first!

If you are not a programmer you can help answering people in the Issues section or even translate the plugin in your languae on Crowdin.

Translation progress

Translation Chart

3rd party libraries

Contact

Discord Server

Special Thanks To

Jetbrains supports BedWars1058 with their Open Source Licenses.

bedwars1058's People

Contributors

ajgeiss0702 avatar alijkaz avatar andrei1058 avatar arachnexd avatar coachyt1 avatar danidev819 avatar danirod12 avatar devsolaris avatar dhiepp avatar iiahmedyt avatar iihero4 avatar imyenil avatar itsmemonzu avatar jonathan-up avatar josemarcellio avatar jt122406 avatar kimovoid avatar lsy-291 avatar marcelektro avatar mherzaqaryan avatar nicegamer7 avatar palash-08 avatar pmzherov69 avatar reussy avatar sgdc3 avatar skbeh avatar tomkeuper avatar vluckyyy avatar xxyuri2005xx avatar zoiter7 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bedwars1058's Issues

Get Coins when you kill yourself

Describe the bug
So when you use TNT or Fireball on yourself you get little bit damage and if you die in void you will get coines.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Shop Buy TNT'
  2. Try TNT jumping in Void.
  3. When you are waiting for respawn check chat.
  4. Run '/bal' you will have that coins

Screenshots
This is the image

System (please complete the following information):

  • OS: [Ubuntu 20.04 Form A Host]
  • Server software [Paper]
  • Server Version [1.8.8]
  • Plugin Version [v21.11]

Economy Bugs

Describe the bug
I downloaded the Latest Bedwars1058 version and tested the Economy on the server, but i found some bugs.

To Reproduce
Kill a player and will give you money and send a red message where says: "Vault support missing"
Play for some minutes and will not send Message with the amount of coins.
There is no a placeholder for the Money counter in scoreboard

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

System (please complete the following information):

  • OS: Minecraft host (i think is Linux)
  • Server software: Spigot
  • Server Version 1.8.8
  • Plugin Version 21.11

Additional context
Add any other context about the problem here.

SQLITE ERROR

Describe the bug
this error is spaming on my console

To Reproduce
[07:03:35 WARN]: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked)
[07:03:35 WARN]: at org.sqlite.DB.newSQLException(DB.java:383)
[07:03:35 WARN]: at org.sqlite.DB.newSQLException(DB.java:387)
[07:03:35 WARN]: at org.sqlite.DB.execute(DB.java:339)
[07:03:35 WARN]: at org.sqlite.DB.executeUpdate(DB.java:363)
[07:03:35 WARN]: at org.sqlite.PrepStmt.executeUpdate(PrepStmt.java:85)
[07:03:35 WARN]: at com.andrei1058.bedwars.database.SQLite.setLevelData(SQLite.java:316)
[07:03:35 WARN]: at com.andrei1058.bedwars.levels.internal.PlayerLevel.lambda$updateDatabase$0(PlayerLevel.java:247)
[07:03:35 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
[07:03:35 WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[07:03:35 WARN]: at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
[07:03:35 WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[07:03:35 WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[07:03:35 WARN]: at java.lang.Thread.run(Unknown Source)

System (please complete the following information):

  • OS: Windows Server 2019
  • Server software: Paper Spigot
  • Server Version: 1.8.8
  • Plugin Version 21.11

everything got disabled

hey soooo i test last version of this plugin and all placeholders disabled slimeworld manager didnt worked and soo many things happend and this is what i got from console
[09:39:38 ERROR]: Could not pass event AsyncPlayerPreLoginEvent to BedWars1058 v
21.11
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:310) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:502) [spigot.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:484) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener$LoginHandler.fireEvents(Lo
ginListener.java:248) [spigot.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.LoginListener$2.run(LoginListener.java:1
72) [spigot.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_301]
Caused by: java.lang.NullPointerException
at com.andrei1058.bedwars.stats.StatsListener.onAsyncPreLoginEvent(Stats
Listener.java:52) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0
_301]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0
_301]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
.8.0_301]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_301]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:306) ~[spigot.jar:git-Spigot-db6de12-18fbb24]
... 6 more

only one person can enter the map

After configuring the arena correctly, putting the beds etc, I try to enter the map with a friend and it does not teleport him to the bedwars map lobby and I try to give the / bedwars command
force start and I get an error

  • OS: Windows
  • Server software paper
  • Server Version 1.17.1
  • Plugin Version bedwars-plugin-21.10.1-SNAPSHOT
  • SHARED plugin option

Option to disable lobby protection in Multiarena

Is your feature request related to a problem? Please describe.
In multiarena mode, BedWars1058 adds lobby protection which can be a bit annoying in some cases where you want to control how the lobby protection works.

Describe the solution you'd like
Making the lobby protection optional in config.yml.

Party Bugs

Describe the bug
Party system problems with new groups

To Reproduce
Actually i created a new map group 1v1, when two players in a party joins, arena is max but cooldown is not started and Scoreboard shows Waiting...

System:

  • OS: Windows Server 2019
  • Server software: PaperSpigot
  • Server Version : 1.8.8
  • Plugin Version: 21.11

Animation

no, this suggestion is just to add some features and maybe not very important but it would be nice to add.

My suggestion about this form of Animation for Bedwars is starting from the player entering the game and Done

As :

Players join from the arena: there are particles or titles or boost bars
Players leave the arena: there are particles or titles or boosbars
The game starts: there are particles or 5 second healing effect or something
Dead players: there is a dark effect
Respawn players: there is a healing effect
Players kill other players: there is a dark effect
and other animations

looks like u got it

looks like u got many pull requests and issues, and I hope after finishing it the final version will come in the spigot page.

waiting for it!!

SQL time out issue

Describe the bug
SQL time out issue on MySQL
LOG: https://sourceb.in/S2Pnkxf107

To Reproduce
Steps to reproduce the behavior:

  1. Join the server
  2. Leave from the server.
  3. See an error https://sourceb.in/S2Pnkxf107

Expected behavior
No error on the console and the data should be saved!

Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS: Linux
  • Server software Paper
  • Server Version 1.8.9
  • Plugin Version 21.10.1

Spectator can push the iron golem in the game

Describe the bug
Spectator can push the iron golem in the game

To Reproduce
Steps to reproduce the behavior:

  1. Get killed by a player and then become a spectator
  2. Player in the lobby spectate the game

Expected behavior
Spectator can't push the iron golem

System:

  • OS: Ubuntu 20.04.3 LTS
  • Server software PaperMC
  • Server Version 1.12.2
  • Plugin Version 21.10.1

[bug] Consumable items (and resources) can be used infinitely when in offhand

Description
Items that are consumable (like fireball, milk bucket, spawn egg and even ingots, emeralds and diamonds) can be used infinitely when in offhand. It doesn't happen with bridge egg, however.

Steps to reproduce
Take the item(-s) in offhand, then just use it. Once there is one item left in offhand, It won't be consumed. If it is a resource like gold ingot and it equals to price of an item you plan to buy, you can buy it infinitely as well.

Videos
https://user-images.githubusercontent.com/45323263/140946481-9278a30b-6057-4a16-b171-02d05c019a66.mp4
https://user-images.githubusercontent.com/45323263/140946831-a5585694-700a-4e07-bd8a-34ebad72fb09.mp4

Expected behavior
Well, it should behave like in the primary hand?

System

  • OS: Ubuntu
  • Server software: Paper
  • Server Version 1.12.2
  • Plugin Version 21.11

Rejoin Bug

Multiarena when players coming as a rejoin event they are adventure gamemode
actually its a bug, i saw it on a lot of servers

  • OS: Windows Server 2019
  • Server software: Paper
  • Server Version: 1.8.9
  • Plugin Version 21.7.2

PvP and Crosskill

Describe the bug
On the BedWars1058 plugin the pvp is not fluid and you can crosskill too easily

To Reproduce
Play and see that there is a gap in the moves given by the players

Expected behavior
there is a lag on the moves in PvP, as if the moves were processed then executed on the server, which makes it possible to crosskill too easily

System (please complete the following information):

  • OS: Debian 10
  • Server software Paper
  • Server Version 1.8.9
  • Plugin Version 21.7.2

Add workflows

We need to set up workflows. Basic ones at least, to understand if pr does not cause errors.

Version changer

Hi. When I update, I see in the Scoreboard say Version: 21.11. And I think to suggest one thing for use custom version. Like the version of you bedwars (I know you can change in the lang or with winrar you modify the pl version but like this can are more easy)

Xp reward configuration

Is your feature request related to a problem? Please describe.
So basically we need to disable xp reward if it is set to 0 and maybe add other xp-reward opportunities?!

Describe the solution you'd like
Code

Describe alternatives you've considered
Be lazy

Additional context
Add any other context or screenshots about the feature request here.

Build Issues On Debian

Describe the bug
Basically building (mvn install or mvn clean install) results in an error ( ) that references to 1.17.1 support. I'm using AdoptOpenJDK Java 8 on an aarch64 machine, running Debian 10, if that matters.

To Reproduce
Steps to reproduce the behavior:

  1. Get the source of the plugin on linux/debian.
  2. Try building it with mvn install or mvn clean install using Java 8
  3. It will result in an error.
  4. The error:

Expected behavior
The plugin should build normally.

Screenshots

System (please complete the following information):

  • OS: Debian 10
  • Server software: None
  • Server Version: None
  • Plugin Version: Latest Source

Additional context
Nope

Invis Potion Particles

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
N/A

Describe the solution you'd like
A clear and concise description of what you want to happen.
Add particles to the feet of the player that drinks an invis potion. Only adds one particle every couple of seconds or so. These particles would also be removed if the player takes damage. Also seen on a large Minecraft server.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Haven't found any

Additional context
Pictures are taken from Google
https://i.imgur.com/T7BdxUK.png
https://i.imgur.com/Gaz9PVh.png

Heave 2 errors..

Describe the bug
[20:43:28] [Server thread/ERROR]: Could not pass event InventoryClickEvent to HandyOrbs v2.1.3
org.bukkit.event.EventException: null
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:37) ~[spigot.jar:git-Paper-1618]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[spigot.jar:git-Paper-1618]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot.jar:git-Paper-1618]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:513) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:2002) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:33) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PacketPlayInWindowClick.a(SourceFile:10) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[spigot.jar:git-Paper-1618]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:850) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[spigot.jar:git-Paper-1618]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.lang.NullPointerException
at me.qKing12.HandyOrbs.Orbs.SugarCane.hyperActivity(SugarCane.java:130) ~[?:?]
at me.qKing12.HandyOrbs.Orbs.OrbMenu$ListenUp.onInventoryClick(OrbMenu.java:341) ~[?:?]
at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:35) ~[spigot.jar:git-Paper-1618]
... 15 more

[18:53:08] [Server thread/WARN]: [HandyOrbs] Task #940927 for HandyOrbs v2.1.3 generated an exception
java.lang.NullPointerException: permission
at me.lucko.luckperms.bukkit.inject.permissible.LuckPermsPermissible.hasPermission(LuckPermsPermissible.java:172) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:112) ~[spigot.jar:git-Paper-1618]
at me.qKing12.HandyOrbs.ConfigLoad.lambda$onCrystalPlace$2(ConfigLoad.java:400) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[spigot.jar:git-Paper-1618]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[spigot.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[spigot.jar:git-Paper-1618]
at java.lang.Thread.run(Thread.java:829) [?:?]

System (please complete the following information):

  • OS: [e.g. iOS] Ubuntu 20.04
  • Server software [e.g. spigot, paper] : Paper
  • Server Version [e.g. 1.8.8] : 1.12.2
  • Plugin Version [e.g. 21.10.1]: 2.1.3

Player hearts on bungeemode bug

Bug: If the game ends and you have for example 2 hearts and you rejoin on same mode you will still have 2 hearts. It doesn't reset
Plugin version: 21.10.1
Server version: 1.8.8

Reproduce:
x1 bedwarsproxy lobby, x1 server for solo mode (it doens't matter the mode)

Fireball Customization

I want to suggest of adding the Fireball Jump customization, like the damage, the coordinates and the speed

Error in AutoCreateTeams

Describe the bug
When ever i try to setup map and choose Auto Create Teams it send this output

To Reproduce
Steps to reproduce the behavior:

  1. Setup a arena
  2. Click on 'AutoCreateTeams'
  3. See error

[09:08:21 INFO]: Anas1554 issued server command: /bw setWaitingSpawn
[09:08:23 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'bw autocreateteams' in com.andrei1058.bedwars.commands.bedwars.MainCommand(bw)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:596) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at com.andrei1058.bedwars.commands.bedwars.subcmds.sensitive.setup.SetWaitingSpawn.execute(SetWaitingSpawn.java:56) ~[?:?]
at com.andrei1058.bedwars.commands.bedwars.MainCommand.execute(MainCommand.java:149) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:666) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1189) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1001) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_312]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_312]
at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:774) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: java.lang.IllegalArgumentException: No enum constant com.andrei1058.bedwars.api.arena.team.TeamColor.LGRAY
at java.lang.Enum.valueOf(Enum.java:238) ~[?:1.8.0_312]
at com.andrei1058.bedwars.api.arena.team.TeamColor.valueOf(TeamColor.java:29) ~[?:?]
at com.andrei1058.bedwars.api.arena.team.TeamColor.getChatColor(TeamColor.java:50) ~[?:?]
at com.andrei1058.bedwars.commands.bedwars.subcmds.sensitive.setup.AutoCreateTeams.execute(AutoCreateTeams.java:212) ~[?:?]
at com.andrei1058.bedwars.commands.bedwars.MainCommand.execute(MainCommand.java:149) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[patched.jar:git-PaperSpigot-"4c7641d"]
... 19 more

Screenshots
Screenshots

System (please complete the following information):

  • OS: [Ubuntu 20.04]
  • Server software [Paper]
  • Server Version [1.8.8]
  • Plugin Version [21.10.1]

Minecraft 1.17 incompatability

Describe the bug
I've set the lobby, and one test arena. There are two teams. When I try to join this arena, first player joins and teleports to the arena, but second does not teleport. It says both players joined the arena. Also there is no countdown. There is no waiting lobby scoreboard. I tried "/bw forceStart", but still it does not work.

To Reproduce
Steps to reproduce the behavior:

  1. Install Airplane 1.17.1 from https://airplane.gg/
  2. Install Bedwars1058.
  3. Set an arena.
  4. See the error.

Expected behavior
I was expecting it to work.

System (please complete the following information):

  • OS: Windows 10 Pro x64
  • Server software Airplane #99
  • Server Version 1.17.1
  • Plugin Version 21.10.1

Additional context
These are the errors I've got: https://srcb.in/MXbpA6kCe0

Team upgrades gui not updating

Describe the bug
When I purchase a team update, the GUI does not update, I have to close and reopen it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the Team Upgrades NPC
  2. Purchase an upgrade

Expected behavior
I expect the gui to update showing me that I bought the upgrade

System (please complete the following information):

  • OS: Windows 11
  • Server software NachoSpigot
  • Server Version 1.8.8
  • Plugin Version 21.10.1

Quickbuy issue

Describe the bug
Getting error when trying to modify quick buy content

To Reproduce
Steps to reproduce the behavior:

  1. Open quick buy page
  2. Modify something on it
  3. Get an error on the console https://sourceb.in/f9JQRnjIm9

System (please complete the following information):

  • OS: Linux
  • Server software Paper
  • Server Version 1.8.9
  • Plugin Version 21.10.1

a new bug

Describe the bug
A clear and concise description of what the bug is.
i added a MysQl database and the plugin got disbled and it show this error


[20:16:42 ERROR]: Error occurred while enabling BedWars1058 v21.11 (Is it up to date?)
java.lang.UnsupportedClassVersionError: com/andrei1058/bedwars/libs/hikari/HikariConfig has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_292]
at java.lang.ClassLoader.defineClass(ClassLoader.java:756) ~[?:1.8.0_292]
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[?:1.8.0_292]
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468) ~[?:1.8.0_292]
at java.net.URLClassLoader.access$100(URLClassLoader.java:74) ~[?:1.8.0_292]
at java.net.URLClassLoader$1.run(URLClassLoader.java:369) ~[?:1.8.0_292]
at java.net.URLClassLoader$1.run(URLClassLoader.java:363) ~[?:1.8.0_292]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_292]
at java.net.URLClassLoader.findClass(URLClassLoader.java:362) ~[?:1.8.0_292]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:102) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:193) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:98) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:87) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[?:1.8.0_292]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_292]
at com.andrei1058.bedwars.database.MySQL.connect(MySQL.java:74) ~[?:?]
at com.andrei1058.bedwars.BedWars.onEnable(BedWars.java:376) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [patched.jar:git-PaperSpigot-"4c7641d"]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:203) [patched.jar:git-PaperSpigot-"4c7641d"]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [patched.jar:git-PaperSpigot-"4c7641d"]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
[20:16:42 INFO]: [BedWars1058] Disabling BedWars1058 v21.11


To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
you fix this if you want
Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • OS: [e.g. iOS]
  • Server software spigot
  • Server Version 1.8.8
  • Plugin Version latest

Additional context
Add any other context about the problem here.
no

Bedwars1058-Fireball Jump Config

1.Hey @andrei1058 Can you please add fireball damage and kb config to your plugin so that we can reduce the amount of plugins that we use for the server and the fireball jump addons only supports 1.8.8 not 1.16 or 1.17 so it would be helpful if you add it to the config file of the plugin like tnt jump.

Self Shooting Message bug

Describe the bug
After trying to shoot my self with a bow or a fireball i get the "PlayerName is now on" and then my health - the expected damage even tho i don't get damaged.

To Reproduce
Steps to reproduce the behavior:
Buy a bow and shoot in the air and try to get the shot. or buy a fireball and look at the bottom and try fireball yourself you will get the message in chat.

Expected behavior
It shouldn't show any message

System (please complete the following information):

  • OS: Windows
  • Server software: Spigot
  • Server Version: 1.8.8
  • Plugin Version: Latest

Healpool Bug with Golden Apples Effect

Describe the bug
If you have healpool on team upgrades and you're in your base if you consume a golden apple and after its effect ends the healpool doesn't give you generation.

To Reproduce

  1. Get healpool from the team shop,
  2. eat a golden apple in your base,
  3. wait for the regeneration effect from the golden apple to wear off,
  4. the healpools' regeneration doesn't come back.

Expected behavior
It should give you regeneration again because you have healpool and you're in your base!

System:

  • Server software [TacoSpigot Fork]
  • Server Version [1.8.8]
  • Plugin Version [21.11]

Implement Floodgate GUI support for shops.

Add support to Floodgate Forms to allow players who enter through Geyser to be able to open the menus of the upgrade and the item shop through the new menus of the bedrock edition.

SQL time out issue

Describe the bug
SQL time out issue on MySQL
LOG: https://sourceb.in/S2Pnkxf107

To Reproduce
Steps to reproduce the behavior:

Join the server
Leave from the server.
See an error https://sourceb.in/S2Pnkxf107
Expected behavior
No error on the console and the data should be saved!

Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

OS: Linux
Server software Paper
Server Version 1.8.9
Plugin Version 21.10.1

Add GeyserMC Support as BedrockForms

Is your feature request related to a problem? Please describe.
Yes its very important and for Bedrock Players!

Describe the solution you'd like
As you know, GeyserMC is a software that support Bedrock Players joining on Minecraft Java server and Floodgates was implebtmented the Bedrock Forms, can you add some Bedrock Forms addon for Bedwars1058?
And when you died in game, it always show loading screen when you died and it annoyed for Bedrock Players so can you do remove loading screen when died!
Thanks.

Disabled Worlds.

please add a Disabled Worlds. feature.
because the server hosting like aternos or any big host with a spigot installed needs it, so when we do /bw setlobby it shd work only on that world, because in spigot servers when we go to survival the bedwars items like map selector are coming in survival worlds which is bad. and this is a big feature needed by people/servers using spigot or any other software without a network connection between them.

1.12 error

[BedWars1058] Task #681 for BedWars1058 v${gitVer}21.10.1-SNAPSHOT generated an exception
java.lang.NoSuchMethodError: 'void org.bukkit.entity.Player.showPlayer(org.bukkit.plugin.Plugin, org.bukkit.entity.Player)'
at com.andrei1058.bedwars.support.version.v1_12_R1.v1_12_R1.spigotShowPlayer(v1_12_R1.java:666) ~[?:?]
at com.andrei1058.bedwars.listeners.joinhandler.JoinListenerMultiArena.lambda$onJoin$0(JoinListenerMultiArena.java:65) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[server.jar:git-Spigot-596221b-9a1fc1e]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:353) [server.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:738) [server.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [server.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [server.jar:git-Spigot-596221b-9a1fc1e]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [server.jar:git-Spigot-596221b-9a1fc1e]
at java.lang.Thread.run(Thread.java:833) [?:?]

Bedwars1058 Levels Update

Is your feature request related to a problem? Please describe.
Bedwars1058 has an internal levelling system, but it is not complete

Describe the solution you'd like
Adding the Level rewards for Player Kill, Final kills, and Bed destroyed with the Customization in the file levels.yml and messages in the language file.

Better Scoreboard System for <1.13

Is your feature request related to a problem? Please describe.
Firstly I want to point out, I couldn't try if this works. Because I couldn't make BedWars1058 work and I've an issue report. If it doesn't exist, it is releated to a problem. I'm using 1.17.1 server, and you know, there was scoreboard system changes in 1.13. So, players with 1.7.2 - 1.12.2 see the scoreboard glitchy.

Describe the solution you'd like
If scoreboards for 1.7.2 - 1.12.2 players work alternatively, they would see the scoreboard normal.

Describe alternatives you've considered
If there are placeholders for in-game statuses such as Blue Team's bed status, final kill count for that game etc., I can use a plugin called "AnimatedScoreboard". It has that feature. There is an option for players below 1.13 can see scoreboard normal even if your server core above 1.13.

sql bug

[14:35:06 WARN]: java.sql.SQLTransientConnectionException: BedWars1058MySQLPool

  • Connection is not available, request timed out after 30001ms.
    [14:35:06 WARN]: at com.andrei1058.bedwars.libs.hikari.pool.HikariPool.cr
    eateTimeoutException(HikariPool.java:695)
    [14:35:06 WARN]: at com.andrei1058.bedwars.libs.hikari.pool.HikariPool.ge
    tConnection(HikariPool.java:197)
    [14:35:06 WARN]: at com.andrei1058.bedwars.libs.hikari.pool.HikariPool.ge
    tConnection(HikariPool.java:162)
    [14:35:06 WARN]: at com.andrei1058.bedwars.libs.hikari.HikariDataSource.g
    etConnection(HikariDataSource.java:100)
    [14:35:06 WARN]: at com.andrei1058.bedwars.database.MySQL.getLanguage(MyS
    QL.java:457)
    [14:35:06 WARN]: at com.andrei1058.bedwars.listeners.joinhandler.JoinHand
    lerCommon.requestLanguage(JoinHandlerCommon.java:60)
    [14:35:06 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
    ethod)
    [14:35:06 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S
    ource)
    [14:35:06 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno
    wn Source)
    [14:35:06 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
    [14:35:06 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:300)
    [14:35:06 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEven
    tExecutor.java:74)
    [14:35:06 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:62)
    [14:35:06 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(Simpl
    ePluginManager.java:517)
    [14:35:06 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:499)
    [14:35:06 WARN]: at net.minecraft.server.v1_8_R3.LoginListener$LoginHandl
    er.fireEvents(LoginListener.java:248)
    [14:35:06 WARN]: at net.minecraft.server.v1_8_R3.LoginListener$2.run(Logi
    nListener.java:172)
    [14:35:06 WARN]: at java.lang.Thread.run(Unknown Source)
    [14:35:06 INFO]: com.mojang.authlib.GameProfile@a92f28d[id=efe05f42-1fe7-3e51-b1
    93-7051d570da5a,name=danieladz,properties={textures=[com.mojang.authlib.properti
    es.Property@7ef67a6a], bungeeguard-token=[com.mojang.authlib.properties.Property
    @10631a2]},legacy=false] (/80.200.50.45:57687) lost connection: Timed out

Bug - Connection is not available

Describe the bug
This error occurs when upgrading to the latest version causing you to be unable to enter to the server.

Additional context
[21:06:30] [WARN]: [ Thread - 265] java.sql.SQLTransientConnectionException: BedWars1058MySQLPool - Connection is not available, request timed out after 30000ms.
at com.andrei1058.bedwars.libs.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:695)
at com.andrei1058.bedwars.libs.hikari.pool.HikariPool.getConnection(HikariPool.java:197)
at com.andrei1058.bedwars.libs.hikari.pool.HikariPool.getConnection(HikariPool.java:162)
at com.andrei1058.bedwars.libs.hikari.HikariDataSource.getConnection(HikariDataSource.java:100)
at com.andrei1058.bedwars.database.MySQL.setLevelData(MySQL.java:386)
at com.andrei1058.bedwars.levels.internal.PlayerLevel.lambda$updateDatabase$0(PlayerLevel.java:247)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(SourceFile:67)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(SourceFile:61)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(SourceFile:30)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

crash

[Craft Scheduler Thread - 1/WARN]: java.sql.SQLException: [SQLITE_MISUSE] Library used incorrectly (out of memory)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.DB.newSQLException(DB.java:383)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.DB.newSQLException(DB.java:387)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.DB.throwex(DB.java:374)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.NativeDB.prepare(Native Method)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.DB.prepare(DB.java:123)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.PrepStmt.(PrepStmt.java:42)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.Conn.prepareStatement(Conn.java:404)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.Conn.prepareStatement(Conn.java:399)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.sqlite.Conn.prepareStatement(Conn.java:383)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at com.andrei1058.bedwars.database.SQLite.setLevelData(SQLite.java:318)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at com.andrei1058.bedwars.levels.internal.PlayerLevel.lambda$updateDatabase$0(PlayerLevel.java:247)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 1/WARN]: at java.lang.Thread.run(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 28/WARN]: Exception in thread "Craft Scheduler Thread - 28"
[02:16:07] [Craft Scheduler Thread - 28/WARN]: org.apache.commons.lang.UnhandledException: Plugin BedWars1058 v${gitVer}21.10.1-SNAPSHOT generated an exception while executing task 13150
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.sqlite.PrepStmt.(PrepStmt.java:42)
at org.sqlite.Conn.prepareStatement(Conn.java:404)
at org.sqlite.Conn.prepareStatement(Conn.java:399)
at org.sqlite.Conn.prepareStatement(Conn.java:383)
at com.andrei1058.bedwars.database.SQLite.pushQuickBuyChanges(SQLite.java:422)
at com.andrei1058.bedwars.shop.quickbuy.PlayerQuickBuyCache.lambda$pushChangesToDB$1(PlayerQuickBuyCache.java:162)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 4 more

[02:16:07] [Craft Scheduler Thread - 3/WARN]: java.sql.SQLException: [SQLITE_MISUSE] Library used incorrectly (out of memory)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.DB.newSQLException(DB.java:383)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.DB.newSQLException(DB.java:387)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.DB.throwex(DB.java:374)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.NativeDB.prepare(Native Method)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.DB.prepare(DB.java:123)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.PrepStmt.(PrepStmt.java:42)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.Conn.prepareStatement(Conn.java:404)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.Conn.prepareStatement(Conn.java:399)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.sqlite.Conn.prepareStatement(Conn.java:383)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at com.andrei1058.bedwars.database.SQLite.hasStats(SQLite.java:126)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at com.andrei1058.bedwars.database.SQLite.saveStats(SQLite.java:142)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at com.andrei1058.bedwars.stats.StatsListener.lambda$onArenaLeave$0(StatsListener.java:188)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: at java.lang.Thread.run(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: java.sql.SQLException: [SQLITE_MISUSE] Library used incorrectly (out of memory)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.sqlite.DB.newSQLException(DB.java:383)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.sqlite.DB.newSQLException(DB.java:387)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.sqlite.DB.throwex(DB.java:374)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.sqlite.NativeDB.prepare(Native Method)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.sqlite.DB.prepare(DB.java:123)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.sqlite.Stmt.executeQuery(Stmt.java:121)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at com.andrei1058.bedwars.database.SQLite.hasQuickBuy(SQLite.java:265)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at com.andrei1058.bedwars.database.SQLite.pushQuickBuyChanges(SQLite.java:391)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at com.andrei1058.bedwars.shop.quickbuy.PlayerQuickBuyCache.lambda$pushChangesToDB$1(PlayerQuickBuyCache.java:162)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 77/WARN]: at java.lang.Thread.run(Unknown Source)
[02:16:07] [Craft Scheduler Thread - 3/WARN]: Exception in thread "Craft Scheduler Thread - 3"
[02:16:07] [Craft Scheduler Thread - 3/WARN]: org.apache.commons.lang.UnhandledException: Plugin BedWars1058 v${gitVer}21.10.1-SNAPSHOT generated an exception while executing task 13203
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.sqlite.PrepStmt.(PrepStmt.java:42)
at org.sqlite.Conn.prepareStatement(Conn.java:404)
at org.sqlite.Conn.prepareStatement(Conn.java:399)
at org.sqlite.Conn.prepareStatement(Conn.java:383)
at com.andrei1058.bedwars.database.SQLite.saveStats(SQLite.java:162)
at com.andrei1058.bedwars.stats.StatsListener.lambda$onArenaLeave$0(StatsListener.java:188)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 4 more

[02:16:07] [Craft Scheduler Thread - 77/WARN]: Exception in thread "Craft Scheduler Thread - 77"
[02:16:07] [Craft Scheduler Thread - 77/WARN]: org.apache.commons.lang.UnhandledException: Plugin BedWars1058 v${gitVer}21.10.1-SNAPSHOT generated an exception while executing task 13201
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at org.sqlite.PrepStmt.(PrepStmt.java:42)
at org.sqlite.Conn.prepareStatement(Conn.java:404)
at org.sqlite.Conn.prepareStatement(Conn.java:399)
at org.sqlite.Conn.prepareStatement(Conn.java:383)
at com.andrei1058.bedwars.database.SQLite.pushQuickBuyChanges(SQLite.java:422)
at com.andrei1058.bedwars.shop.quickbuy.PlayerQuickBuyCache.lambda$pushChangesToDB$1(PlayerQuickBuyCache.java:162)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 4 more

[02:16:07] [Server thread/WARN]: handleDisconnection() called twice
[02:16:07] [Server thread/WARN]: handleDisconnection() called twice
[02:16:07] [Server thread/WARN]: handleDisconnection() called twice
[02:16:07] [Server thread/WARN]: handleDisconnection() called twice
[02:16:07] [Server thread/WARN]: handleDisconnection() called twice

Console Error

Describe the bug
I left the Debug Map while i was in the generator

[08:39:07 WARN]: [BedWars1058] Task #4022 for BedWars1058 v${gitVer}21.10.1-SNAPSHOT generated an exception
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:911) ~[?:1.8.0_301]
at java.util.ArrayList$Itr.next(ArrayList.java:861) ~[?:1.8.0_301]
at com.andrei1058.bedwars.arena.tasks.GamePlayingTask.run(GamePlayingTask.java:200) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[Spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [Spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [Spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [Spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [Spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [Spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_301]

System:

  • OS: Windows 11
  • Spigot
  • 1.8.8
  • 21.10.1

Fireball-Config

Please try adding fireball damage and knock back to config

/shout cooldown display as decimal

Describe the bug
/shout cooldown display as decimal

To Reproduce

  1. Enter a game
  2. Using /shout or !

Expected behavior
Display as natural number
Example: 4.297999... = 4

Screenshots
Click here

System:

  • OS: Ubuntu Server 20.04
  • Server software: PaperMC
  • Server Version: 1.12.2
  • Plugin Version: Latest

Java error

When starting the server, an error pops up about the java version

** To Reproduce **
Steps to reproduce the behavior:
I updated the new version of the plugin today, and an error about the java version popped up when the server was turned on, the plugin was disabled. I have the latest version "1.8.0_311".
And I don't know what the problem is and how to solve

** Expected behavior **
Didn't expect anything from this

** Screenshots **
https://yapx.ru/v/PEiIK

** System (please complete the following information): **

  • OS: Windows Server 2013
  • Server software Paper
  • Server Version 1.12.2
  • Plugin Version 21.11

** Additional context **
I apologize if there are text errors, I did everything through translation

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.