more cleanup and more sidebar

This commit is contained in:
Chew committed 2023-11-07 20:24:02 -06:00
1 parent 4accc37e08
commit 953496733f
13 files changed
+131 -368

No files matched your search

-13
View File
@@ -1,13 +0,0 @@
Copyright 2019-2021 Vanessa Sochat
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-35
View File
@@ -1,35 +0,0 @@
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
#gem "jekyll", "~> 4.3.2"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.5"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", group: :jekyll_plugins
# If you have any plugins, put them here!
group :jekyll_plugins do
# gem "jekyll-feed", "~> 0.12"
end
gem 'webrick'
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
end
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
# do not have a Java counterpart.
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
-272
View File
@@ -1,272 +0,0 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.4.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.23.9)
concurrent-ruby (1.2.2)
dnsruby (1.61.9)
simpleidn (~> 0.1)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.8.1)
faraday (2.7.4)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
ffi (1.15.5)
ffi (1.15.5-x64-unknown)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (228)
github-pages-health-check (= 1.17.9)
jekyll (= 3.9.3)
jekyll-avatar (= 0.7.0)
jekyll-coffeescript (= 1.1.1)
jekyll-commonmark-ghpages (= 0.4.0)
jekyll-default-layout (= 0.1.4)
jekyll-feed (= 0.15.1)
jekyll-gist (= 1.5.0)
jekyll-github-metadata (= 2.13.0)
jekyll-include-cache (= 0.2.1)
jekyll-mentions (= 1.6.0)
jekyll-optional-front-matter (= 0.3.2)
jekyll-paginate (= 1.1.0)
jekyll-readme-index (= 0.3.0)
jekyll-redirect-from (= 0.16.0)
jekyll-relative-links (= 0.6.1)
jekyll-remote-theme (= 0.4.3)
jekyll-sass-converter (= 1.5.2)
jekyll-seo-tag (= 2.8.0)
jekyll-sitemap (= 1.4.0)
jekyll-swiss (= 1.0.0)
jekyll-theme-architect (= 0.2.0)
jekyll-theme-cayman (= 0.2.0)
jekyll-theme-dinky (= 0.2.0)
jekyll-theme-hacker (= 0.2.0)
jekyll-theme-leap-day (= 0.2.0)
jekyll-theme-merlot (= 0.2.0)
jekyll-theme-midnight (= 0.2.0)
jekyll-theme-minimal (= 0.2.0)
jekyll-theme-modernist (= 0.2.0)
jekyll-theme-primer (= 0.6.0)
jekyll-theme-slate (= 0.2.0)
jekyll-theme-tactile (= 0.2.0)
jekyll-theme-time-machine (= 0.2.0)
jekyll-titles-from-headings (= 0.5.3)
jemoji (= 0.12.0)
kramdown (= 2.3.2)
kramdown-parser-gfm (= 1.1.0)
liquid (= 4.0.4)
mercenary (~> 0.3)
minima (= 2.5.1)
nokogiri (>= 1.13.6, < 2.0)
rouge (= 3.26.0)
terminal-table (~> 1.4)
github-pages-health-check (1.17.9)
addressable (~> 2.3)
dnsruby (~> 1.60)
octokit (~> 4.0)
public_suffix (>= 3.0, < 5.0)
typhoeus (~> 1.3)
html-pipeline (2.14.3)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (3.9.3)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (>= 0.7, < 2)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (>= 1.17, < 3)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-avatar (0.7.0)
jekyll (>= 3.0, < 5.0)
jekyll-coffeescript (1.1.1)
coffee-script (~> 2.2)
coffee-script-source (~> 1.11.1)
jekyll-commonmark (1.4.0)
commonmarker (~> 0.22)
jekyll-commonmark-ghpages (0.4.0)
commonmarker (~> 0.23.7)
jekyll (~> 3.9.0)
jekyll-commonmark (~> 1.4.0)
rouge (>= 2.0, < 5.0)
jekyll-default-layout (0.1.4)
jekyll (~> 3.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-github-metadata (2.13.0)
jekyll (>= 3.4, < 5.0)
octokit (~> 4.0, != 4.4.0)
jekyll-include-cache (0.2.1)
jekyll (>= 3.7, < 5.0)
jekyll-mentions (1.6.0)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
jekyll-optional-front-matter (0.3.2)
jekyll (>= 3.0, < 5.0)
jekyll-paginate (1.1.0)
jekyll-readme-index (0.3.0)
jekyll (>= 3.0, < 5.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-relative-links (0.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-remote-theme (0.4.3)
addressable (~> 2.0)
jekyll (>= 3.5, < 5.0)
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
rubyzip (>= 1.3.0, < 3.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.8.0)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-swiss (1.0.0)
jekyll-theme-architect (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-cayman (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-dinky (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-hacker (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-leap-day (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-merlot (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-midnight (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-minimal (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-modernist (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-primer (0.6.0)
jekyll (> 3.5, < 5.0)
jekyll-github-metadata (~> 2.9)
jekyll-seo-tag (~> 2.0)
jekyll-theme-slate (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-tactile (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-theme-time-machine (0.2.0)
jekyll (> 3.5, < 5.0)
jekyll-seo-tag (~> 2.0)
jekyll-titles-from-headings (0.5.3)
jekyll (>= 3.3, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
jemoji (0.12.0)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
kramdown (2.3.2)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.4)
listen (3.8.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
minima (2.5.1)
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.18.0)
nokogiri (1.14.3-arm64-darwin)
racc (~> 1.4)
nokogiri (1.14.3-x64-unknown)
racc (~> 1.4)
nokogiri (1.14.3-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.7)
racc (1.6.2)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
simpleidn (0.2.1)
unf (~> 0.1.4)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unf_ext (0.0.8.2-x64-unknown)
unicode-display_width (1.8.0)
webrick (1.8.1)
PLATFORMS
arm64-darwin-22
x64-unknown
x86_64-linux
DEPENDENCIES
github-pages
http_parser.rb (~> 0.6.0)
tzinfo (>= 1, < 3)
tzinfo-data
wdm (~> 0.1.1)
webrick
BUNDLED WITH
2.4.6
-1
View File
@@ -1 +0,0 @@
# Logfile created on 2022-02-20 17:51:46 -0600 by logger.rb/v1.4.3
+2 -2
View File
@@ -2,7 +2,7 @@
title: Floodgate API
---
### Floodgate has an API to extend what is possible and allow servers to get information about the Bedrock client. It also allows other plugins access to [Cumulus](/geyser/forms/)
Floodgate has an API to extend what is possible and allow servers to get information about the Bedrock client. It also allows other plugins access to [Cumulus](/geyser/forms/)
This page will contain information about class FloodgateApi.
See the sidebar for more information about other parts of the API.
@@ -10,8 +10,8 @@ See the sidebar for more information about other parts of the API.
### Accessing the Floodgate API
See [here](/geyser/getting-started-with-the-api) for how to include the Floodgate API in your project.
The Floodgate API has changed in Floodgate 2.0. The most important change is that the API methods are no longer static and instead instance-based, as shown below.
---
The class FloodgateApi is the base class of the API and you need to use it to access any part of the API.
To access it, you simply type:
+7 -1
View File
@@ -2,6 +2,8 @@
title: Common Issues
---
# Common Issues
Commonly, people may have issues with Geyser not showing up in their server list or run into similar issues.
This page contains a few common issues people may encounter that you might have as well as potential fixes for them.
If you still can't make it work, join [our Discord](https://discord.gg/geysermc) for support.
@@ -23,7 +25,11 @@ To fix "Unable to connect to world" with no console errors, see [here](/geyser/f
*If the Geyser instance is locally hosted:* try using `localhost` or `0.0.0.0` as the IP address.
*If that doesn't work, or your Geyser instance is on another computer in the network*: use your **local** IPv4 address.
## See [here](/geyser/fixing-unable-to-connect-to-world/) for fixing "Unable to Connect to World" with no console errors
:::danger
See [here](/geyser/fixing-unable-to-connect-to-world/) for fixing "Unable to Connect to World" with no console errors
:::
### `java.net.BindException: Address already in use: bind` on startup.
This means something (likely another instance of Geyser) is running on the port you have specified in the config. Please make sure you close all applications running on this port. If you don't recall opening anything, usually restarting your computer fixes this.
+13 -6
View File
@@ -4,34 +4,41 @@ title: Creating a Startup Script
# Creating a Startup Script for Geyser-Standalone
**In order for this to work, you MUST have Java 16 (or higher) installed!**
:::caution
In order for this to work, you MUST have Java 16 (or higher) installed!
:::
Once you have downloaded and placed Geyser into its own folder, you will need to create a startup script; similar to how you'd run a Bukkit/Spigot/Paper server.
### Windows
* Create a new text file in the same location as the Geyser-Standalone jar file, and call it `run.bat`. Open this with a text editor (preferably Notepad++), and insert the text below:
```batch
```batch title="run.bat"
@echo off
java -Xms1024M -jar Geyser-Standalone.jar
pause
```
* Double-click the **run.bat**, and Geyser should start up. Geyser will generate all the needed files.
* Double-click the **run.bat**, and Geyser should start up. Geyser will generate all the needed files.
### macOS
* Create a text file called **run.command**, and open it with a text editor such as TextEdit or TextMate. Type the text below into the **run.command** file:
```sh
```sh title="run.command"
#!/bin/bash
cd "$( dirname "$0" )"
java -Xms1024M -jar Geyser-Standalone.jar
```
* Open Terminal, and type in `chmod a+x` **(Do NOT press return!)**, and drag your *run.command* file into the Terminal.
* Press return on your keyboard, and Geyser will start up. Geyser will generate all the needed files.
### Linux
* Create a file called *run.sh*, and open it with a text editor. Type the text below into your `run.sh` file:
```sh
```sh title="run.sh"
#!/bin/sh
cd "$( dirname "$0" )"
java -Xms1024M -jar Geyser-Standalone.jar
+8 -1
View File
@@ -2,7 +2,12 @@
title: Current Limitations
---
With Geyser being a protocol translator between two different games with two different codebases, there are a handful of limitations that Geyser is unfortunately unable to handle. Despite Minecraft Bedrock and Java being quite close in comparison, there are some vast differences in many areas.
# Current Limitations
With Geyser being a protocol translator between two different games with two different codebases, there are a handful of limitations that Geyser is unfortunately unable to handle.
Despite Minecraft Bedrock and Java being quite close in comparison, there are some vast differences in many areas.
## Unfixable
The following things cannot be fixed without changes to Bedrock or the Java protocol in general. As of now, they are not fixable in Geyser.
@@ -27,6 +32,8 @@ The following things cannot be fixed without changes to Bedrock or the Java prot
- Saddled camels unmoveable/unrideable on bedrock.
- Bedrock edition players cannot see the changes to fence block states made by the Java Debug Stick.
## Fixable With GeyserOptionalPack
The following changes **are supported** with the [GeyserOptionalPack](/other/geyseroptionalpack/), which is a Bedrock resource pack you can install for additional functionality for features Bedrock does not natively support:
- Custom armor stand poses
- Illusioners
@@ -3,16 +3,20 @@ title: Geyser Command Line Arguments and System Properties
---
# Geyser Command Line Arguments and System Properties
Geyser offers a few command line arguments/system properties to allow you to configure Geyser without editing the config files.
Additionally, you can suppress some warnings that may be printed to the console.
### Configuration system properties
## Configuration system properties
You can set Geyser to automatically bind to a specific address and port by using the following command line arguments.
This is primarily aimed at server hosting providers to automatically configure servers for users.
<div class="alert alert-info" role="alert">
Note: the Geyser specific properties are prioritized over the plugin properties!
</div>
:::note
The Geyser specific properties are prioritized over the plugin properties!
:::
- ```-DgeyserUdpPort=server``` or ```-DpluginUdpPort=server```
- ```-1``` means UDP is not supported and will forcibly stop Geyser.
@@ -23,12 +27,14 @@ This is primarily aimed at server hosting providers to automatically configure s
- ```server``` means to match the bind address of the TCP server
- any other string will be used as-is for the bind address.
### Disabling warnings and advanced configuration
## Disabling warnings and advanced configuration
You may disable some warnings that may be printed to the console by using the following command line arguments:
<div class="alert alert-danger" role="alert">
Warning: Disabling Geyser warnings from being logged will not fix the real issue! Only disable them if you know what you are doing.
</div>
:::caution
Disabling Geyser warnings from being logged will not fix the real issue! Only disable them if you know what you are doing.
:::
- `-DGeyser.PrintSecureChatInformation=true`
- Allows you to disable the warning about secure chat being disabled.
@@ -49,17 +55,17 @@ You may disable some warnings that may be printed to the console by using the fo
- Allows you to turn off suggestions for teams in the scoreboard command. This is enabled by default, disabling this can help with performance if there are a lot of teams defined.
Setting "command-suggestions" to false in the config will also disable this.
## Geyser-Standalone specific options:
## Geyser-Standalone Specific Options
#### `--config [file]`
### `--config [file]`
- **Alias: `-c`**
- Points to an alternative config file to use.
#### `--gui` / `--nogui`
### `--gui` / `--nogui`
- **Alias: `gui` / `nogui`**:
- Forces GUI or non-GUI usage, depending on context.
### Overriding specific config values
## Overriding specific config values
Overriding a standard config option (e.g. `command-suggestions`):
`--command-suggestions=false`
+4 -3
View File
@@ -2,18 +2,19 @@
title: Global API
---
### Geyser Global API
The Global API is available for every server. It currently includes: [Global Linking](/floodgate/linking/#what-is-global-linking), [skin uploading](/floodgate/features/#what-is-skin-uploading), getting a xuid by gamertag, and getting a gamertag by xuid.
We don't store anything else than you can access by the Global API, except for some non-identifiable metrics. The source code of the Global API is available [here](https://github.com/GeyserMC/global_api) and the source code of the Global Linking server is available [here](https://github.com/GeyserMC/GlobalLinkServer).
As a user of the API, you can get various info about Geyser (or specifically, Floodgate players) that joined any Geyser + Floodgate server before. This includes:
- Conversion methods from a Bedrock gamertag to Bedrock xuid, and vice-versa. Only provides info for players who are in Geyser's cache.
If you need them for all players, you can use a third-party API, e.g. https://mcprofile.io/endpoints, which also provides info from the Geyser Global API.
- Skin info: Whenever a Bedrock player joins via Floodgate, their skin gets converted & uploaded to mineskin. If you want to grab that converted skin, use the xuid of the Bedrock player in this endpoint to get a texture id, or a base64 encoded "value", which you could use directly in e.g. player heads.
- Skin info: Whenever a Bedrock player joins via Floodgate, their skin gets converted & uploaded to mineskin.
If you want to grab that converted skin, use the xuid of the Bedrock player in this endpoint to get a texture id, or a base64 encoded "value", which you could use directly in e.g. player heads.
See the [Global API docs](https://api.geysermc.org/docs) for more info, and detailed usage.
### Examples
## Examples
Here are a few examples of how you could use the Global API.
[GeyserDiscordBot](https://github.com/GeyserMC/GeyserDiscordBot/blob/master/src/main/java/org/geysermc/discordbot/commands/FloodgateUuidCommand.java)
+16 -6
View File
@@ -2,25 +2,35 @@
title: Using Geyser with Consoles
---
# Using Geyser with Consoles
All consoles can join third-party servers - including Geyser servers - with workarounds. Xbox One, Nintendo Switch, and PS4 systems can join third-party servers using a third-party program called BedrockConnect. For technical information about the program, including how to run your own setup, see [their GitHub repository](https://github.com/Pugmatt/BedrockConnect) (*This program is not affiliated with GeyserMC*). Other methods are also available for use.
There is also a tool anyone can set up that allows you to connect to the server via adding a user to your friends list - [FriendConnect](https://github.com/Androecia/FriendConnect), and [MCXboxBroadcast](https://github.com/rtm516/MCXboxBroadcast). The latter one can even be set up as a Geyser Extension.
**NOTE: The main IP used for BedrockConnect is often blocked on consoles, if you run into issues with internet connection or joining servers after changing your DNS, consider using either one of the other BedrockConnect servers on the [BedrockConnect Github Page](https://github.com/Pugmatt/BedrockConnect), or the [Public GeyserConnect](https://www.geyserconnect.net) which allows connecting to both Java and Bedrock servers.**
:::note
# Xbox One
The main IP used for BedrockConnect is often blocked on consoles,
if you run into issues with internet connection or joining servers after changing your DNS,
consider using either one of the other BedrockConnect servers on the [BedrockConnect Github Page](https://github.com/Pugmatt/BedrockConnect),
or the [Public GeyserConnect](https://www.geyserconnect.net) which allows connecting to both Java and Bedrock servers.
:::
## Xbox One
(Video linked below)
[![Xbox One BedrockConnect](https://img.youtube.com/vi/g8mHvasVHMs/0.jpg)](https://www.youtube.com/watch?v=g8mHvasVHMs)
# Nintendo Switch
## Nintendo Switch
(Video linked below)
[![Nintendo Switch BedrockConnect](https://img.youtube.com/vi/zalT_oR1nPM/0.jpg)](https://www.youtube.com/watch?v=zalT_oR1nPM)
# PlayStation 4
## PlayStation 4
1. Go to your PS4 Home screen.
2. Go to Settings.
3. Go to Network.
@@ -30,10 +40,10 @@ There is also a tool anyone can set up that allows you to connect to the server
7. Select Automatic IP Address.
8. For DHCP Host Name, make sure you select Do Not Specify.
9. Under DNS Settings, select Manual.
10. Enter the BedrockConnect IP for the preferred Primary DNS (Multiple options depending on region can be found on the [BedrockConnect Github Page](https://github.com/Pugmatt/BedrockConnect)) and something like Google or Cloudfare's IP for the Secondary DNS (8.8.8.8 or 1.1.1.1).
10. Enter the BedrockConnect IP for the preferred Primary DNS (Multiple options depending on region can be found on the [BedrockConnect GitHub Page](https://github.com/Pugmatt/BedrockConnect)) and something like Google or Cloudflare's IP for the Secondary DNS (8.8.8.8 or 1.1.1.1).
## Alternative Methods
If you'd rather try emulating a LAN game on your network on another device, here's how you'd do that.
*Note that this method will not work with the Nintendo Switch.*
+1
View File
@@ -120,6 +120,7 @@ const config: Config = {
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
additionalLanguages: ['bash', 'batch', 'java'],
},
} satisfies Preset.ThemeConfig,
};
+62 -16
View File
@@ -14,28 +14,73 @@ const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
geyserSidebar: [
'geyser/index',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
label: 'Setup',
link: {
type: 'doc',
id: 'geyser/setup'
},
items: [
'geyser/supported-hosting-providers',
'geyser/using-geyser-with-consoles',
'geyser/playit-gg',
'geyser/creating-a-startup-script'
]
},
{
type: 'category',
label: 'Common Issues',
link: {
type: 'doc',
id: 'geyser/common-issues'
},
items: [
'geyser/fixing-unable-to-connect-to-world'
]
},
{
type: 'category',
label: 'Configuring Geyser',
link: {
type: 'doc',
id: 'geyser/understanding-the-config',
},
items: [
'geyser/commands',
'geyser/geyser-command-line-arguments-and-system-properties'
]
},
{
type: 'category',
label: 'FAQ',
link: {
type: 'doc',
id: 'geyser/faq'
},
items: [
'geyser/anticheat-compatibility',
'geyser/current-limitations'
]
},
],
*/
geyserSidebar: [
'geyser/setup',
'geyser/common-issues',
'geyser/understanding-the-config',
'geyser/faq',
'geyser/custom-items',
'geyser/custom-blocks',
'geyser/custom-skulls',
'geyser/api',
{
type: 'category',
label: 'Geyser API',
link: {
type: 'doc',
id: 'geyser/api',
},
items: [
'geyser/getting-started-with-the-api',
'geyser/events',
'geyser/forms'
],
},
'geyser/extensions',
'geyser/global-api'
],
@@ -45,6 +90,7 @@ const sidebars: SidebarsConfig = {
'floodgate/issues',
'floodgate/faq',
'floodgate/features',
'floodgate/commands',
'floodgate/api',
'floodgate/linking'
],