Project Zomboid

Project Zomboid

Player Connection Message
45 条留言
Fabi 2024 年 3 月 7 日 上午 7:07 
Hello, could I send the Brazilian Portuguese translation for your mod?
Gestr 2024 年 2 月 27 日 上午 4:24 
The mod say when "player1 killed player2" ? or say player1 has died ?
Nark0t1k 2024 年 1 月 26 日 下午 3:27 
Didn't hide when admin hide is true :/
Lil Boogie 2023 年 9 月 30 日 上午 9:28 
Love your mod man, cept uh it doesnt hide when admin connects haha
mthoms 2023 年 9 月 23 日 上午 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 2023 年 9 月 4 日 上午 8:23 
why do i ticked on Hide Admin then it's still announce when i log in?
Mini Evilness 2023 年 7 月 9 日 上午 5:04 
Thank you, my other server messages was not working anymore :(.
Eternity 2023 年 6 月 24 日 上午 6:30 
Suggestion:

- Would it be possible to add an option that only the staff/moderator/admin can see the connection messages?
KONIJIMA  [作者] 2023 年 6 月 22 日 下午 8: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 2023 年 6 月 22 日 上午 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 2023 年 6 月 20 日 下午 8: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  [作者] 2023 年 6 月 20 日 下午 7:36 
Update: 20 Jun @ 10:35pm
- Fix error line 56.
- Attempt to fix language encoding.
- Added ES, RU, UA languages.
Nandi 2023 年 6 月 20 日 上午 3:57 
@KONIJIMA - disabled it , no disconnects. It's annoying as I really like this mod :(
KONIJIMA  [作者] 2023 年 6 月 19 日 上午 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 2023 年 6 月 19 日 上午 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 2023 年 6 月 19 日 上午 5:27 
@KONIJIMA It would be nice if your mod also implemented this.
KONIJIMA  [作者] 2023 年 6 月 19 日 上午 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 2023 年 6 月 19 日 上午 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  [作者] 2023 年 6 月 19 日 上午 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  [作者] 2023 年 6 月 19 日 上午 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 2023 年 6 月 19 日 上午 1:36 
does this mod display messages through discord integration?
ornox 2023 年 6 月 18 日 下午 10: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 2023 年 6 月 18 日 下午 10: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  [作者] 2023 年 6 月 18 日 下午 6: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 2023 年 6 月 18 日 下午 4:59 
Done, you should see it. Thank you!
KONIJIMA  [作者] 2023 年 6 月 18 日 下午 4:37 
@{9GU}Eternity you can fork the Github repository, and your translations, commit and create a pull request.
Eternity 2023 年 6 月 18 日 下午 4:35 
Hello! I have translated your mod into Italian language. How can I send you the files?
KONIJIMA  [作者] 2023 年 6 月 18 日 下午 4:35 
Update: 18 Jun @ 7:34pm
- Cleanup and fixes.
- Added timestamp to JSONL objects.
Grumpy 2023 年 6 月 18 日 下午 3: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 2023 年 6 月 18 日 下午 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 2023 年 6 月 18 日 下午 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  [作者] 2023 年 6 月 18 日 上午 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  [作者] 2023 年 6 月 18 日 上午 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 2023 年 6 月 2 日 上午 1:47 
Hi! Awesome mod! Question what is the meaning of the colors?
Madforce2k 2022 年 10 月 27 日 下午 9: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 2022 年 8 月 24 日 上午 2:52 
Could maybe remove the word 'is' for grammar <3
TIFFANY 2022 年 8 月 14 日 上午 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 2022 年 7 月 28 日 下午 9: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  [作者] 2022 年 7 月 28 日 下午 8:14 
@ZR sure that couldn't hurt
Z 2022 年 7 月 28 日 下午 8:11 
Hi, can you please add the option to turn of "disconnected" notification?
AndyLoco 2022 年 7 月 28 日 下午 4:08 
Thanks friend ! I will :steamthumbsup:
KONIJIMA  [作者] 2022 年 7 月 28 日 下午 3:52 
@Gas.Pimienta sure go ahead but follow the thread so that you keep up-to-date with the future updates.
AndyLoco 2022 年 7 月 28 日 下午 2: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  [作者] 2022 年 7 月 23 日 下午 12:58 
@TIFFANY thanks for letting me know I'll try to fix that soon.
TIFFANY 2022 年 7 月 23 日 上午 7:02 
Even if Hide Admin is checked, the administrator's login will be notified via chat.