Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add killed player's names to screenshot filenames. #6338

Closed
wants to merge 1 commit into from
Closed

Add killed player's names to screenshot filenames. #6338

wants to merge 1 commit into from

Conversation

critzd
Copy link
Contributor

@critzd critzd commented Nov 4, 2018

Resolves #6215.

Feature adds the killed player's name to the filename, as is seen in examples below.
Also added the full set of death messages, found here via Mod Ash's twitter, credit to @NathanQuayle for pushing for that information.

Feature Demo

image
2018-11-04_03-22-37

chatMessage = chatMessage.replace(killMessage, "");
}
}
for (String killMessageTrim:KILL_MESSAGE_TRIM)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this won't work if the player's name contains any of these strings

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah, jumped the gun on this one thinking I had a solid solution. I'll give it another look over in the morning to fix that.

@critzd critzd closed this Nov 4, 2018
@critzd critzd deleted the screenshot-pvp-kill-add-name branch November 8, 2018 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants