« Dynmap » : différence entre les versions
Aller à la navigation
Aller à la recherche
mAucun résumé des modifications |
|||
Ligne 1 : | Ligne 1 : | ||
{{Infobox Plugin| image = Dynmap_logo.png| catégorie = map dynamique | dev = mikeprimm, FrozenCow2 | bukkit = dynmap | grade = Intendant | status = installé|}} | {{Infobox Plugin| image = Dynmap_logo.png| catégorie = map dynamique | dev = mikeprimm, FrozenCow2 | bukkit = dynmap | grade = Intendant | status = installé|}} | ||
'''Dynmap''' est le plugin qui nous permet d'obtenir une [http://nefald.fr:8123/# carte dynamique] de l'ensemble de nos mondes. | |||
== Commandes et permissions == | |||
* <code>/dynmap quiet</code> - retirer les alertes lors des rendus de map | |||
Ligne 5 : | Ligne 10 : | ||
=== Lighttpd === | === Lighttpd === | ||
;Dans <code>configuration.txt</code> | ;Dans <code>configuration.txt</code> cherchez : | ||
<syntaxhighlight lang="robots"> | <syntaxhighlight lang="robots"> | ||
- class: org.dynmap.InternalClientUpdateComponent | - class: org.dynmap.InternalClientUpdateComponent | ||
Ligne 17 : | Ligne 22 : | ||
</syntaxhighlight> | </syntaxhighlight> | ||
;par | ;et remplacez par | ||
<syntaxhighlight lang="robots"> | <syntaxhighlight lang="robots"> | ||
#- class: org.dynmap.InternalClientUpdateComponent | #- class: org.dynmap.InternalClientUpdateComponent |
Version du 31 décembre 2013 à 09:19
Dynmap | ||||
---|---|---|---|---|
Dynmap | ||||
Plugin | ||||
Catégorie | map dynamique [edit] | |||
Développeur(s) | mikeprimm, FrozenCow2 | |||
Bukkit | dynmap | |||
Nefald | ||||
Status | installé [edit] | |||
Grade requis | Intendant | |||
Article | ||||
Dernière révision | 31/12/2013 |
Dynmap est le plugin qui nous permet d'obtenir une carte dynamique de l'ensemble de nos mondes.
Commandes et permissions
/dynmap quiet
- retirer les alertes lors des rendus de map
Utiliser un serveur web externe
Lighttpd
- Dans
configuration.txt
cherchez
- class: org.dynmap.InternalClientUpdateComponent
sendhealth: true
allowwebchat: true
webchat-interval: 5
#- class: org.dynmap.JsonFileClientUpdateComponent
# writeinterval: 1
# sendhealth: true
# allowwebchat: false
- et remplacez par
#- class: org.dynmap.InternalClientUpdateComponent
# sendhealth: true
# allowwebchat: true
# webchat-interval: 5
- class: org.dynmap.JsonFileClientUpdateComponent
writeinterval: 1
sendhealth: true
allowwebchat: false
To disable the internal updating mechanism and enable the json-file updating mechanism. This will write to the file standalone/dynmap_world.json in your web-path at an interval that is specified with writeinterval.
Copy your files in plugins/dynmap/web to a directory of your webserver. Change configuration.txt so that it points with both tilespath and webpath to the paths where you placed the web-files. For *nix
# The path where the tile-files are placed.
tilespath: /path/to/web/server/dynmap/web/tiles
# The path where the web-files are located.
webpath: /path/to/web/server/dynmap/web
server.modules = ( "mod_access",
"mod_rewrite",
"mod_proxy",
"mod_fastcgi"
)
alias.url += ( "/dynmap/tiles/" => "/home/minecraft/minecraft_server/plugins/dynmap/web/tiles/" )
url.rewrite-once += (
"^/dynmap/up/(.*)" => "/up/$1",
"^/dynmap/standalone/(.*)" => "/standalone/$1"
)
$HTTP["url"] =~ "^/up/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 8123 )) )
}
$HTTP["url"] =~ "^/standalone/" {
proxy.server = ( "" => (( "host" => "127.0.0.1", "port" => 8123 )) )
}