mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 21:25:46 +01:00
Merge remote branch 'upstream/master' into HEAD
This commit is contained in:
commit
73825b4558
@ -15,6 +15,7 @@ components:
|
|||||||
# sendhealth: true
|
# sendhealth: true
|
||||||
# sendposition: true
|
# sendposition: true
|
||||||
# allowwebchat: false
|
# allowwebchat: false
|
||||||
|
# webchat-interval: 5
|
||||||
# hidewebchatip: false
|
# hidewebchatip: false
|
||||||
|
|
||||||
- class: org.dynmap.SimpleWebChatComponent
|
- class: org.dynmap.SimpleWebChatComponent
|
||||||
|
@ -57,6 +57,9 @@ public class JsonFileClientUpdateComponent extends ClientUpdateComponent {
|
|||||||
public void triggered(JSONObject t) {
|
public void triggered(JSONObject t) {
|
||||||
s(t, "jsonfile", true);
|
s(t, "jsonfile", true);
|
||||||
s(t, "allowwebchat", allowwebchat);
|
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>() {
|
plugin.events.addListener("initialized", new Event.Listener<Object>() {
|
||||||
|
Loading…
Reference in New Issue
Block a user