DiscordSRV

DiscordSRV

86.8k Downloads

Dynmap Chat Integration

Scarsz opened this issue ยท 16 comments

commented

Hm...
Dynmap --> Discord is possible.
Discord --> Dynmap seems to be impossible because there is only a method for sending messages which needs a player object. I know that there is a dynmap sendtoweb command but the functionality is missing in the api.

commented

@Androkai Discord --> Dynmap is possible, and the method you mentioned is here https://github.com/webbukkit/DynmapCoreAPI/blob/master/src/main/java/org/dynmap/DynmapCommonAPI.java#L28
I used the method a long time, and it works well. ๐Ÿ˜„

The link you pasted is DynmapAPI which extends DynmapCommonAPI, so the function is exist.

commented

Hello! Just wondering if you've had any joy with the dynmap integration? Thank you

commented

Hello, do you have news about that ?

commented

This isn't going to be added.

commented

When this will be add ?

commented

@Vankka why not? @Androkai and @david50407 suggest that both directions are possible to do. It sucks to only see one side of a conversation that happened between minecraft and dynmap. Is this just too low of a priority?

commented

@Scarsz remember the reason you closed & marked this as no? Or should this be reopened & done in the future?

commented

Dynmapโ€™s API requires a Player instance to send a chat message to the web chat, that isnโ€™t available when people are on Discord while not
on Minecraft

This looks to be different now though, might be worth revising

commented

yeah @david50407 said you can send to web without a player object; the method he linked only needs two strings. (and that file was last updated in 2014...)

commented

Out of date repo, the most current api is under the main repo, still has the same method, though; https://github.com/webbukkit/dynmap/blob/v3.0/DynmapCoreAPI/src/main/java/org/dynmap/DynmapCommonAPI.java#L28

commented

PR #702

commented

thanks for the update, i have an issue.

discord --> dynmap works great

but

dynmap --> discord does not.

is there something to config to get this to work?

commented

This has been added to development builds @ https://snapshot.discordsrv.com
If there are any issues let us know on Discord @ https://discordsrv.com/discord

commented

is there something to config to get this to work?

No, join Discord