Digital Paint Discussion Board
Paintball 2: The Game => Server Discussion => Topic started by: x_chow on June 22, 2019, 12:33:51 PM
-
Hello!
Introduction
Today I am pleased to release the first version of my script, which was done in collaboration with whoa.
It routes ingame chat to discord and vice versa.
You need to have a discord bot added to a discord server in order to use it.
WARNING: it does not work with the current pip-provided version of dplib. Also, it does not work with python >= 3.7
You have to wait a few weeks until the new version of dplib gets released.
Feature details
- - displays ingame messages in a specific discord channel
- - displays discord messages ingame
- - neat colors using syntax highlighting
- - no abuse / spam prevention system yet
Future plans
I plan to make a version which interconnects ingame chat and multiple discord channels located on different servers.
For this however, it is required that everyone uses the same discord bot. This is a broader topic, and is harder to achieve. I am open to suggestions.
Screenshots
(https://i.ibb.co/LRBQCN6/Unbenannt2.png) (https://ibb.co/Jt8xz32)
Source / download: https://github.com/aapokaapo/DP2scripts/tree/master/DP2-Discord-Connector (https://github.com/aapokaapo/DP2scripts/tree/master/DP2-Discord-Connector)
Enjoy.
-
Nice!
-
This is really nice and I would use it, but I don't like one thing. That it can get really chaotic ingame if you see all messages. If it could show only messages sent to you, that would be ideal.
-
Nice one!
I will try to find some time to release an updated version of DPLib.
What's the problem with python >= 3.7?
Is it on dplib's part?
-
Sorry for being late.
Apparently python 3.7 introduced some backwards incompatible changes in async.
I am not a python expert, I think this is the relevant page: https://docs.python.org/3/whatsnew/3.7.html