mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-12-18 06:38:28 +01:00
Cannot use '%'char, replace with tag instead
This commit is contained in:
parent
61735b4941
commit
8f09893337
@ -51,7 +51,7 @@ public class SendMailSSL {
|
||||
final String subject = Settings.getMailSubject;
|
||||
final String smtp = Settings.getmailSMTP;
|
||||
final String password = Settings.getmailPassword;
|
||||
final String mailText = Settings.getMailText.replace("%playername%", auth.getNickname()).replace("%servername%", plugin.getServer().getServerName()).replace("%generatedpass%", newPass);
|
||||
final String mailText = Settings.getMailText.replace("<playername />", auth.getNickname()).replace("<servername />", plugin.getServer().getServerName()).replace("<generatedpass />", newPass);
|
||||
final String mail = auth.getEmail();
|
||||
Bukkit.getScheduler().runTaskAsynchronously(plugin, new Runnable() {
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
<h1>
|
||||
Dear %playername%,
|
||||
Dear <playername />,
|
||||
</h1>
|
||||
|
||||
<p>
|
||||
This is your new AuthMe password for the server %servername%:
|
||||
|
||||
%generatedpass%
|
||||
<generatedpass />
|
||||
|
||||
%image%
|
||||
<image />
|
||||
|
||||
Do not forget to change password after login!
|
||||
/changepassword %generatedpass% newPassword'
|
||||
/changepassword <generatedpass /> newPassword'
|
||||
|
||||
See you on %servername%!
|
||||
See you on <servername />!
|
||||
</p>
|
Loading…
Reference in New Issue
Block a user