Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public class OutputDeathMessage {
  2. static DeathMessage Default = new DeathMessage("Default","CustomizedDeathMessages.Default","%victim% was shot by arrow", "%victim% was shot by Skeleton", ...);
  3. static String simplemsg;
  4. String Cause;
  5.  
  6. public static void NoKiller(String DeathMsg, Player Victim) {
  7. simplemsg = DeathMsg.replace(Victim.getName(), "");
  8.  
  9. //which attribute of Default contains simplemsg? Set Cause to this Value
  10. //Bukkit.broadcastMessage(CustomDeathMessage.(WhateverTheCauseIs).replace("%victim%", Victim.getName()));
  11.  
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement