mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 03:35:18 +01:00
Added webchat-interval for JsonFileClientUpdateComponent (which should fix sendmessage.php)
This commit is contained in:
parent
910b963fcd
commit
929a34656b
@ -15,6 +15,7 @@ components:
|
||||
# sendhealth: true
|
||||
# sendposition: true
|
||||
# allowwebchat: false
|
||||
# webchat-interval: 5
|
||||
# hidewebchatip: false
|
||||
|
||||
- class: org.dynmap.SimpleWebChatComponent
|
||||
|
@ -57,6 +57,9 @@ public class JsonFileClientUpdateComponent extends ClientUpdateComponent {
|
||||
public void triggered(JSONObject t) {
|
||||
s(t, "jsonfile", true);
|
||||
s(t, "allowwebchat", allowwebchat);
|
||||
|
||||
// For 'sendmessage.php'
|
||||
s(t, "webchat-interval", configuration.getFloat("webchat-interval", 5.0f));
|
||||
}
|
||||
});
|
||||
plugin.events.addListener("initialized", new Event.Listener<Object>() {
|
||||
|
Loading…
Reference in New Issue
Block a user