Comments (4)
If the duplicated messages are from mods, there is currently not a fix available, at least to my knowledge. Sadly, no guarantees can be made for supporting modded servers as mods tend to introduce quite a few unexpected changes to the game.
from dishorde.
Thanks for the reply.
There is a string in the serveradmin.xml of 7dtd game file:
<apitokens>
<token name="adminuser1" secret="supersecrettoken" permission_level="0" />
</apitokens>
Alternatively, Dishorde can create the user and send game messages on his behalf.
Or may add a config string to Dishorde`s config.json: Chat handled by mod 'name'
In game log:
INF Chat (from 'Steam_xxx', entity id '-1', to 'Global'): 'User': Hello world
INF Chat handled by mod 'name': Chat (from 'Steam_xxx', entity id '196226', to 'Global'): 'User': Hello world
Dishorde is hooked second string ("Chat handled by mod" from config.json) and send it.
Or just ignoring this strings.
from dishorde.
We don't use any active mods, only what is supplied as standard.
We often get the Leave message twice.
Sometimes the first message is cut off, then it just says "Player 'FreeFun' left".
from dishorde.
Thanks for the reply. There is a string in the serveradmin.xml of 7dtd game file:
<apitokens> <token name="adminuser1" secret="supersecrettoken" permission_level="0" /> </apitokens>
Alternatively, Dishorde can create the user and send game messages on his behalf.
Or may add a config string to Dishorde`s config.json: Chat handled by mod 'name' In game log:
INF Chat (from 'Steam_xxx', entity id '-1', to 'Global'): 'User': Hello world INF Chat handled by mod 'name': Chat (from 'Steam_xxx', entity id '196226', to 'Global'): 'User': Hello world
Dishorde is hooked second string ("Chat handled by mod" from config.json) and send it. Or just ignoring this strings.
Is there any possibility we can have an option to do this ?
from dishorde.
Related Issues (20)
- [v2.0.0-rc1] hide-prefix not working HOT 2
- Discord messages not being sent promptly to game HOT 6
- [2.0.0.rc3] Messages with quotes get truncated from Discord to Game HOT 3
- REQ - Use nicknames rather than Discord base names when sending messages to game HOT 2
- Config option allow-multiple-instances does not block extra instances of the bot
- "Server connection: undefined"
- Dishorde 2.0.0 echoing weird stuff in its console HOT 2
- message style HOT 1
- Bot ignoring HOT 2
- Time and Version not working. HOT 2
- INFO command posting empty string
- new command HOT 1
- Docker image HOT 1
- Check for message content intent and warn if disabled HOT 1
- X HOT 1
- Update Module Please HOT 4
- Server Connection shows "connecting..." but never connects.
- Why do these messages appear?
- Duplicated chat messages in discord when players chat in game HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dishorde.