Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest master #8

Closed
wants to merge 404 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
404 commits
Select commit Hold shift + click to select a range
33e9bab
Merge pull request #1 from rtm516/patch-2
Foorcee Apr 17, 2020
5e9e17e
clean up text
Foorcee Apr 17, 2020
1beea43
remove bytebuffer
Foorcee Apr 17, 2020
03f8074
Update Protocol to v390
rtm516 Apr 17, 2020
a8bc712
Merge pull request #364 from DoctorMacc/master
Redned235 Apr 17, 2020
f97659a
Merge pull request #365 from rtm516/version-update-inventory
Redned235 Apr 17, 2020
06ec02a
Merge pull request #343 from rtm516/patch-1
Redned235 Apr 17, 2020
a8f8de8
Merge pull request #363 from ForceUpdate1/login
Redned235 Apr 17, 2020
18be53e
Merge pull request #362 from ForceUpdate1/brand
Redned235 Apr 17, 2020
0eea637
Merge pull request #359 from ForceUpdate1/rain
Redned235 Apr 17, 2020
206825a
Merge pull request #353 from DoctorMacc/fishing-hook
Redned235 Apr 17, 2020
2386b41
add licence header
Foorcee Apr 17, 2020
52ebb1a
Merge pull request #356 from ForceUpdate1/shulker
Redned235 Apr 17, 2020
4b00159
Merge branch 'master' into inventory
Redned235 Apr 17, 2020
a3cc5ec
Remove sentry since it's unused
Redned235 Apr 18, 2020
672024c
Update supported bedrock version in README
Redned235 Apr 18, 2020
c52b3b6
Merge branch 'master' into inventory
Redned235 Apr 18, 2020
1c0ea9c
fix npe
Foorcee Apr 18, 2020
685df62
code formatting
Foorcee Apr 18, 2020
bd6b4ec
Merge pull request #369 from ForceUpdate1/shulker
Redned235 Apr 18, 2020
e3932cb
fix interact at
Foorcee Apr 18, 2020
7cd941e
Fix BossBars
Foorcee Apr 18, 2020
de9c9b3
reset color
Foorcee Apr 18, 2020
6880507
Fix all block entities being updated as Skulls
rtm516 Apr 18, 2020
3f8d5cc
Merge pull request #373 from rtm516/block-entity-fix
Redned235 Apr 18, 2020
40feb08
Merge pull request #370 from ForceUpdate1/interact
Redned235 Apr 18, 2020
88a1238
add licence header
Foorcee Apr 18, 2020
2dc9a71
Merge pull request #372 from ForceUpdate1/bossbar
Redned235 Apr 19, 2020
46989fb
Reset wolf color, if not tamed
Foorcee Apr 19, 2020
36b549b
Reset wolf color
Foorcee Apr 19, 2020
60abdba
Fix NullPointerException with invalid scoreboard teams
Foorcee Apr 19, 2020
89a7f8f
Removed descriptions from commands
rtm516 Apr 19, 2020
f6aebdd
Merge pull request #381 from rtm516/patch-2
Redned235 Apr 19, 2020
12b99c5
Merge branch 'master' into master
jasoryeh Apr 19, 2020
7d52d8a
Merge pull request #380 from ForceUpdate1/entity
Redned235 Apr 19, 2020
aea1600
Merge pull request #379 from ForceUpdate1/scoreboard
Redned235 Apr 19, 2020
bab2b4a
Pull command descriptions from Bukkit and Sponge versions when listin…
Redned235 Apr 19, 2020
3574212
Merge branch 'master' of https://github.com/GeyserMC/Geyser
Redned235 Apr 19, 2020
d869bd4
Fix command execution on standalone
rtm516 Apr 20, 2020
ba60f92
Merge pull request #383 from rtm516/standalone-commands-fix
Redned235 Apr 20, 2020
7417f57
Fish fixes (#374)
rtm516 Apr 20, 2020
4ee95f5
Move all json to Jackson instead of a mix of 2 libraries (#302)
rtm516 Apr 20, 2020
1b15f30
Javadoc a bit of Geyser (#392)
rtm516 Apr 21, 2020
94ecb2c
Block entity rewrite (#382)
Camotoy Apr 21, 2020
aad4536
Fix /fly command (#396)
Camotoy Apr 21, 2020
daba0d6
Improved the outdated version kick message (#394)
rtm516 Apr 22, 2020
87d2dd9
Update what's left on README
Redned235 Apr 22, 2020
7ca1d1b
Merge pull request #398 from GeyserMC/inventory
Redned235 Apr 22, 2020
e8bf8ff
Fix javadoc related errors
Redned235 Apr 22, 2020
a8805d9
Add a /geyser list command (Closes #342)
Redned235 Apr 22, 2020
733ec2a
Implement Updated Item Translator (#388)
Foorcee Apr 22, 2020
987edbb
Nitpicks and add serverbound sound packet translator
Redned235 Apr 22, 2020
3e15d21
Merge branch 'master' into sound-master
Redned235 Apr 22, 2020
b0a8b92
Add effects support and block break particles/place sounds
Camotoy Apr 23, 2020
09297a4
Update submodules
Redned235 Apr 23, 2020
79185fa
Only send block sounds when a block is being placed
Redned235 Apr 23, 2020
6f7ad4b
Implement Book pages (#408)
Foorcee Apr 23, 2020
59b2805
Fix NPE for unknown enchantments/enchantments not in bedrock
Redned235 Apr 23, 2020
6a8f4df
Add missing license header from EffectUtils
Redned235 Apr 23, 2020
2985580
Bump MCAuthLib to 1.3-SNAPSHOT (#416)
AJ-Ferguson Apr 25, 2020
e82adf2
Implement shield blocking (#395)
OnlyBMan Apr 25, 2020
357b681
Fix movement when far away from the center of the world (#419)
AJ-Ferguson Apr 25, 2020
10c32a1
Request additional information for bug reports (#413)
Camotoy Apr 25, 2020
602166b
Added offhand command (#412)
rtm516 Apr 25, 2020
6cfcab8
Go to stable NukkitX Protocol Lib (#411)
WesleyVanNeck Apr 25, 2020
74f869b
Fix map colors, remove unnecessary array stream (#423)
Gerrygames Apr 25, 2020
36708da
Add message when you try to use creative crafting table (#422)
Camotoy Apr 25, 2020
1a53f53
Added barriers to creative inventory crafting grid (#426)
rtm516 Apr 25, 2020
8b487df
Properly remove players from Geyser playerlist (Fixes #421
Redned235 Apr 25, 2020
61587ec
Use Int2ObjectMap in InventoryCache and JavaServerDeclareCommandsTran…
Redned235 Apr 25, 2020
7320e38
Update mappings
Redned235 Apr 25, 2020
35506f8
Add default copyright to files (#409)
Camotoy Apr 25, 2020
497825d
Fix NPE in console when a sound was missing and clean up nesting
Redned235 Apr 25, 2020
0caecf6
Only add entity to entity cache if ID doesn't exist (#428)
Camotoy Apr 26, 2020
2579189
Fixed spawn egg colours not loading in (#429)
rtm516 Apr 26, 2020
2fabcef
Fixed error when certain items are spawned from the creative inventor…
rtm516 Apr 26, 2020
08b7857
Remove unused imports in GeyserSession
Redned235 Apr 26, 2020
c22eb17
Merge branch 'master' into feature/sounds
Redned235 Apr 26, 2020
efcf739
Merge branch 'feature/sounds' of https://github.com/GeyserMC/Geyser i…
Redned235 Apr 26, 2020
3163ab8
Update mappings (#432)
rtm516 Apr 27, 2020
fc17b7c
Disabled attempted rendering of the globe pattern
rtm516 Apr 27, 2020
7f29710
Automatic ip & port for plugins (#438)
rtm516 Apr 27, 2020
78f2d2c
Added translation to container names (#442)
rtm516 Apr 27, 2020
697e478
Fixed Sponge plugin user auths config loading (#445)
rtm516 Apr 27, 2020
ebbb656
Revert sending message when creative crafting table is used (#440)
Camotoy Apr 27, 2020
87be8c3
Fix Item Name and Lore (#443)
Foorcee Apr 29, 2020
7a9fff1
Fix shulkers being upside down on load (#446)
rtm516 Apr 29, 2020
82433f8
Fix capes (#436)
Foorcee Apr 29, 2020
bea0703
Handle player teleports properly (#389)
rtm516 Apr 29, 2020
31be608
Add block break sounds for blocks with 0 hardness, and refactor some …
Redned235 Apr 29, 2020
1fbb755
Merge branch 'master' into sound-master
Redned235 Apr 29, 2020
364aac7
Fix block break particles not displaying in survival
Redned235 Apr 29, 2020
4d32f6a
Access world manager instead of chunk cache to fix particles on Bukki…
Redned235 Apr 29, 2020
ad596cd
Add sound handlers for block interaction
Redned235 Apr 30, 2020
0ac4789
Don't send sound updates if block of the same type already exists in …
Redned235 Apr 30, 2020
f057edb
Don't show block break animation at all in creative
Redned235 Apr 30, 2020
99880c7
Adds a message if someone runs one of the plugins directly (#457)
rtm516 Apr 30, 2020
2e3f32d
Only replace the first '.' in a message (#463)
rtm516 May 1, 2020
b07161b
Add block values + note block note graphics (#455)
Camotoy May 1, 2020
ff26dca
Start work on entity sounds, other misc implementations/fixes
Redned235 May 2, 2020
99e8ca8
Fix eating sounds and bow sounds
Redned235 May 2, 2020
d7592d8
Add back in explosion translator, add identifier support for sounds
Redned235 May 2, 2020
9846058
Add item frames (#415)
Camotoy May 2, 2020
3370ad3
Merge branch 'master' into feature/sounds
Redned235 May 3, 2020
7f7d89e
Add tnt sounds/particles and support for level event sounds
Redned235 May 3, 2020
692e461
Remove duplicate commands by name (#474)
rtm516 May 3, 2020
9c6ac1b
Auto load floodgate key if floodgate installed and set authtype (#454)
rtm516 May 3, 2020
1aca44e
Fix playsounds
Redned235 May 3, 2020
25d3e07
Map most all missing sounds
Redned235 May 4, 2020
0532d53
Update mappings
Redned235 May 4, 2020
7d67b65
Merge branch 'master' into feature/sounds
Redned235 May 4, 2020
e798ca9
Remove sounds and block particles from TODO on README
Redned235 May 4, 2020
f1c31d1
Merge pull request #458 from GeyserMC/feature/sounds
Redned235 May 4, 2020
d0a2f6a
Fix movement issues #466 (#473)
Foorcee May 4, 2020
da02989
Add friendly display names for DeviceOS (#477)
Camotoy May 4, 2020
3c7e89b
Use Java Edition username when getting player in bukkit world manager
Redned235 May 4, 2020
129e10c
Added automatic git version infomation to startup (#327)
rtm516 May 4, 2020
fcf1949
Fix trapped chests not displaying (#481)
rtm516 May 5, 2020
b49004d
Add block entity translators for Bedrock-only block entities (#478)
Camotoy May 5, 2020
5b3e7c9
Chat/Skin fixes (#480)
james090500 May 5, 2020
eeb4caf
Fix some nested language strings (#482)
rtm516 May 5, 2020
26266bf
Fix black texture of offhand item (Closes #332)
Redned235 May 5, 2020
6642f1e
Fix a few entities not showing up and include identifiers for entitie…
Redned235 May 5, 2020
20bbbee
Remove flower pot debug code
Redned235 May 5, 2020
96a7770
Fixed entity bugs introduced by 6642f1e and added fishing lines (#483)
rtm516 May 5, 2020
7195d20
Implement helper methods for sending packets (#487)
lukeeey May 5, 2020
48147c2
Fix Floodgate players causing errors on Bukkit. (#490)
Camotoy May 5, 2020
425df39
Don't load floodgate if it isn't needed (velocity) (#499)
McMackety May 6, 2020
4c1dae6
Add unusable inventory space message (#492)
lukeeey May 6, 2020
5ae9543
Bedrock to Bedrock legacy skin support (#276)
rtm516 May 6, 2020
f11bae0
Fix signs (#439)
Camotoy May 6, 2020
2355c50
Enderchest and Invisible Players fix. (#506)
james090500 May 8, 2020
edc8ea9
Add slime and magma cube size support
Redned235 May 8, 2020
e58ffdd
Add support for block break animations from java players to bedrock
Redned235 May 8, 2020
7b3893f
Fixed empty listen IPs breaking automatic config (#519)
rtm516 May 9, 2020
d429188
Fallback to ViaVersion to convert block state (#515)
Camotoy May 10, 2020
34d4817
Add visual support for double chests (#523)
Camotoy May 10, 2020
6192237
Add parrots on player shoulders (#530)
Camotoy May 10, 2020
d2a18f8
Remove dangling entity link packet in PlayerEntity for parrots
Redned235 May 10, 2020
cf63098
Add Windows Phone in DeviceOS (Fixes #520)
Redned235 May 10, 2020
720ae3c
Add survival-style block pick support (#526)
Heath123 May 10, 2020
64bfad2
Use Bukkit methods to send block sound (#522)
Camotoy May 10, 2020
f9ee569
Various entity fixes (#529)
rtm516 May 11, 2020
324bc67
Fixed small armour stands not respecting invisibility (#533)
rtm516 May 11, 2020
c84c0f2
Fixed invisible flag not getting set back (#535)
rtm516 May 12, 2020
0c60af6
Fixed customised skins causing strange display (#534)
rtm516 May 12, 2020
d63d0de
Break for loop in GeyserBukkitBlockPlaceListener when a player is fou…
Camotoy May 12, 2020
46b0054
Fixed guardian beam getting stuck on players (#540)
rtm516 May 13, 2020
9673e1e
Use ViaVersion for block placing sounds (#551)
Camotoy May 13, 2020
6aadfb3
Fixed wither shield (#544)
rtm516 May 13, 2020
278f591
Replace illusioners with pillagers (#550)
Camotoy May 13, 2020
d5c1492
Add message when playing record (#549)
Camotoy May 13, 2020
c6527fa
Update README.md
Redned235 May 13, 2020
d4995ac
Add support for absorption (golden hearts) (#553)
Camotoy May 14, 2020
919af52
Fix banner items loosing patterns in inventory (#560)
rtm516 May 15, 2020
2830756
Fixed unusable space being off by 1 (#561)
rtm516 May 15, 2020
1b260c1
Leash fixes (#567)
Camotoy May 15, 2020
b4ecb88
Add air bubble UI support (#569)
Camotoy May 15, 2020
30e38b3
Add basic villager trading support (incomplete)
Redned235 May 17, 2020
3220532
Fixed fishing rod lines not connecting to other players (#580)
rtm516 May 17, 2020
563cde2
Switch to client's translation for jukebox song name. (#573)
Camotoy May 17, 2020
95b7055
Added map icons (#572)
rtm516 May 17, 2020
5771779
Add enchantment table book on chunk load (#568)
Camotoy May 17, 2020
b0d0c16
Fix bossbar causing players to be unable to break blocks or interact …
Redned235 May 17, 2020
43ee7d6
Fixed creepers, giants and eye of ender (#578)
rtm516 May 17, 2020
405ffb2
Added mob spawner block entity data (#587)
rtm516 May 18, 2020
31d3d2e
Add some elder guardian properties (#586)
Camotoy May 18, 2020
fc5230c
Add firework boost for elytras (#552)
OnlyBMan May 18, 2020
fd36930
Add entity event for drowning. (#588)
Camotoy May 19, 2020
c0f678a
Added a docker container IP warning (#584)
rtm516 May 19, 2020
e2d46c3
Work on villager trading
AJ-Ferguson May 19, 2020
95297e4
Update villager xp while trading
AJ-Ferguson May 19, 2020
2366559
Store villager data in the player and fix wandering trader
AJ-Ferguson May 19, 2020
3ab5c69
Updated mappings submodule (#596)
rtm516 May 19, 2020
5fe38fa
Show form window immediately after spawn (#606)
Creeperface01 May 20, 2020
1395b71
Add missing break to JavaEntityStatusTranslator (#600)
Camotoy May 20, 2020
18415d5
Fixed trident display and some arrow related cleanup (#609)
rtm516 May 20, 2020
fbfc987
Fix mapping for Burning Skull painting type (#608)
Camotoy May 20, 2020
83c7858
Fix bug where online mode players couldn't move after logging in (#610)
Camotoy May 20, 2020
a7f363e
Add option for disabling command suggestions; add config version (#598)
Camotoy May 21, 2020
93d15c1
Fix NPE if Bukkit configuration is out of date. (#614)
Camotoy May 21, 2020
61e0e79
Fix /geyser offhand command on Bukkit (#611)
Camotoy May 21, 2020
81d3b0e
Fix painting rotation (#597)
OnlyBMan May 21, 2020
8f01221
Updated to support latest MCProtocolLib (#623)
rtm516 May 23, 2020
1664221
Add optional workaround for >Y128 Nether building (#615)
Camotoy May 23, 2020
fc65327
Adds skin ears from MinecraftCapes.co.uk + Clientside linked account …
rtm516 May 23, 2020
714c450
Add players able to sleep in beds (#575)
Camotoy May 23, 2020
22a1073
Debugging improvements (#585)
Camotoy May 23, 2020
d8d9fb7
Fireworks! (#579)
rtm516 May 23, 2020
59da87a
Merge entity mounts branch to master (#589)
Camotoy May 23, 2020
99f69b3
Rewrite Ping Passthrough (#468)
Camotoy May 23, 2020
0574feb
Fix block breaking animations when in water (Closes #494)
Redned235 May 23, 2020
a49f6fe
Specify API version for Bukkit to stop legacy material loading (Close…
Redned235 May 23, 2020
fe6257b
Check if firework item explosions tag is null (#626)
Camotoy May 24, 2020
681cbee
Add armor stand entity offset (Fixes #627)
Redned235 May 24, 2020
ebd88c7
Don't delay item frame interactions
Redned235 May 24, 2020
7f5414c
Fix painting offset if height is equal to 3 (Fixes #629)
Redned235 May 24, 2020
3d0dbff
Remove effects on world/server change (Fixes #467)
Redned235 May 24, 2020
259be96
Update mappings submodule (Fixes #630)
Redned235 May 24, 2020
2869706
Add null check for shield code (Fixes #644)
Redned235 May 24, 2020
d918139
Check if firework item explosions tag is null (corresponding entity f…
Arktisfox May 24, 2020
6dabc22
Add null check for fireworks tag (Closes #636)
Redned235 May 24, 2020
56d84c2
Reduce nesting in item nbt translators
Redned235 May 24, 2020
0215220
Fix spectator mode
Redned235 May 24, 2020
3a39e9a
Added Crossbow nbt translator (#590)
rtm516 May 24, 2020
7154e1c
Strip Minecraft identifier when playing non-mapped sounds to allow fo…
Redned235 May 24, 2020
6b68bbb
Large refactoring to item translator and registry/util classes
Redned235 May 25, 2020
d0545c5
Fix some fireworks colors and NPE of there is no NBT (#650)
rtm516 May 25, 2020
0178492
Fix some book translation failures (#661)
Arktisfox May 26, 2020
cc6c7fe
When spawning don't add the player offset (#655)
bundabrg May 26, 2020
a929c41
Use authData UUID when sending playerlist packets to the client (#654)
bundabrg May 26, 2020
14fcd77
Fix entities stacking on top of each other when mounted (#660)
Camotoy May 26, 2020
1a92f69
Add byte conversion to allow int NBT values for Fireworks (#681)
rtm516 May 28, 2020
3f76ae1
Add ignore for ServerKeepAlivePacket (#664)
rtm516 May 28, 2020
5c8f6eb
Fix relative teleports (#688)
Heath123 May 29, 2020
64e3204
Implement translator for AdventureSettingsPacket (#691)
Camotoy May 29, 2020
b8a3009
Ignore all downstream packet errors (#693)
Camotoy May 30, 2020
b861587
Add furnace minecart (#712)
rtm516 Jun 1, 2020
215e5a7
Add custom minecart metadata (#713)
Camotoy Jun 1, 2020
ac5ab22
Fix Ender Crystal collision and explosion effects (#716)
rtm516 Jun 1, 2020
5bb345d
Fix new minecart with block breaking furnace minecart display (#717)
rtm516 Jun 1, 2020
05024dd
Don't manually grab MCProtocolLib's dependencies (#720)
AJ-Ferguson Jun 2, 2020
18891a2
Check for instance of TranslationMessage (#722)
Camotoy Jun 2, 2020
3d357af
Inventory Fixes (#602)
AJ-Ferguson Jun 2, 2020
a91eaa7
Add item name translation (#559)
rtm516 Jun 2, 2020
5eef265
Fix display of some more entities (#726)
rtm516 Jun 2, 2020
5fca5d5
Fix position of non-marker invisible armour stands (#697)
rtm516 Jun 3, 2020
69a4cd3
Use static commit of MCProtocolLib (#734)
Camotoy Jun 4, 2020
1d8995e
Add minimum delay between closing and opening a new window (#735)
AJ-Ferguson Jun 4, 2020
ccb44f6
Fix query not following normal MC standards (#736)
rtm516 Jun 5, 2020
4c5d80e
Update to latest master
Camotoy Jun 6, 2020
afb12e9
Show villager display name
Camotoy Jun 6, 2020
96d4754
Merge pull request #740 from GeyserMC/feature/villager-trading
Redned235 Jun 6, 2020
bafe7d4
Update README to not include villager trading in what needs to be imp…
Redned235 Jun 6, 2020
1da130a
Fix initial movement speed (#751)
Heath123 Jun 8, 2020
891490a
Relocate Jackson dependency (#678)
Camotoy Jun 9, 2020
6e127ed
Stop using TrigMath class (#753)
Heath123 Jun 9, 2020
a5eba85
Add ServerPlayerListDataPacket to ignored packets (#755)
rtm516 Jun 10, 2020
7231758
Prevent swimming animation from appearing on older servers (#692)
Camotoy Jun 10, 2020
34b367b
Configuration updates (#653)
Camotoy Jun 10, 2020
7fcd8f2
Fix block entities on older versions (#756)
Camotoy Jun 10, 2020
0d6c330
Fix form images (#771)
rtm516 Jun 14, 2020
649cf28
Fixed incorrectly arguments parsing (#773)
Noxturnix Jun 15, 2020
a6f91d5
Fix maps not loading in sometimes (#758)
rtm516 Jun 15, 2020
256c62c
Entity (mostly rotation) fixes (#675)
Camotoy Jun 16, 2020
9369b20
Add 1.9+ PvP 'Cooldown' (#768)
Camotoy Jun 17, 2020
6388a91
Reset color instead of turning color to white for standalone (#759)
Camotoy Jun 17, 2020
38ee19a
Fix toggle component json generation (#777)
rtm516 Jun 17, 2020
5eb7c9d
Add a setter to the auth type to allow for changing at runtime (#784)
rtm516 Jun 19, 2020
effd760
Clarify Bedrock remote address change (#787)
Camotoy Jun 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ assignees: ''
<!--- Give us the exact output from /version. Saying "latest" does not help us at all. -->

**Geyser Version**
<!--- Give us the exact build number as well as branch if applicable. Saying "latest" does not help us at all. -->
<!--- Give us the exact build number as well as branch if applicable. Saying "latest" does not help us at all. Please also include if you are running the standalone version, or specify which plugin version you are using. If your issue is a connection problem, please specify if you are using the Floodgate plugin. -->

**Minecraft: Bedrock Edition Version**
<!-- The version of your Minecraft: Bedrock Edition client you tested with. -->

**Additional Context**
<!--- Add any other context about the problem here. --->
<!--- Add any other context about the problem here. Include any plugins on the Minecraft server that may cause problems. --->
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: GeyserMC Discord
url: http://discord.geysermc.org/
about: If your issue seems like it could possibly be an easy fix due to configuration, please hop on our Discord.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ nbdist/
# End of https://www.gitignore.io/api/git,java,maven,eclipse,netbeans,jetbrains+all

### Geyser ###
run/
config.yml
logs/
public-key.pem
Expand Down
6 changes: 6 additions & 0 deletions .idea/copyright/Geyser.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/copyright/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@

Geyser is a bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition, closing the gap from those wanting to play true cross-platform.

Geyser is an open collaboration project by [CubeCraft Games](https://cubecraft.net).

## What is Geyser?
Geyser is a proxy, bridging the gap between Minecraft: Bedrock Edition and Minecraft: Java Edition servers.
The ultimate goal of this project is to allow Minecraft: Bedrock Edition users to join Minecraft: Java Edition servers as seamlessly as possible. **Please note, this project is still a work in progress and should not be used on production. Expect bugs!**

### Currently supporting Minecraft Bedrock v1.14.X and Minecraft Java v1.15.2.
Special thanks to the DragonProxy project for being a trailblazer in protocol translation and for all the team members who have now joined us here!

### Currently supporting Minecraft Bedrock v1.14.6(0) and Minecraft Java v1.15.2.

## Setting Up
Take a look [here](https://github.com/GeyserMC/Geyser/wiki#Setup) for how to set up Geyser.
Expand All @@ -28,12 +32,11 @@ Take a look [here](https://github.com/GeyserMC/Geyser/wiki#Setup) for how to set
- Donate: https://patreon.com/GeyserMC

## What's Left to be Added/Fixed
- Inventories ([`inventory`](https://github.com/GeyserMC/Geyser/tree/inventory))
- Crafting ([`inventory`](https://github.com/GeyserMC/Geyser/tree/inventory))
- Creative Mode ([`inventory`](https://github.com/GeyserMC/Geyser/tree/inventory))
- Sounds
- Block Particles
- Block Entities ([`inventory`](https://github.com/GeyserMC/Geyser/tree/inventory))
- The Following Inventories
- [ ] Enchantment Table
- [ ] Beacon
- [ ] Cartography Table
- [ ] Stonecutter
- Some Entity Flags

## Compiling
Expand Down
30 changes: 22 additions & 8 deletions bootstrap/bukkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
<version>1.14-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>us.myles</groupId>
<artifactId>viaversion</artifactId>
<version>3.0.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<finalName>${outputName}-Bukkit</finalName>
Expand All @@ -33,6 +39,18 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifestEntries>
<Main-Class>org.geysermc.platform.bukkit.GeyserBukkitMain</Main-Class>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand All @@ -53,19 +71,15 @@
<pattern>it.unimi.dsi.fastutil</pattern>
<shadedPattern>org.geysermc.platform.bukkit.shaded.fastutil</shadedPattern>
</relocation>
<relocation>
<pattern>com.fasterxml.jackson</pattern>
<shadedPattern>org.geysermc.platform.bukkit.shaded.jackson</shadedPattern>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>com.google.code.gson:*</exclude>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,167 +25,38 @@

package org.geysermc.platform.bukkit;

import org.bukkit.configuration.file.FileConfiguration;
import org.geysermc.common.IGeyserConfiguration;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.Plugin;
import org.geysermc.connector.FloodgateKeyLoader;
import org.geysermc.connector.configuration.GeyserJacksonConfiguration;

import java.io.File;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;
import java.util.Map;

public class GeyserBukkitConfiguration implements IGeyserConfiguration {
@Getter
@JsonIgnoreProperties(ignoreUnknown = true)
public class GeyserBukkitConfiguration extends GeyserJacksonConfiguration {

private FileConfiguration config;
private File dataFolder;
@JsonProperty("floodgate-key-file")
private String floodgateKeyFile;

private BukkitBedrockConfiguration bedrockConfig;
private BukkitRemoteConfiguration remoteConfig;
private BukkitMetricsInfo metricsInfo;
private Path floodgateKey;

private Map<String, BukkitUserAuthenticationInfo> userAuthInfo = new HashMap<>();

public GeyserBukkitConfiguration(File dataFolder, FileConfiguration config) {
this.dataFolder = dataFolder;
this.config = config;

bedrockConfig = new BukkitBedrockConfiguration();
remoteConfig = new BukkitRemoteConfiguration();
metricsInfo = new BukkitMetricsInfo();

if (!config.contains("userAuths"))
return;

for (String key : config.getConfigurationSection("userAuths").getKeys(false)) {
userAuthInfo.put(key, new BukkitUserAuthenticationInfo(key));
}
}

@Override
public IBedrockConfiguration getBedrock() {
return bedrockConfig;
}

@Override
public IRemoteConfiguration getRemote() {
return remoteConfig;
}

@Override
public Map<String, BukkitUserAuthenticationInfo> getUserAuths() {
return userAuthInfo;
}

@Override
public boolean isPingPassthrough() {
return config.getBoolean("ping-passthrough", false);
}

@Override
public int getMaxPlayers() {
return config.getInt("max-players", 10);
}

@Override
public boolean isDebugMode() {
return config.getBoolean("debug-mode", false);
}

@Override
public int getGeneralThreadPool() {
return config.getInt("general-thread-pool", 32);
}

@Override
public boolean isAllowThirdPartyCapes() {
return config.getBoolean("allow-third-party-capes", true);
}

@Override
public String getDefaultLocale() {
return config.getString("default-locale", "en_us");
public void loadFloodgate(GeyserBukkitPlugin plugin) {
Plugin floodgate = Bukkit.getPluginManager().getPlugin("floodgate-bukkit");
floodgateKey = FloodgateKeyLoader.getKey(plugin.getGeyserLogger(), this, Paths.get(plugin.getDataFolder().toString(), plugin.getConfig().getString("floodgate-key-file", "public-key.pem")), floodgate, floodgate != null ? floodgate.getDataFolder().toPath() : null);
}

@Override
public Path getFloodgateKeyFile() {
return Paths.get(dataFolder.toString(), config.getString("floodgate-key-file", "public-key.pem"));
return floodgateKey;
}

@Override
public IMetricsInfo getMetrics() {
return metricsInfo;
}

public class BukkitBedrockConfiguration implements IBedrockConfiguration {

@Override
public String getAddress() {
return config.getString("bedrock.address", "0.0.0.0");
}

@Override
public int getPort() {
return config.getInt("bedrock.port", 25565);
}

@Override
public String getMotd1() {
return config.getString("bedrock.motd1", "GeyserMC");
}

@Override
public String getMotd2() {
return config.getString("bedrock.motd2", "GeyserMC");
}
}

public class BukkitRemoteConfiguration implements IRemoteConfiguration {

@Override
public String getAddress() {
return config.getString("remote.address", "127.0.0.1");
}

@Override
public int getPort() {
return config.getInt("remote.port", 25565);
}

@Override
public String getAuthType() {
return config.getString("remote.auth-type", "online");
}
}

public class BukkitUserAuthenticationInfo implements IUserAuthenticationInfo {

private String key;

public BukkitUserAuthenticationInfo(String key) {
this.key = key;
}

@Override
public String getEmail() {
return config.getString("userAuths." + key + ".email");
}

@Override
public String getPassword() {
return config.getString("userAuths." + key + ".password");
}
}

public class BukkitMetricsInfo implements IMetricsInfo {

@Override
public boolean isEnabled() {
return config.getBoolean("metrics.enabled", true);
}

@Override
public String getUniqueId() {
return config.getString("metrics.uuid", "generateduuid");
}
public boolean isCacheChunks() {
return true; // We override this as with Bukkit, we have direct access to the server implementation
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@

import lombok.AllArgsConstructor;

import org.geysermc.common.logger.IGeyserLogger;
import org.geysermc.connector.GeyserLogger;

import java.util.logging.Level;
import java.util.logging.Logger;

@AllArgsConstructor
public class GeyserBukkitLogger implements IGeyserLogger {
public class GeyserBukkitLogger implements GeyserLogger {

private Logger logger;
private boolean debugMode;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/*
* Copyright (c) 2019-2020 GeyserMC. http://geysermc.org
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* @author GeyserMC
* @link https://github.com/GeyserMC/Geyser
*
*/

package org.geysermc.platform.bukkit;

import org.geysermc.common.main.IGeyserMain;

public class GeyserBukkitMain extends IGeyserMain {

public static void main(String[] args) {
new GeyserBukkitMain().displayMessage();
}

public String getPluginType() {
return "Spigot or Paper (recommended)";
}

public String getPluginFolder() {
return "plugins";
}
}
Loading