question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Players can use Webchat only when logged in to the minecraft server

See original GitHub issue

Hello, i have set webchat-permissions: true, and the permission check works, blocking chat lines when players do not inherit the dynmap.webchat, but for some strange reason players can enter lines that successfully publish on the bukkit chat only when they are actually connected to the minecraft server.

configuration.txt (here: https://hastebin.com/ilobabelix.vbs)

I wrote here because i cannot find anything to work around and make the chat work for users not logged in to the minecraft server. The plugin version is: Dynmap version: core=2.5-Dev201706100401, plugin=2.5-Dev201706100405 The server version is: Paper version git-Paper-1152 (MC: 1.12) (Implementing API version 1.12-R0.1-SNAPSHOT)

thank you for help

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jwshieldscommented, Sep 11, 2017

If a player logs in, then logs out of the game, can they send messages from webchat?

The important lines are 50-59. If a player logs into the game, their IP is recorded and the messages they send will be matched against that record; if a player hasn’t logged in, or their IP has changed since last logging into the game, the message is ignored. banned players can’t chat at all; and in order to chat from the web, you need to login to dynmap (which means creating an account on the server in game with /dynmap webregister) and the user needs the chat permission in order to be able to send messages.

    # (optional) if true, player login IDs will be used for web chat when their IPs match
    use-player-login-ip: true
    # (optional) if use-player-login-ip is true, setting this to true will cause chat messages not matching a known player IP to be ignored
    require-player-login-ip: true
    # (optional) block player login IDs that are banned from chatting
    block-banned-player-chat: true
    # Require login for web-to-server chat (requires login-enabled: true)
    webchat-requires-login: true
    # If set to true, users must have dynmap.webchat permission in order to chat
    webchat-permissions: true

Also lines 333-336. Users can view the map, but are not required to login; even when not logged in, a chat bar is still presented.

# Enable login support
login-enabled: true
# Require login to access website (requires login-enabled: true)
login-required: false
0reactions
EliSaudercommented, Mar 20, 2019

This appears to be happening again in DynMap 3 beta 3 (1.13.2)

I am also running luckperms for permissions.

@lucko @mikeprimm

Read more comments on GitHub >

github_iconTop Results From Across the Web

Understanding Minecraft Social Features for Child Safety Online
Realms Chat - Realms are personal multiplayer servers that are hosted by Mojang ... Signs - Players can use signs, which are in...
Read more >
[MC-253888] Messages that servers have tampered ... - Mojang
Messages that servers have tampered with through chat reporting are signed and reportable · When the player presses enter to send the chat...
Read more >
Clarification on the new 1.19.1 Chat Reporting (Probably not ...
The messages are only paired to 1.19 players, and only 1.19 players "know" these are signed if on a 1.19 server. Players have...
Read more >
How to Disable Chat Reporting on Your Minecraft Server
Chat reporting was introduced in Minecraft 1.19.1, meaning it only applies to servers running 1.19.1 or higher. You can easily disable chat reporting...
Read more >
DiscordSRV Wiki
By using this plugin, you are able to give players the ability to chat in-game ... people on the Discord server be able...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found