Jump to content
  • 1

Message of player killed by another player or leaving the game


Guest

Question

I noticed in the source that there is a message that when the player is killed by another one he gives the following call.

That is not working, when another player kills someone, the message does not appear in the chat.

 

Quote

 public readonly LocalizedString killed = @"{00} has been killed by {01}!";

 

And also when it leaves the server, even configuring, leaving the part blank. The server regenerates the file.

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

The killed string is only used when the admin uses the servers kill command via the admin panel, server console, or the api. If you need that message for PvP then use events.

https://github.com/AscensionGameDev/Intersect-Engine/blob/c85fe3381d2e6db6949aa8188cbd1c1a68b7ac7e/Intersect.Server/Admin/Actions/ActionProcessing.cs#L70

 

The left game message is here. You can remove or comment out this line with //

https://github.com/AscensionGameDev/Intersect-Engine/blob/c85fe3381d2e6db6949aa8188cbd1c1a68b7ac7e/Intersect.Server/Entities/Player.cs#L304

 

Link to comment
Share on other sites

  • 0

I managed in an easier way, changing in the source what it saves in the text when the server opens.,

 

 

   "left": "{00} has left {01}.",

Link to comment
Share on other sites

×
×
  • Create New...