Commit graph

2397 commits

Author SHA1 Message Date
Tim203
c18404cb52
Updated to global api v2 2021-11-07 15:42:55 +01:00
Konicai
0b35449fb7
update submodules (#2615) 2021-11-04 13:54:50 -04:00
Camotoy
6cda15cb8d
Check if bucket sounds should be played in adventure mode
Fixes #2608
2021-11-01 21:49:20 -04:00
HeroCC
6da6636a98
Remove broken HitCounter from README.md (#2583) 2021-11-01 11:26:08 -05:00
Camotoy
96cbc54334
Update to Adventure 4.9.3 2021-10-31 15:04:04 -04:00
Konicai
1929a5be83
Fix help command (#2604)
* Always pass session to execute() if the sender is a geyser player

* cleanup
2021-10-31 00:22:41 -05:00
Konicai
eb211884de
Add client option to hide custom skulls (#2603) 2021-10-30 22:22:04 -05:00
Konicai
f883dfdf2c
Remove commands from autocomplete/help list that cannot be run (#2602)
* only tabcomplete for commands the sender has permission for

* set permission defaults for spigot

* Make velocity autocomplete on arg length 0 and 1

* fix advancements perm in spigot plugin.yml and add settings perm

(whoops)

* don't show bedrock commands to java players

* modify spigot perm defaults

* censor help menu, abstract tab complete code

* Bedrock players don't get cmd argument suggestions

* update spigot plugin.yml
2021-10-30 20:57:54 -05:00
Camotoy
c115afba85
Add exception handling to the scoreboard updater 2021-10-30 20:47:49 -04:00
Camotoy
1316f6e1da
Don't use Jitpack but instead a static snapshot 2021-10-29 11:18:32 -04:00
Camotoy
362a21a4b1
Use Jitpack for Adventure to fix boolean string serialization
Fixes #2596
2021-10-29 10:59:59 -04:00
Redned
a257211b01
Update README to reflect we support 1.17.41 2021-10-28 18:49:58 -05:00
Camotoy
9a159bf8be Fix instances of invisible/flickering scoreboards 2021-10-22 23:31:40 -04:00
Camotoy
a7aa255784
Include more vendor information and flags in Geyser dump 2021-10-20 21:38:08 -04:00
Camotoy
0e06a79e5f
Temporary workaround to fix null issue with components 2021-10-20 18:42:02 -04:00
Tim203
6cbbf8a8dd
A DisplayScoreboard packet should also cause the scoreboard to update 2021-10-20 21:08:25 +02:00
Tim203
582da8b88a
Only check the TeamColor of active objectives 2021-10-20 12:53:09 +02:00
Camotoy
483a336b8a
Fix grindstones and looms on 1.17.40 2021-10-19 13:16:46 -04:00
Camotoy
9de26f2ba1
Play thunder sounds when a lightning entity is spawned
Fixes #2580
2021-10-18 12:58:43 -04:00
RednedEpic
501183b918 Add support for 1.17.40 (v471) 2021-10-17 19:24:27 -05:00
Jens Collaert
7454033277
Register /geyser stop only on standalone (#2569)
We don't want to condone stopping Geyser in the middle of a plugin session, especially when there's no way to start it back up again.
2021-10-13 13:09:19 -04:00
Camotoy
52ef3d392a
Convert ChunkUtils.ChunkData into a record 2021-10-11 21:21:21 -04:00
Camotoy
682e4b3edd
Potion -> Effect from the last commit 2021-10-11 21:16:17 -04:00
Camotoy
02387dc6e2
Fix all blocks not appearing in /setblock; show effect suggestions in commands 2021-10-11 21:14:06 -04:00
Camotoy
265c42fe09
Ignore all entity metadata for player names
The Java client ignores this; only the GameProfile of the player can set this.

Fixes #2563
2021-10-10 14:54:06 -04:00
Camotoy
bf1359cf0c
Various border fixes; adhere to world coordinate scale
Fixes #2552
2021-10-10 11:21:48 -04:00
Tim203
81566d0577
Reset the 'changed' boolean after updating 2021-10-07 20:47:29 +02:00
Tim203
6011520043
Allow scores and teams to update more than once every millisecond 2021-10-07 20:39:23 +02:00
Camotoy
11bc083885
Update MCProtocolLib; add clearer errors for various connection issues
Errors that are a result of online mode and offline mode clashes are now clarified.
Users will now get a clearer message stating that the server is offline.

Resolves #2501
2021-10-07 11:00:43 -04:00
Camotoy
e1085270b8
Don't use Locale class in MessageTranslator
The Minecraft Java client doesn't appear to use any specific locale function in its translating. Just passing a string saves computational time in parsing a locale that will be the same result every time.
Should this be invalid behavior, we should instead cache the Locale class for a player so it doesn't have to be repeatedly calculated.
2021-10-05 18:55:32 -04:00
Camotoy
b65ba2cb52
Update display names for team players after team updates
Resolves #1912
2021-10-05 17:06:15 -04:00
Camotoy
175d9aff48
Don't add sculk sensor to creative items without extended height enabled
Fixes #2564
2021-10-04 08:58:33 -04:00
Camotoy
a5779a716b
Better handling of invalid items in recipe translator
Stonecutter recipes will now be processed correctly, even if an item is modded.

Co-authored-by: Setadokalo <darkenchanter1@gmail.com>
2021-10-03 10:54:00 -04:00
Camotoy
7cd3eb99ef
Always check for a key in Floodgate's folder first on plugin versions
This should avoid people trying to incorrectly copy the key.
2021-10-02 14:00:10 -04:00
Camotoy
f1098a9207
Add Geyser listener into listeners set in BungeeCord
Will fix ViaVersion compatibility when https://github.com/ViaVersion/ViaVersion/pull/2698 gets merged.
2021-10-02 08:53:36 -04:00
Camotoy
b58cbd00bc
Fix edge case in removing below name objectives 2021-10-01 16:38:04 -04:00
Camotoy
86c0c009e7
Add below name scoreboard support
Fixes #1927
2021-10-01 16:24:25 -04:00
Tim203
50896a24e7
Documented the if statement introduced in the previous commit 2021-09-30 23:04:32 +02:00
Tim203
0f81b28630
Fixed GeyserMC/Geyser#2556 2021-09-30 22:16:15 +02:00
Camotoy
59c34fbcae
Properly handle Norwegian locale code differences
Bedrock's code is not the same as Java's code.
2021-09-29 14:49:20 -04:00
Tim203
3323e5732c
Scoreboard improvements (#2078)
* Fixed some Scoreboard bugs and ScoreboardUpdater is now global

* Begin implementing below name support and better name display

* Use final for classes

* Revert "Begin implementing below name support and better name display"

This reverts commit 01babd636a.

* Don't remove objective if we're showing it

* Prevent concurrency exceptions when switching servers

* Properly fix the concurrency issue

* Fix inconsistencies in update cycle

* Few minor changes

* Port over this fix

* Fixed a problem that was introduced yesterday

* Cleanup

* Scores don't have to be removed before removing the objective itself

* Moved away from the general thread pool and some more changes

* Small changes

* Converted switch statements

Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2021-09-29 20:36:27 +02:00
Camotoy
7f4d3def58
Convert GameProfileData to record; remove confusing skin log
`Registering bedrock skin for PLAYERNAME` is now just confusing as it implies something to do with Floodgate's skin system when it's just for Bedrock <-> Bedrock players.
2021-09-28 19:25:34 -04:00
Camotoy
7d176cd669
Fix regressions in handling invalid account cases 2021-09-28 09:46:12 -04:00
Cybornut
4503991d37
Added a couple of comments in config.yml for clarification (#2544)
* Update config.yml

Added commented clarifications on:
1. "remote: address: auto"
2. "remote: auth-type: online"

May need formatting checks to conform with correct annotation

* Update config.yml
2021-09-27 21:51:50 -05:00
Camotoy
43bef851c7
Don't shade any Google dependency
All server platforms have modern enough Google dependencies that nothing should break. Tested with Velocity, BungeeCord, Spigot 1.12.2/1.16.5/1.17.1.
2021-09-26 20:54:44 -04:00
Camotoy
0438aa4709
Comment change in map data translator 2021-09-26 20:54:03 -04:00
David Choo
9a8795988f
Movement checks (#2547)
This avoids ArrayList allocations and https://github.com/GeyserMC/Geyser/issues/2540.
2021-09-26 10:16:22 -04:00
Camotoy
6f4d433561
We don't need to store each individual RGB color for maps 2021-09-25 15:02:08 -04:00
Camotoy
67c93dcc8c
Add new map colors
Also fix our map colors, which appear to in fact be RGB for both Java and Bedrock.

Fixes #2468
2021-09-25 14:56:37 -04:00
Tim203
e8ddac64b4
Merge remote-tracking branch 'origin/feature/floodgate-transfer-players' 2021-09-24 20:38:03 +02:00