File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
src/main/java/net/gcnt/additionsplus/api/utils Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,23 @@ public interface Message {
39
39
*/
40
40
void sendTitle (Player ... players );
41
41
42
+ /**
43
+ * Set whether placeholders should be parsed.
44
+ *
45
+ * @param parse Whether placeholders should be parsed.
46
+ * @return Current {@link Message}.
47
+ */
48
+ Message placeholders (boolean parse );
49
+
50
+ /**
51
+ * Set the player for whom the placeholders should be parsed.
52
+ * Set this to null to keep the players you're sending the message to.
53
+ *
54
+ * @param owner The player for whom the placeholders should be parsed.
55
+ * @return Current {@link Message}.
56
+ */
57
+ Message placeholderOwner (Player owner );
58
+
42
59
/**
43
60
* Send this message as a title.
44
61
*
You can’t perform that action at this time.
0 commit comments