shynixn / blockball Goto Github PK
View Code? Open in Web Editor NEWBlockBall is a spigot plugin to play soccer games in Minecraft.
License: GNU General Public License v3.0
BlockBall is a spigot plugin to play soccer games in Minecraft.
License: GNU General Public License v3.0
Hi ! :D
Could you a Basket Ball plugin ? :D
Thanks ! :D
Although there are few minor problems remaining, I'm convinced that this update is the best one, which significantly improved this plugin in ball physics and UI changes.
Nice work, shynixn! 👍
My map isn't that large so the double-jump catch-up mechanic is quite overpowered. Is there any way to adjust the distance / thrust power you go when you double jump? As I can't seem to find a setting for it.
Could you add a ranking and stats for
How many goals it take
Win/loose rate
How many win and loose
I'm happy when you can adding this
Using the spigot api:
https://api.spigotmc.org/legacy/update.php?resource=$RESOURCE_ID
Hey,
Is there a converter for the new version ?
A ball gets kicked when a player touches it, but it does not go far.
It's quite boring for this player to dribble the ball through the huge playground, isn't it?
So here's my suggestion:
Some database tests for player stats fail
After a game players are able to FLY! While admins become unable to fly after game.
Can you fix this major bug?
https://hastebin.com/wadofarolu.vbs
and can you change the ball mechanic and make it like hypixel?? and is it possible to make round the ball??
What I suggest is that players should be teleported to the centre after one of them scores.
Spawnpoints for red/blue team would be suitable for the centre location.
(With a configurable delay would be also good.)
Sorry if I made too many tickets in short term
I'm using BlockBall v4.1, WorldEdit v6.1.7.3 in Spigot 1.12.1 server.
As I set up an arena and tested it, I realized some important in-game messages that didn't show up.
These are the broken strings
Here's the config of my arena
Please correct me if I'm missing something like no dependencies or wrong configs..
Is it possible to set the max and min players?
Becase now players can play alone
blockball-3.8.1-20170303.142405-2.jar
I have it configured so players have a separate inventory in the Hub world and in the world where the BlockBall lounge / arena is located. So players who join a BlockBall game shouldn't carry over their inventory, gamemode, xp, health, etc. from the former world. However, if you right click the BlockBall join sign with an item from the other world, it will carry over that item / inventory into the lounge.
Would it be possible for items to not carry over into the lounge / separate world when hitting the join sign with it? To have an empty inventory when in the lounge.
Video example.
https://www.dropbox.com/s/ov2n0n8h39zqotd/2017-03-15%2002-09-31.mkv?dl=0
I've cloned this repo and set up my local workspace for this project.
I definitely followed the instructions on document, however I can't build the project due to missing dependencies.
And what kind of spigot lib do I need? Please explain exactly.
Missing dependencies for root pom.xml:
Missing ones for blockball-api:
for blockball-bukkit-api:
for blockball-bukkit-plugin:
Great plugin! However, when people play BlockBall and leave, they have flying abilities.
How do I fix this?
No, does this issue still appear? I thought, I have fixed this 3 times now. :( Can you send me one of your arena files via pastbin, so that I'm able to recreate it?
Received arena file. Testing it in the future.
Overuse of double jumps could annoy the players if there are many players in one arena.
We need an option this cooldown length for our arena.
Below this is just my idea note for the future which may be off-topic:
New [21:25:26] [Server thread/INFO]: [0;34;1m[BlockBall] [0;37;22mfound dependency [Vault].[m
[21:25:26] [Server thread/INFO]: [0;34;1m[BlockBall] [0;32;22mhooked successfully into [Vault].[m
[21:25:26] [Server thread/INFO]: [0;34;1m[BlockBall] [0;37;22mfound dependency [PlaceholderAPI].[m
[21:25:26] [Server thread/INFO]: [0;34;1m[BlockBall] [0;32;22mhooked successfully into [PlaceholderAPI].[m
[21:25:26] [Server thread/INFO]: [0;34;1m[BlockBall] [0;31;22mFailed to register the last dependency.[m
[21:25:26] [Server thread/INFO]: [0;34;1m[BlockBall] [0;32;1mEnabled BlockBall 4.1.0 by Shynixn[m
what is the "last dependency"?
ncurrentModificationException: null
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1437) ~[?:1.8.0_131]
at java.util.HashMap$KeyIterator.next(HashMap.java:1461) ~[?:1.8.0_131]
at com.github.shynixn.blockball.bukkit.logic.business.entity.game.LowLevelGame.close(LowLevelGame.kt:390) ~[BlockBall.jar:?]
at com.github.shynixn.blockball.bukkit.logic.business.controller.GameRepository.reload(GameRepository.kt:175) [BlockBall.jar:?]
at com.github.shynixn.blockball.bukkit.logic.business.commandexecutor.menu.MainConfigurationPage.execute(MainConfigurationPage.kt:132) [BlockBall.jar:?]
at com.github.shynixn.blockball.bukkit.logic.business.commandexecutor.NewArenaCommandExecutor.onPlayerExecuteCommand(NewArenaCommandExecutor.kt:171) [BlockBall.jar:?]
at com.github.shynixn.blockball.bukkit.logic.business.commandexecutor.SimpleCommandExecutor$Registered.onCommand(SimpleCommandExecutor.java:125) [BlockBall.jar:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.12.2.jar:git-Spigot-4bd94dc-3a482bd]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.12.2.jar:git-Spigot-4bd94dc-3a482bd]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) [spigot-1.12.2.jar:git-Spigot-4bd94dc-3a482bd]
at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [spigot-1.12.2.jar:git-Spigot-4bd94dc-3a482bd]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot-1.12.2.jar:git-Spigot-4bd94dc-3a482bd]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-4bd94dc-3a482bd]
at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-4bd94dc-3a482bd]
Hey,
Could you add a translation file please ?
Thanks !
When I hit 3 to save spectator settings, it loads the chat output to set arena title/subtitle and bossbar/scoreboard settings instead of saving.
Oddly saving vault settings lead into setting max score / max players screen as well. Perhaps it is parsing the number for a specific page instead of the active one instead?
blockball-3.8.1-20170303.142405-2.jar
[01:39:08 INFO]: player issued server command: /bbc
[01:39:08 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing 'bbc' in com.github.shynixn.blockball.business.logic.arena.ArenaCommandExecutor$1(bbc)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:160) ~[patched_1.11.2.jar:git-Paper-1063]
at org.bukkit.craftbukkit.v1_11_R1.CraftServer.dispatchCommand(CraftServer.java:675) ~[patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.PlayerConnection.handleCommand(PlayerConnection.java:1384) ~[patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1189) ~[patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) ~[patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.PlayerConnectionUtils.lambda$ensureMainThread$0(PlayerConnectionUtils.java:14) ~[patched_1.11.2.jar:git-Paper-1063]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_121]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_121]
at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:830) [patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:403) [patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:754) [patched_1.11.2.jar:git-Paper-1063]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:652) [patched_1.11.2.jar:git-Paper-1063]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_121]
Caused by: java.lang.NullPointerException
at com.github.shynixn.blockball.lib.SChatMenuManager.handleChatMessage(SChatMenuManager.java:37) ~[?:?]
at com.github.shynixn.blockball.business.logic.arena.ArenaCommandExecutor$1.onCommandSend(ArenaCommandExecutor.java:37) ~[?:?]
at com.github.shynixn.blockball.lib.DynamicCommandHelper.execute(DynamicCommandHelper.java:32) ~[?:?]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:151) ~[patched_1.11.2.jar:git-Paper-1063]
... 14 more
navigate-chatmenu:
enabled: true
command: bbc
useage: /<command>
description: Helps navigating through the chamenu.
permission: blockball.admin
permission-message: You don't have permission
"https://gyazo.com/dbbe8e4825fc84cc9f30c2cafd3ecdaf
Ummmm... what is happening? Look at the photo with the error i got"
Does BlockBall spam dependency hook requests until it is able to connect?
[22:25:56] [Server thread/INFO]: [BlockBall] Enabling BlockBall v3.8.0
[22:25:56] [Server thread/INFO]: [BlockBall] Loading BlockBall ...
[22:25:56] [Server thread/INFO]: [BlockBall] found dependency [WorldGuard] 5.
[22:25:56] [Server thread/INFO]: [BlockBall] failed to hook into [WorldGuard] 5.
[22:25:56] [Server thread/INFO]: [BlockBall] found dependency [WorldGuard] 6.
[22:25:56] [Server thread/INFO]: [BlockBall] hooked successfully into [WorldGuard] 6.
[22:25:56] [Server thread/INFO]: [BlockBall] found dependency [Vault].
[22:25:56] [Server thread/INFO]: [BlockBall] hooked successfully into [Vault].
[22:25:56] [Server thread/INFO]: [BlockBall] Enabled BlockBall 3.8.0 by Shynixn
Hey,
signs:
'1':
x: 10058.0
y: 206.0
z: -89899.0
yaw: 0.0
pitch: 0.0
world: Parkour
But look the screen : https://zupimages.net/up/18/09/mfmf.jpg
And it's the same for all the signs.
BlockBall v3.8.0
When players join a game and get kicked out on end, their former scoreboard is wiped. In my case, I colorize displaynames based on permission groups so players end up with a white nametag above their head after they play a game of BlockBall. Is there any way to preserve and load the old player's scoreboard when they leave the arena?
scoreboard:
enabled: true
title: §a§lBlockBall
items:
red: §cTeam Red
blue: §9Team Blue
time: §eTime
In addition, is it possible to colorize the player's nametag above their head based on the team they are a part of if the scoreboard is disabled (due to wanting to use bossbar instead)?
and i found a bug of engine v2,for example,a red team player named xxx scores,it says': player scored for red team' but not 'xxx scored for red team' can you fix it?:p
When you type numbers and letters to adjust the settings / save the arena / go back, it is being broadcasted in chat to all players on the server. This can get quite spammy, especially if you have one synced up network global chat.
Would it be possible to allow for settings to be changed via command instead?
I can't seem to find an option to set a spectate location, only a spectate radius. Would it be possible to allow setting a spectate location so when the sign is hit while the game is in-progress, they are brought to the spectate location, then back to the leave location when the game ends?
Thanks:),i have one more question,can I change the rolling distance of the ball?
Paper dev 1167 (Spigot 1.12)
[22:04:56] [Server thread/WARN]: [BlockBall] "BlockBall v4.0.1" has registered a listener for org.bukkit.event.player.PlayerPickupItemEvent on method "public void com.github.shynixn.blockball.business.logic.game.GameListener.onItemPickUpEvent(org.bukkit.event.player.PlayerPickupItemEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [Shynixn].
"Hi,
I am using latest Blockball and inventory gets emptied upon bbleave.
Please can yoi take a look?
Thanks"
BlockBall v3.8.0
When the game ends and players are brought back to the main hub world, their level is set to 999.
I set a larger blue and red goal corner but it did not update correctly in the config. Tried numerous times and hit the number to save the arena, but the old values still persisted in the configuration. I do not think the config is updating / saving correctly.
blockball-4.1.0-20170804.104410-2-jar-with-dependencies.jar
Paper dev 1178 (Spigot 1.12.1)
[23:39:28] [Server thread/INFO]: [BlockBall] Enabling BlockBall v4.1.0-SNAPSHOT
[23:39:28] [Server thread/INFO]: [BlockBall] Loading BlockBall ...
[23:39:28] [Server thread/WARN]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
[23:39:28] [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
[23:39:28] [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[23:39:28] [Server thread/INFO]: Connected to jdbc:sqlite:/server3/plugins/BlockBall/BlockBall.db
[23:39:28] [Server thread/INFO]: [BlockBall] found dependency [WorldGuard] 5.
[23:39:28] [Server thread/INFO]: [BlockBall] failed to hook into [WorldGuard] 5.
[23:39:28] [Server thread/INFO]: [BlockBall] found dependency [WorldGuard] 6.
[23:39:28] [Server thread/INFO]: [BlockBall] hooked successfully into [WorldGuard] 6.
[23:39:28] [Server thread/INFO]: [BlockBall] found dependency [Vault].
[23:39:28] [Server thread/INFO]: [BlockBall] hooked successfully into [Vault].
[23:39:28] [Server thread/INFO]: [BlockBall] found dependency [PlaceholderAPI].
[23:39:28] [Server thread/INFO]: [BlockBall] hooked successfully into [PlaceholderAPI].
[23:39:28] [Server thread/INFO]: [BlockBall] Failed to register the last dependency.
[23:39:28] [Server thread/INFO]: [BlockBall] Enabled BlockBall 4.1.0-SNAPSHOT by Shynixn
In larger maps, speed boost is required to make game speed faster and fun.
Hopefully you could resolve this too in the next week or later :)
Commands don't work?
Spigot says these are commands:
/bbjoin - Join any game from anywhere (new v2.8.0)
/bbc - Optional command to navigate through the chat menu (servers with buggy chat) (new v1.3)
/bb - Optional command to join teams (servers with buggy chat) (new v1.3)
None of them works though, I noticed in your plugin.yml (on here) it doesn't have them listed as well
Using v3.8.0.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.