mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-30 22:24:06 +01:00
messagettl for chat also in seconds :)
This commit is contained in:
parent
58060137b4
commit
4a2f82a7d6
@ -72,8 +72,8 @@ web:
|
|||||||
|
|
||||||
showchatwindow: true
|
showchatwindow: true
|
||||||
allowwebchat: true
|
allowwebchat: true
|
||||||
webchat-interval: 1000
|
webchat-interval: 5
|
||||||
messagettl: 15000
|
messagettl: 15
|
||||||
|
|
||||||
showplayerfacesonmap: true
|
showplayerfacesonmap: true
|
||||||
showplayerfacesinmenu: true
|
showplayerfacesinmenu: true
|
||||||
|
@ -449,7 +449,7 @@ DynMap.prototype = {
|
|||||||
|
|
||||||
messageRow.append(playerIconContainer,playerNameContainer,playerMessageContainer);
|
messageRow.append(playerIconContainer,playerNameContainer,playerMessageContainer);
|
||||||
//messageRow.append(playerIconContainer,playerWorldContainer,playerGroupContainer,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);
|
messagelist.append(messageRow);
|
||||||
|
|
||||||
me.messagelist.show();
|
me.messagelist.show();
|
||||||
|
Loading…
Reference in New Issue
Block a user