Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/doughsay/dynmap2craftirc3
Connects dynmap web chat to CraftIRC
https://github.com/doughsay/dynmap2craftirc3
Last synced: about 1 month ago
JSON representation
Connects dynmap web chat to CraftIRC
- Host: GitHub
- URL: https://github.com/doughsay/dynmap2craftirc3
- Owner: doughsay
- License: other
- Created: 2012-01-19T13:47:44.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-02-01T15:31:35.000Z (almost 13 years ago)
- Last Synced: 2024-04-14T22:12:36.196Z (7 months ago)
- Language: Java
- Homepage: http://dev.bukkit.org/server-mods/dynmap2craftirc3/
- Size: 105 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Dynmap2CraftIRC3
Do you use both dynmap and CraftIRC together? If so you will have noticed that
people chatting in the IRC channel will not see any messages that were sent
from dynmap's webchat feature and vice versa. This annoyed me since it created
many awkward looking one sided conversations, and just caused general confusion
among my players. So I decided to fix it!## What does this do?
This plugin connects CraftIRC 3 to dynmap's webchat. More specifically, it
creates a new tag and endpoint visible to CraftIRC 3. With this plugin loaded,
you can specify communication paths in your CraftIRC 3 config.yml to point to
the tag "dynmap" to allow for chat flow between dynmap's webchat and any IRC
channels that CraftIRC may be connected to.## How do I use it?
### Dependencies
First, you need CraftIRC of at least version 3.1 and dynmap at least version
0.29. It may work with lower versions of dynmap, but that hasn't been tested.
It definitely won't work with CraftIRC 2.### Setup
The only configuration required is in CraftIRC's config.yml. If you have:setting:
...
auto-paths: true
...Then skip this section, it should automatically connect your dynmap webchat
with IRC chat. I Don't recommend this way, as auto-paths seems to always
create double messages for me. If it's false, and you're manually specifying
your communication paths (my preferred method), then you will need to set up
some new paths for this to work:paths:
...
- source: 'yourirctag'
target: 'dynmap'- source: 'dynmap'
target: 'yourirctag'
...### Formatting and Attributes configuration
The dynmap webchat endpoint is configured as a "plain" source, using the event
type "dynmap". So if you wanted to format how the messages appeared, you would
add a section under formatting called "from-plain" with a "dynmap" option, like
so:formatting:
from-game:
...
from-irc:
...
from-plain:
dynmap: '%green%[%source%]%o% %sender%: %message%'Also, in order for the chat events to actually be sent, you must add
"dynmap: true" under the default-attributes section:default-attributes:
...
attributes:
chat: true
action: true
join: true
...
dynmap: true### Using it with CraftIRCDeath
If you would like death messages to also appear in dynmap's webchat, see my
other plugin [CraftIRCDeath](http://dev.bukkit.org/server-mods/craftircdeath/)!## Screenshots
This is what it looks like when you're chatting across the webchat, the game,
and an IRC channel:### Dynmap Webchat
![Dynmap webchat screenshot](http://dev.bukkit.org/media/images/37/669/dynmap.png)### IRC channel
![IRC chat screenshot](http://dev.bukkit.org/thumbman/images/37/670/600x76/irc.png.-m1.png)