Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I'd like to second TTV's request to write the messages to /all chat stream so that the discord integration can pick it up - would be really nice to see in the discord ingame chat channel when people die/join/etc... Currently we use the ServerMessages mod which posts join and leaving of server to the discord chat (but doesn't have the death post there)...
Would switch directly over to this mod if it could post the info to the /all chat
- Would it be possible to add an option that only the staff/moderator/admin can see the connection messages?
# If checked, every time a player dies a global message will be displayed in the chat
AnnounceDeath=true
1) add the option (?) to write connection/death messages to the /all stream so that integration with Discord works;
2) Is it possible to make the death notification more detailed? Like giving some statistics, how long the character lived, how many he/she killed, weapons, etc.
- Fix error line 56.
- Attempt to fix language encoding.
- Added ES, RU, UA languages.
- Fix server error trying to call nil (should fix the PlayerDied message not showing).
- Added prints to the server log.
- Merged Italian translation branch from Eternity841
- Cleanup and fixes.
- Added timestamp to JSONL objects.
I sent you the information of the error we've been receiving on our dedicated server, since your most recent update, on your github. Full error has been posted in there.
Thank you.
function: doDisconnect -- file: utils.lua line # 38 | MOD: Player Connection Message
function: onServerCommand -- file: MainClient.lua line # 15 | MOD: Player Connection Message
java.lang.RuntimeException: attempted index: getUsername of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
zombie.network.PacketTypes$PacketType.onMainLoopHandlePacketInternal(PacketTypes.java:1028)
at zombie.network.GameClient.mainLoopHandlePacketInternal(GameClient.java:644)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
Callframe at: get
function: OnTick -- file: MainServer.lua line # 50 | MOD: Player Connection Message
ERROR: General , 1687116063021> 269,677,029> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor36.invoke.
ERROR: General , 1687116063021> 269,677,030> DebugLogStream.printException> Stack trace:
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
Caused by: java.lang.IndexOutOfBoundsException: Index 8 out of bounds for length 8
at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source)
I added most requested feature and a log file `PlayerConnectionMessage.jsonl`
If you know how to make a discord bot, you can read lines from that file for post events on discord.
Update: 18 Jun @ 2:05pm
Player Connection Message enhances your server by providing comprehensive announcements for player-related events.
Stay informed about who joins or leaves the server, as well as when players meet their demise or score kills.
The mod also logs these events in JSONL format for convenient analysis.
File can be found on the server at this path:
lua/PlayerConnectionMessage.jsonl
With customizable sandbox settings,
- Hide connection messages for admins, moderators, and staff.
- Hide death and/or kill messages.
- Customize the message colors to suit your preferences.
Hi, @KONIJIMA ! I would like to ask your permission to use your mods in our server modpack. I will give you full credit for your mod in every media I can. If you allow us to do this our community would be very grateful. Thank you !