mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-28 19:47:45 +01:00
messagettl for chat also in seconds :)
This commit is contained in:
parent
58060137b4
commit
4a2f82a7d6
@ -72,8 +72,8 @@ web:
|
||||
|
||||
showchatwindow: true
|
||||
allowwebchat: true
|
||||
webchat-interval: 1000
|
||||
messagettl: 15000
|
||||
webchat-interval: 5
|
||||
messagettl: 15
|
||||
|
||||
showplayerfacesonmap: true
|
||||
showplayerfacesinmenu: true
|
||||
|
@ -449,7 +449,7 @@ DynMap.prototype = {
|
||||
|
||||
messageRow.append(playerIconContainer,playerNameContainer,playerMessageContainer);
|
||||
//messageRow.append(playerIconContainer,playerWorldContainer,playerGroupContainer,playerNameContainer,playerMessageContainer);
|
||||
setTimeout(function() { messageRow.remove(); }, me.options.messagettl);
|
||||
setTimeout(function() { messageRow.remove(); }, (me.options.messagettl * 1000));
|
||||
messagelist.append(messageRow);
|
||||
|
||||
me.messagelist.show();
|
||||
|
Loading…
Reference in New Issue
Block a user