Skip to content

Instantly share code, notes, and snippets.

https://www.youtube.com/watch?v=tniTpUCwCYc
blocked-cmds:
- /pl
- /plugins
@Signifies
Signifies / Inform.java
Last active August 29, 2015 14:07
Custom Player Message Method
/**
* Allows you to use basic Methods in the Player class in your message
* without having to concatenate in Java.
*
* */
static public void informPlayer(String msg, Player val) {
msg = msg.replaceAll("[playername]",val.getName());