geforkt von SteamWar/BungeeCore
Format
Dieser Commit ist enthalten in:
Ursprung
071e88966e
Commit
858e657974
@ -37,7 +37,7 @@ public class PlaytimeCommand extends BasicCommand{
|
||||
if(!(sender instanceof ProxiedPlayer))
|
||||
return;
|
||||
|
||||
String s = Message.parse("TIME_FORMAT", sender);
|
||||
String s = Message.parse("DECIMAL_FORMAT", sender);
|
||||
String format = new DecimalFormat(s).format((SteamwarUser.get((ProxiedPlayer) sender).getOnlinetime() / (double) 3600));
|
||||
|
||||
Message.send(Message.parse("HOURS_PLAYED", sender) + format,sender);
|
||||
|
@ -561,6 +561,4 @@ GDPR_STATUS_FINISHED=§7Packen abgeschlossen
|
||||
|
||||
#Playtime Command
|
||||
HOURS_PLAYED=§7Deine Spielzeit beträgt§8: §e{0}h
|
||||
|
||||
#Player
|
||||
DECIMAL_FORMAT=###,##
|
In neuem Issue referenzieren
Einen Benutzer sperren