Skip to content

Commit 81d0426

Browse files
Added floodgate config
1 parent 22be5de commit 81d0426

2 files changed

Lines changed: 67 additions & 0 deletions

File tree

plugins/floodgate/config.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# In Floodgate bedrock player data is send encrypted
2+
# The following value should point to the key Floodgate generated.
3+
# The public key should be used for the Geyser(s) and the private key for the Floodgate(s)
4+
key-file-name: key.pem
5+
6+
# Floodgate prepends a prefix to bedrock usernames to avoid conflicts
7+
# However, certain conflicts can cause issues with some plugins so this prefix is configurable using the property below
8+
# It is recommended to use a prefix that does not contain alphanumerical to avoid the possibility of duplicate usernames.
9+
username-prefix: ""
10+
11+
# Should spaces be replaced with '_' in bedrock usernames?
12+
replace-spaces: true
13+
14+
# The default locale for Floodgate. By default, Floodgate uses the system locale
15+
# default-locale: en_US
16+
17+
disconnect:
18+
# The disconnect message Geyser users should get when connecting
19+
# to the server with an invalid key
20+
invalid-key: Please connect through the official Geyser
21+
# The disconnect message Geyser users should get when connecting
22+
# to the server with the correct key but not with the correct data format
23+
invalid-arguments-length: Expected {} arguments, got {}. Is Geyser up-to-date?
24+
25+
# Configuration for player linking
26+
player-link:
27+
# Whether to enable the linking system. Turning this off will prevent
28+
# players from using the linking feature even if they are already linked.
29+
enabled: false
30+
31+
# Whether to require a linked account in order to be able to join the server.
32+
require-link: false
33+
34+
# Set the following option to true when you want to host your own linking database.
35+
# -> This can work in addition to global linking.
36+
# Note that you have to install a linking database implementation before enabling this, because
37+
# it'll cause errors otherwise.
38+
enable-own-linking: false
39+
40+
# The following three options only apply when 'enable-own-linking' is set to 'true'
41+
42+
# Whether to allow the use of /linkaccount and /unlinkaccount
43+
# You can also use allow specific people to use the commands using the
44+
# permissions floodgate.command.linkaccount and floodgate.command.unlinkaccount.
45+
# This is only for linking, already connected people will stay connected
46+
allowed: true
47+
# The amount of time until a link code expires in seconds.
48+
link-code-timeout: 300
49+
# The player linking database type you want to use. This option is only used when there
50+
# are multiple database implementations found in the configuration directory.
51+
type: sqlite
52+
53+
# Whether to enable global linking. Global Linking is a central server where people can link their
54+
# accounts (Java and Bedrock) and join on servers that have Global Linking enabled. The goal of
55+
# Global Linking is to make linking easier by not having to link your accounts on every server.
56+
# -> Your server-specific linking database will have priority over global linking.
57+
# Global Linking should normally only be disabled when you don't have internet access or when
58+
# you have limited internet access.
59+
enable-global-linking: true
60+
61+
metrics:
62+
enabled: false
63+
uuid: 156f1c29-349a-4157-bd3b-2ed454fbbe22
64+
65+
# Do not change this
66+
config-version: 3

plugins/floodgate/key.pem

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
�o��?5�[���W�F�

0 commit comments

Comments
 (0)