tomkeuper / bedwars2023 Goto Github PK
View Code? Open in Web Editor NEWA minecraft minigame where you have to defend your bed and destroy the others. Once your bed is destroyed, you cannot respawn.
License: GNU General Public License v3.0
A minecraft minigame where you have to defend your bed and destroy the others. Once your bed is destroyed, you cannot respawn.
License: GNU General Public License v3.0
Describe the bug
When invis, other teammates are not able to see their invis teammates. When a player loses his invis, his body isn't visible, only his armor is visible.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Teammates are able to see their invis teammates. Whole player should be visible after losing invis.
Screenshots
System (please complete the following information):
Additional context
Is your feature request related to a problem? Please describe.
No it is not, but it will help with adding more features and additions to the fork if these features are added
Describe the solution you'd like
Would like the addition of the following commands:
/bw displayName || To Add the Display_Name from the Setup Scenario
/bw setBorder || To Set The Arena Border from the Setup Scenario
/bw useBedHologram false || To Set The BedHologram above the Bed to be shown or not
/bw allowMapBreak false || To Allow the map to be breakable
/bw emptyTeamNPC true || Basically disable-npcs-for-empty-teams setting but as a command
/bw killHeight || To Set what the height at which the player will die will be
/bw islandRadius || To set the island radius
/bw emptyTeamGenerator || To set if empty teams generators will work or not
/bw SetGameRule <true/false> || Set the gamerule for the Arena World
/bw ToggleVanillaDrops <true/false> || To allow vanilla Drops to be enabled
/bw SetGenProt || To Set the generator Spawn Protection
/bw SetUpgradesProt || To Set the Upgrade NPCs spawn protection
/bw SetShopProt || To set the shop npcs spawn protection
/bw setspawnprot || To Set the spawn protection
/bw SpawnInvincibility || To disable or enable the invincibility period for when your spawn back in.
Describe the bug
The current setup only works up untill 1.12 because Minecraft decided to remove the FOOTSTEP particle in 1.13.
https://minecraft.fandom.com/wiki/Particles
The texture is still in the game so maybe it can still be used when creating custom paritcles.
Additional context
Possible options are:
Describe the bug
When you drop stone, iron or diamond sword while u have team upgrade Sharpness
Your will get normal wooden sword that not have sharpness.
It should have Sharpness on Wooden Sword too when drop not only When Respawn
To Reproduce
Steps to reproduce the behavior:
Is your feature request related to a problem? Please describe.
Use CrowdIn to aquire translations for languages
Will require language method to be redone an supply a readable format for CrowdIn like yml.
Message mapping for all languages should be done in a single class
Describe the bug
When 60 seconds pass with the %bw1058_elapsed_time% placeholder the minute gets added but the seconds don't get resetted
To Reproduce
Steps to reproduce the behavior:
1: Add elapsed time placeholder in sidebar or tab
2: wait 60 seconds
3: bug appears
System (please complete the following information):
Describe the bug
Placing a popup tower right under the build limit will cause it spawn partly above the build limit.
Someone also mentioned this was the case with bridge eggs but I havent been able to reproduce this error
Screenshots
Note: limit is set at 180
System (please complete the following information):
Additional context
Tab and nametag doesn't have displayname option, my nick system is screwed :vaporized:
Is your feature request related to a problem? Please describe.
It's extremely inconvenient if we can't use decimals for generator speed.
Describe the solution you'd like
Add the possibility to use decimals as delay for forge upgrades.
Describe alternatives you've considered
None.
Additional context
None.
Adds a play again feature to BedWars1058, allowing players to quickly start another game without returning to the lobby
Describe the bug
Default shortend time in config is 10 seconds but in game its 5 seconds.
To Reproduce
Steps to reproduce the behavior:
use /bw start
Expected behavior
10 seconds countdown.
The viewer is the one who get parsed, not the actual player that join or leave
implement it, the defualt one doesnt have enough possibility
Is your feature request related to a problem? Please describe.
I'm always frustrated when doing a command such as /bw join random
or /bw join <group>
and it not taking you to an actual random arena, and instead taking you to the first arena available in alphabetical order.
Describe the solution you'd like
While making sure to maintain the feature of still sending you to an arena with most players, if the arenas are empty/full, it should take you to one of the available arenas RANDOMLY and not in alphabetical order
If you specify the group with /bw join <group>
, make it send you to the arena in that group with the most players, and if there is none, then just send to a random arena in that group, again not in alphabetical order.
Additional context
This is especially annoying and can be seen when joining a random arena after ending a game, as it will just send you to the same arena over and over and over again unless you choose one.
Describe the bug
A bug where you can put tools or swords in chest inventory or enderchest inventory
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
viedo here
System (please complete the following information):
Additional context
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Screenshots
https://user-images.githubusercontent.com/85287520/236636578-55a3e58b-d9a9-4707-b83c-724e62d70b12.mp4
System (please complete the following information):
Describe the bug
Announcements dont get cleaned up after an arena is finished
To Reproduce
Steps to reproduce the behavior:
Log
[23:29:37 WARN]: [BedWars2023] Plugin BedWars2023 v1.0-SNAPSHOT generated an exception while executing task 4967
java.lang.NullPointerException: Cannot invoke "java.util.List.iterator()" because the return value of "com.tomkeuper.bedwars.arena.Arena.getPlayers()" is null
at com.tomkeuper.bedwars.arena.Announcement$1.run(Announcement.java:53) ~[bedwars-plugin-1.0-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[purpur-1.19.4.jar:git-Purpur-1962]
at org.bukkit.craftbukkit.v1_19_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[purpur-1.19.4.jar:git-Purpur-1962]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[purpur-1.19.4.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Expected Behaviour
Clean up announcements after an arena is finished.
System (please complete the following information):
Describe the bug
When your inventory is full you can buy items from the shop, this will take the cost out of your inventory but it will not give you the item.
To Reproduce
Steps to reproduce the behavior:
Inv full > buy item from shop
I would like to set the upgrade price per group. Is it possible to add?
Describe the bug
when a game gets to the end of the game end countdown there is no message at the end and no winner.
Maybe there should be no winner but it should announce that the game has finished,
To Reproduce
Steps to reproduce the behavior:
wait... (set timers to a low number :) )
Expected behavior
game end screen
Describe the bug
Open chest and put wooden sword in chest by use ur mouse click wooden sword in your inventory and move cursor mouse to chest inventory then left click it will close the chest and drop wooden sword but when you pick it up your sword will disappear
To Reproduce
Steps to reproduce the behavior:
1.Put Wooden Sword in chest
2.Pick the wooden sword that got drop after you put it in chest
3.Your sword disappear unless you press E on ur keyboard then right or left click on the first slot (or the slot that u set for being sword)
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
System (please complete the following information):
Additional context
https://pastebin.com/KpAyExeW
https://pastebin.com/QJViHEuP
Describe the bug
Not able to set the Minium Height of the Arena via command /bw setMinBuildHeight in SetupArena scenario. I am able to do /bw setMaxBuildHeight Command but not /bw setMinBuildHeight
To Reproduce
Steps to reproduce the behavior:
like the title described
Is your feature request related to a problem? Please describe.
Yes you can't see a game's chat for now
Describe the solution you'd like
I'd like for normal player to able to see shout and player with permission to see all chat
Describe alternatives you've considered
No alternative for now
Additional context
None
Describe the bug
When triggering the .disable function of a ore generator it doesnt stop the generator from spawning ores
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The generator stops producing
Describe the bug
The countdown for bed destruction in the scoreboard is bugged out. The time left is not shown in the desired format and instead is shown in a bugged out red manner.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should not be bugged and should be shown in the desired manner like the other countdowns.
Screenshots
I'll provide screenshots later I'm making the bug report rn cuz ig a lot of people already know abt the bug.
System (please complete the following information):
Additional context
Implement the use of Redis or MongoDB in bedwars2023 for fast, efficient and memory free loading of arenas, shops, stats, and more
What the title said
Describe the bug
PerMinuteTask throws an error during gameplay
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
System (please complete the following information):
Additional context
https://pastebin.com/FtvwL0SP
Is your feature request related to a problem? Please describe.
Actually, when you create an addon for BedWars1058 you need to follow some steps linked inside andrei wiki
Describe the solution you'd like
An addon class to extend inside your bw addon to register in main plugin class (an addon system like mbedwars one)
Describe the bug
When you join an arena as player or spectator the PlayerJoinArenaEvent
is called after the join message.
To fix this problem is enough moving the PlayerJoinArenaEvent
call before the join messages inside the methods addPlayer
& addSpectator
float/double based Generator Speed doesn't work with Upgrades
Is your feature request related to a problem? Please describe.
BedWars1058 enjoys a good amount of APIs that make the plugin remarkably customizable with addons, but in some parts of APIs it still lacks
Describe the solution you'd like
New APIs for greater customization:
In kill messages, %bw_player% is parsed as player's name instead of displayname
Describe the bug
When building to the build limit set in the config there is no message displaying that you've reached the build limit.
This might be a feature but I concider this a bug for now
To Reproduce
Steps to reproduce the behavior:
build to the build limit
Expected behavior
A message in chat that the build limit has been reached
i'd like to add event.setJoinMessage() and event.setQuitMessage() to PlayerJoinArenaEvent and PlayerLeaveArenaEvent
Is your feature request related to a problem? Please describe.
Following the implementation of the various new APIs, bw2023 has achieved a major improvement, but it is not 100% complete
Describe the solution you'd like
New API still:
IPlayerStats#getCustomStat(String stat)
method.IPlayerStats#saveCustomStat(String stat, int amount)
method.bw-team-selector
and opens team selector) mbw inspiredFor any other ideas respond with a message in this issue and that idea will be evaluated as well
Is your feature request related to a problem? Please describe.
Is your feature request related to a problem? Please describe.
BedWars1058 actually supports 2 types of databases (SQLite and MySQL).
Describe the solution you'd like
BedWars#setDatabaseAdapter(IDatabase database)
Additional context
Is your feature request related to a problem? Please describe.
Add group stats to the main bedwars plugin instead of using a addon
Describe the solution you'd like
Implementing group stats to bedwars1058
Describe alternatives you've considered
Using a addon
Is your feature request related to a problem? Please describe.
Since the 1.16 version Minecraft has implemented the possibility to use RGB codes in messages, actually BedWars1058 not supports this feature.
Describe the solution you'd like
Implementing a config option like rgb/hex-enable:true/false and adding RGB support (mabye by using some libraries like IridiumColorAPI)
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Describe the bug
When you click in your side of your inventory in the villager shop it will detect it as if you were clicking in the shop
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Items only buyable in the inventory that the items are in
(Not sure if this is understandable)
Is your feature request related to a problem? Please describe.
The current party system doesnt work properly and its filled with bugs
Describe the solution you'd like
Rewrite the party system and add more party support
Describe alternatives you've considered
I dont think there are alternatives for this
Additional context
Suggestion to allow other plugins to use their own party system
Like implementing a interface and setting the party system throught the API
Is your feature request related to a problem? Please describe.
When a player dies they get a quick view of the respawn screen which then dissapears
Describe the solution you'd like
Completely remove the respawn screen. This is mainly for esthatics
Describe alternatives you've considered
Tried to implement this before but main struggles were:
public static void checkPlayerHealth(Player p, EntityDamageEvent e, IArena a) {
e.setCancelled(true);
Bukkit.getServer().getPluginManager().callEvent(new PlayerDeathEvent(p, Arrays.asList(p.getInventory().getContents()), p.getTotalExperience(), null));
Bukkit.getServer().getPluginManager().callEvent(new PlayerRespawnEvent(p, a.getReSpawnLocation(), false));
This method made the death cause get lost as its not passed to the PlayerDeathEvent which is used in the code.
// send respawn packet
Bukkit.getServer().getPluginManager().callEvent(new PlayerRespawnEvent(victim, a.getReSpawnLocation(), false));
Bukkit.getScheduler().runTaskLater(BedWars.plugin, () -> {
victim.spigot().respawn();
}, 3L);
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.