求助~为什么使用geyser插件的spigot服 手机上只在“局域网游戏”
minecraft吧
全部回复
仅看楼主
level 8
Sapody℃ 楼主
那里可以看见并加入服务器,在添加服务器那里输入ip地址和端口后点击“加入服务器“却显示”无法连接至世界。"
但在开服电脑上的win10版的“局域网游戏”却看不到服务器,点击“添加服务器”后输入ip地址和端口后点击“加入服务器”却又能加入了
[乖]
2021年11月15日 17点11分 1
level 8
Sapody℃ 楼主
2021年11月15日 17点11分 2
level 8
Sapody℃ 楼主
geyser的config.yml
# This option requires a restart of Geyser in order to change its setting.
add-non-bedrock-items: true
# Bedrock prevents building and displaying blocks above Y127 in the Nether -
# enabling this config option works around that by changing the Nether dimension ID
# to the End ID. The main downside to this is that the sky will resemble that of
# the end sky in the nether, but ultimately it's the only way for this feature to work.
above-bedrock-nether-building: false
# Force clients to load all resource packs if there are any.
# If set to false, it allows the user to connect to the server even if they don't
# want to download the resource packs.
force-resource-packs: true
# Allows Xbox achievements to be unlocked.
# THIS DISABLES ALL COMMANDS FROM SUCCESSFULLY RUNNING FOR BEDROCK IN-GAME, as otherwise Bedrock thinks you are cheating.
xbox-achievements-enabled: false
# bStats is a stat tracker that is entirely anonymous and tracks only basic information
# about Geyser, such as how many people are online, how many servers are using Geyser,
# what OS is being used, etc. You can learn more about bStats here: https://bstats.org/.
# https://bstats.org/plugin/server-implementation/GeyserMC
metrics:
# If metrics should be enabled
enabled: true
# UUID of server, don't change!
uuid: 15525b1f-0093-4a72-a396-b41d358c954f
# ADVANCED OPTIONS - DO NOT TOUCH UNLESS YOU KNOW WHAT YOU ARE DOING!
# Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle
# a lot of scoreboard packets per second can cause serious lag.
# This option allows you to specify after how many Scoreboard packets per seconds
# the Scoreboard updates will be limited to four updates per second.
scoreboard-packet-threshold: 20
# Allow connections from ProxyPass and Waterdog.
# See https://www.spigotmc.org/wiki/firewall-guide/ for assistance - use UDP instead of TCP.
enable-proxy-connections: false
# The internet supports a maximum MTU of 1492 but could cause issues with packet fragmentation.
# 1400 is the default.
mtu: 1400
# Whether to connect directly into the Java server without creating a TCP connection.
# This should only be disabled if a plugin that interfaces with packets or the network does not work correctly with Geyser.
# If enabled on plugin versions, the remote address and port sections are ignored
# If disabled on plugin versions, expect performance decrease and latency increase
use-direct-connection: true
config-version: 4
2021年11月15日 17点11分 3
level 8
Sapody℃ 楼主
spigot的sever.properties
enable-jmx-monitoring=false
rcon.port=25575
level-seed=
gamemode=survival
enable-command-block=false
enable-query=false
generator-settings=
level-name=world
motd=\u00E7\u0089\u009B\u00E9\u0080\u00BC\u00E5\u0095\u008A\u00EF\u00BC\u0081\u00EF\u00BC\u0081\u00E7\u0089\u009B\u00E9\u0080\u00BC
query.port=25565
pvp=false
generate-structures=true
difficulty=easy
network-compression-threshold=256
max-tick-time=60000
max-players=20
use-native-transport=true
online-mode=false
enable-status=true
allow-flight=false
broadcast-rcon-to-ops=true
view-distance=10
max-build-height=256
server-ip=127.0.0.1
allow-nether=true
server-port=25565
enable-rcon=false
sync-chunk-writes=true
op-permission-level=4
prevent-proxy-connections=false
resource-pack=
entity-broadcast-range-percentage=100
rcon.password=
player-idle-timeout=0
debug=false
force-gamemode=false
rate-limit=0
hardcore=false
white-list=false
broadcast-console-to-ops=true
spawn-npcs=true
spawn-animals=true
snooper-enabled=true
function-permission-level=2
level-type=default
text-filtering-config=
spawn-monsters=true
enforce-whitelist=false
resource-pack-sha1=
spawn-protection=16
max-world-size=29999984
2021年11月15日 17点11分 4
level 13
你输的ip是哪个?
2021年11月15日 19点11分 5
Java版服务器127.0.0.1:25565 geyser 0.0.0.0:19132
2021年11月16日 02点11分
@Sapody℃ 楼下正解,0.0.0.0代表在所有ip段上监听,不是给你这样用的
2021年11月17日 20点11分
level 11
0.0.0.0不是给你当服务器地址用的,本地开服服务器地址就是127.0.0.1,基岩版连geyser识别端口就用19132,JAVA连spigot识别端口就用25565。能用127.0.0.1的只能是开服的电脑本身自开自连。局域网里的手机基岩版要连服务端,只能用局域网路由器分配给开服的那台电脑的IP+识别端口去连。这只是内网的连法。
2021年11月16日 07点11分 6
@Asiaria 局域网分配的IP是192.168.xx.xx那个吗
2021年11月16日 08点11分
现在内网IP能连上了
2021年11月16日 08点11分
谢了
2021年11月16日 08点11分
fabric怎么办
2022年04月12日 13点04分
level 8
Sapody℃ 楼主
其实有点奇怪,geyser用0.0.0.0就不行🙅,用192.168.x.x就可以,spigot用0.0.0.0就可以,用192.168.x.x就不行。我也不知道怎么回事
2021年11月17日 23点11分 8
1