Project Zomboid

Project Zomboid

Player Connection Message
45 kommentarer
Fabi 7. mar. 2024 kl. 7:07 
Hello, could I send the Brazilian Portuguese translation for your mod?
Gestr 27. feb. 2024 kl. 4:24 
The mod say when "player1 killed player2" ? or say player1 has died ?
Nark0t1k 26. jan. 2024 kl. 15:27 
Didn't hide when admin hide is true :/
Lil Boogie 30. sep. 2023 kl. 9:28 
Love your mod man, cept uh it doesnt hide when admin connects haha
mthoms 23. sep. 2023 kl. 1:59 
Hi @KONIJIMA - Very thankful for many of the mods my server uses from your workshop!

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
JuhnWeak 4. sep. 2023 kl. 8:23 
why do i ticked on Hide Admin then it's still announce when i log in?
Mini Evilness 9. juli 2023 kl. 5:04 
Thank you, my other server messages was not working anymore :(.
Eternity 24. juni 2023 kl. 6:30 
Suggestion:

- Would it be possible to add an option that only the staff/moderator/admin can see the connection messages?
KONIJIMA  [ophavsmand] 22. juni 2023 kl. 20:18 
@TTV/q587p well pz already have a player death announcement. So the mod add one is not that usefull, but I will add new options eventually. My other mod Player Death Message is doing that already. Just enable what you need. The server option doesn't effect the mod in anyway. So you would get double messages if you enabled both.
Kyjivan BookDragon 22. juni 2023 kl. 7:44 
To get translated message about death in pzserver.ini this option must be false?

# If checked, every time a player dies a global message will be displayed in the chat
AnnounceDeath=true
Kyjivan BookDragon 20. juni 2023 kl. 20:12 
Suggestions:

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.
KONIJIMA  [ophavsmand] 20. juni 2023 kl. 19:36 
Update: 20 Jun @ 10:35pm
- Fix error line 56.
- Attempt to fix language encoding.
- Added ES, RU, UA languages.
Nandi 20. juni 2023 kl. 3:57 
@KONIJIMA - disabled it , no disconnects. It's annoying as I really like this mod :(
KONIJIMA  [ophavsmand] 19. juni 2023 kl. 10:34 
@crayven_ady i supose you could try without the mod and see if that happens still I don't see how this mod would disconnect players tho.
Nandi 19. juni 2023 kl. 6:44 
@KONIJIMA no error - they just get randomly dc after I updated the mod. Something must have broken as this is the only mod that changed. :(
RedLink-kam 19. juni 2023 kl. 5:27 
@KONIJIMA It would be nice if your mod also implemented this.
KONIJIMA  [ophavsmand] 19. juni 2023 kl. 5:23 
@RedLink-kam that mod send a player message. It is not the same as sending a custom message. Tho I will have a look and see what I can do.
RedLink-kam 19. juni 2023 kl. 4:54 
you're not quite right. for example, this mod sends messages to the discord about the entry / exit of players from the game chat. - 2759895539
KONIJIMA  [ophavsmand] 19. juni 2023 kl. 4:24 
This mod doesn't support discord integration because Project Zomboid doesn't allow sending custom chat message this way. The only way that it would be possible is to that the message is sent by a player itself, in which case case cannot be customized.
KONIJIMA  [ophavsmand] 19. juni 2023 kl. 4:19 
I am currently testing everything on a dedicated server, and so far, it is functioning correctly without any errors. However, I encourage all of you to please share any errors you encounter, so we can address them promptly and move forward.
RedLink-kam 19. juni 2023 kl. 1:36 
does this mod display messages through discord integration?
ornox 18. juni 2023 kl. 22:58 
Same issue as below, man, a lot of people use this mod on stable running dedicated servers... can we at least get the old version for stability? Jesus.
Nandi 18. juni 2023 kl. 22:39 
Last update fucked it. Now players are getting disconnected like crazy and the mod causes 20-30 errors everytime someone logs or delogs. :(
KONIJIMA  [ophavsmand] 18. juni 2023 kl. 18:22 
Update: 18 Jun @ 8:56pm
- 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
Eternity 18. juni 2023 kl. 16:59 
Done, you should see it. Thank you!
KONIJIMA  [ophavsmand] 18. juni 2023 kl. 16:37 
@{9GU}Eternity you can fork the Github repository, and your translations, commit and create a pull request.
Eternity 18. juni 2023 kl. 16:35 
Hello! I have translated your mod into Italian language. How can I send you the files?
KONIJIMA  [ophavsmand] 18. juni 2023 kl. 16:35 
Update: 18 Jun @ 7:34pm
- Cleanup and fixes.
- Added timestamp to JSONL objects.
Grumpy 18. juni 2023 kl. 15:28 
Hello!

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.
pompous 18. juni 2023 kl. 12:23 
`attempted index: getUsername of non-table: null
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)
pompous 18. juni 2023 kl. 12:21 
this is triggering error after error on my server console.

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)
KONIJIMA  [ophavsmand] 18. juni 2023 kl. 11:18 
This is a complete rewrite so any feedback is appreciated.
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.
KONIJIMA  [ophavsmand] 18. juni 2023 kl. 11:07 
Mod has been updated.

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.
Haek 2. juni 2023 kl. 1:47 
Hi! Awesome mod! Question what is the meaning of the colors?
Madforce2k 27. okt. 2022 kl. 21:08 
Is there any way that this can integrate with the discord integration? So you can see join/leave as well as normal chat?
buffy 24. aug. 2022 kl. 2:52 
Could maybe remove the word 'is' for grammar <3
TIFFANY 14. aug. 2022 kl. 5:47 
Sorry for repeating. I have been able to turn off the display when logging in, but the display is still there when logging out.
AndyLoco 28. juli 2022 kl. 21:04 
Hey KONIJIMA Im having a problem and maybe you can help me, my mod settings in the sandbox option are resetting everytime I restart the server and its really frustating, do you know why this could be or how to fix it ?
KONIJIMA  [ophavsmand] 28. juli 2022 kl. 20:14 
@ZR sure that couldn't hurt
Z 28. juli 2022 kl. 20:11 
Hi, can you please add the option to turn of "disconnected" notification?
AndyLoco 28. juli 2022 kl. 16:08 
Thanks friend ! I will :steamthumbsup:
KONIJIMA  [ophavsmand] 28. juli 2022 kl. 15:52 
@Gas.Pimienta sure go ahead but follow the thread so that you keep up-to-date with the future updates.
AndyLoco 28. juli 2022 kl. 14:42 
Permission Request:
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 !
KONIJIMA  [ophavsmand] 23. juli 2022 kl. 12:58 
@TIFFANY thanks for letting me know I'll try to fix that soon.
TIFFANY 23. juli 2022 kl. 7:02 
Even if Hide Admin is checked, the administrator's login will be notified via chat.