mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-28 23:57:27 +02:00
[trunk] {MAILS} in motd will show how many mails
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1339 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
d0dc96542b
commit
c4bf23211f
@ -251,6 +251,7 @@ public class Essentials extends JavaPlugin
|
||||
m = m.replace("{PLAYER}", user.getDisplayName());
|
||||
m = m.replace("{IP}", user.getAddress().toString());
|
||||
m = m.replace("{BALANCE}", Double.toString(user.getMoney()));
|
||||
m = m.replace("{MAILS}", Integer.toString(user.getMails().size()));
|
||||
}
|
||||
|
||||
m = m.replace("{ONLINE}", Integer.toString(getServer().getOnlinePlayers().length));
|
||||
|
@ -89,6 +89,7 @@ motd:
|
||||
- '&fType &c/help&f for a list of commands.'
|
||||
- 'Currently online: {PLAYERLIST}'
|
||||
- 'Did you know that you can make [Disposal] signs with Essentials?'
|
||||
- 'You have {MAILS} mail messages'
|
||||
|
||||
# The server rules, available by typing /rules
|
||||
rules:
|
||||
|
Loading…
Reference in New Issue
Block a user