欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“Dynmap”的源代码
←
Dynmap
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
{{Bukkit Plugin Infobox |版本=v1.5.5.7 |前置插件=[[Vault]] |兼容服务端版本=全版本 |原帖=https://dev.bukkit.org/bukkit-plugins/dynmap/ }} {{待翻译}} 来源:[https://github.com/webbukkit/dynmap/wiki/ wiki], [https://dev.bukkit.org/bukkit-plugins/dynmap/ bukkit] [[Category:管理]] [[Category:网页]] [[Category:信息]] =简介= Dynmap是一个可以用网页浏览的、像谷歌地图一样的动态地图插件。Dynmap的网页结构是建立在整个MineCraft游戏之外的,非常实用和易用,Dynmap也可应用于基于Apache类软件的网页。 <br /> Dynmap可以用不同的渲染图层渲染你的服务器世界地图, 有些适合于展示, 有些有着更多的地图细节。 这个插件的原始项目是由 k-zed.开发给 hMod 的。 插件的部件可供你按照自己的需要添加/删除功能,使用Dnymap支持的部件,包括聊天泡泡, 网页-游戏聊天, 和可配置的标记, 标签, 下换线。 [[文件:Dynmap.png]] ==功能== * 每个游戏世界深度可设置的地图 * 实时更新:地图总是和服务器世界实时同步,当你打开着你的网页时更新一直会显示 * 玩家和他们的头像在地图上可见 * 地图上的聊天信息可见 (显示在聊天泡泡或者聊天框里) * 地图浏览者能和游戏内的玩家聊天 * 实时Minecraft时间在地图上可见 * 实时Minecraft季节在地图上可见 * WorldGuard, Residence, Towny 和 Factions regions 插件都能在地图上可见 (需要相应版本的 Dynmap-* 补丁) 总的来说高度可配置和可定制化 ==安装== 复制dynmap-*.jar 进你的补丁文件夹. 如果用于更新, 删除之前安装的 dynmap-*.jar - 你不需要删除任何补丁/地图文件夹或者它的文件。 如果你正在运行一个独立网页服务器 (比如 Apache) 你可能需要先复制文件'plugins/dynmap/web/' 到你的http-root的一个文件夹,里然后再执行此教程。升级时,请确保你也升级了被复制的文件。 ==第一次使用== 当你开启 CraftBukkit 时, 你应该可以在浏览器里跳转到 http://yourserverip:8123/(http://你服务器的IP:8123/)。 如果你是用你现在正在使用的PC来运行 CraftBukkit, 你可以跳转到 http://localhost:8123/。 <br /> 你应该能够看到在游戏内的玩家。 需要注意的是此时地图还未被渲染, 所以背景应该是黑色的。<br /> 如果你计划使用高清渲染, 现在你就可以着手做这件事了。开启configuration.txt顶端的 'deftemplatesuffix: hires' 。更多关于deftemplatesuffix的信息可在基础补丁设置查看。<br /> 如果你只是想让Dynmap有效, 在游戏里使用这个命令 /dynmap fullrender。 wiki上有更多关于命令和权限的内容。<br /> 地图此时应该会显露出来,给它一些时间。程序信息之后会显示 Dynmap 正在工作 (Dynmap is working) 和 渲染已完成 (render is completed)。 ==相关== [http://forums.bukkit.org/threads/misc-dynmap-v0-12-1-realtime-minecraft-maps-314.489/ Bukkit论坛 (已失效)] [http://dev.bukkit.org/server-mods/dynmap/ Bukkit项目页面] IRC: irc://irc.esper.net/#dynmap (via web) =如何使用== ==在无内部网页服务器环境使用== This page assumes *You are reasonably experienced with the standalone web server you are using. *You have the standalone web server and CraftBukkit running on the same machine. *Your Web Server supports PHP. (Only needed for web-to-Minecraft chat) *If you are on Linux, you should know how to use the terminal and chmod. Change the following: - class: org.dynmap.InternalClientUpdateComponent sendhealth: true allowwebchat: true webchat-interval: 5 #- class: org.dynmap.JsonFileClientUpdateComponent # writeinterval: 1 # sendhealth: true # allowwebchat: false To: #- 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 Or for Windows The path where the tile-files are placed. tilespath: c:\\path\\to\\web\\server\\dynmap\\web\\tiles The path where the web-files are located. webpath: c:\\path\\to\\web\\server\\dynmap\\web Now restart your Minecraft server. Join your Minecraft server and place a few blocks (randomly) to trigger dynmap to generate tiles for your map. You can also type dynmap fullrender worldname in your server console to render the whole world with the name worldname. Now refresh your browser. It should now display online players on http://mywebserver/dynmap/, keeping them up-to-date. === Troubleshooting === <br /> If you don't see any tiles on the map, check the tiles directory to see whether they get actually generated. If there are no tiles, it is likely that Minecraft does not have rights to write the tiles in the web-path directory your chose. Another possibility is that you have not filled in tilespath correctly. If you don't see any players or don't see the players moving, go to http://mywebserver/standalone/dynmap_world.json (where world is the name of your world). You should see some code and hitting refresh every few seconds should change that code (the servertime should be updated). If this file is not there or you don't see the file changing, you likely have filled in the wrong webpath in the configuration. In Linux, if web-to-mc-chat does not work, you also need to chmod the 'standalone' folder to 775 or 777: $ chmod -R 775 standalone This is to allow sendmessage.php to create the jsonfile. This is needed because its your Web Server creating the file and not the minecraft server. If web-to-mc-chat does not work on IIS, you likely need to install PHP. ==在Linux环境使用== This page assumes: * Your Minecraft-server directory to be: /opt/minecraft_server/. * You have the latest CraftBukkit installed. * Your Minecraft server is hosted at localhost. To install and test dynmap: *Copy the file dynmap.jar and the folder dynmap to /opt/minecraft_server/plugins/. * (Re)start your Minecraft server. * Join your Minecraft server. * Place a few blocks. * Open up your browser. * Navigate to http://localhost*:8123/. You should see your map with your name in the top-left. Once you click on your name, the map will pan to your location and your should see a part of the map that has been generated. ===Publishing=== If you want the map to be accessible for others, you have two options: * Forward an external port to your internal minecraft server with TCP port 8123. For more information on port-forwarding: http://portforward.com/. * Host the map partly on your big webserver. Note that the webserver must already have access to the Minecraft server. See below. ===Big Webservers=== If you are hosting a Apache or lighttpd server, you might want to be able to get to the Dynmap-map from the same url as your website. Like http://www.yourwebsite.com/dynmap/ instead of http://www.yourwebsite.com:8123/. If this is the case, you can pick your webserver from the list below. * apache2 under Debian/Ubuntu: Setting up Dynamic Map with Apache2 under Debian * apache/httpd under Arch Linux: Setting up Dynamic Map with apache/httpd under Arch Linux * lighttpd under Arch Linux: Setting up Dynamic Map with lighttpd under Arch Linux * nginx Setting-up-with-Nginx-server-on-Centos (courtesy of LukeHandle) ==在Windows环境使用== This page assumes: *Your Minecraft-server directory to be: D:\minecraft_server\. *You have the latest CraftBukkit installed. *Your Minecraft server is hosted at localhost. To install and test dynmap: *Copy the file dynmap.jar and the folder dynmap from the zip-file to D:\minecraft_server\plugins\. (Re)start your Minecraft server. *Join your Minecraft server. *Place a few blocks. *Open up your browser. *Navigate to http://localhost:8123/. You should see your map with your name in the top-left. Once you click on your name, the map will pan to your location and your should see a part of the map that has been generated. ===Publishing=== If you want the map to be accessible for others, you have two options: *Forward an external port to your internal minecraft server with TCP port 8123. For more information on port-forwarding: http://portforward.com/. *Host the map partly on your big webserver. Note that the webserver must already have access to the Minecraft server. See below. Big Webservers If you are hosting a IIS or any other webserver, you might want to be able to get to the Dynmap-map from the same url as your website. Like http://www.yourwebsite.com/dynmap/ instead of http://www.yourwebsite.com:8123/. If this is the case, you can pick your webserver from the list below. *IIS: Setting up Dynamic Map with IIS using URL rewrite and ApplicationRequestRouting (thanks to Kekec852!) *IIS: Setting up Dynamic Map with IIS (This is not really a list eh? If you have another server and know how to configure it, please add it to the wiki) ==在虚拟主机环境使用== In general, this does not work, as the providing of tile files by Dynmap for serving by the host's web server typically requires file system access (versus the FTP or SFTP based file delivery most hosting services allow). Below are some links to unofficial procedures that some of our users have successfully used with specific hosting solutions: Dynmap On Xenon Hosting Service, courtesy of mavbear ===[https://github.com/webbukkit/dynmap/wiki/Configuration/ 插件设置]=== *[https://github.com/webbukkit/dynmap/wiki/Base-Plugin-Settings/ 基础补丁设置] *[https://github.com/webbukkit/dynmap/wiki/Component-Configuration/ 部件配置] *[https://github.com/webbukkit/dynmap/wiki/World-and-template-settings/ 世界及模板设置] *[https://github.com/webbukkit/dynmap/wiki/HD-Map-Configuration/ 高清地图配置] *[https://github.com/webbukkit/dynmap/wiki/Support-for-MinecraftForge-based-mods/ 基于Forge的支持] *[https://github.com/webbukkit/dynmap/wiki/Support-for-Minecraft-Servers-other-than-CraftBukkit/ 基于CraftBukkit外其他服务端的支持] ==[https://github.com/webbukkit/dynmap/wiki/Commands/ 命令]== {{Hide|标题=命令列表 |内容= Hiding and showing players<br /> /dynmap hide: Hides the player from the map.<br /> /dynmap hide thedude: Hides the player thedude from the map.<br /> /dynmap show: Shows the player on the map again.<br /> /dynmap show thedude: Shows the player thedude on the map again.<br /> Rendering /dynmap render: renders one tile of the map where you are standing.<br /> /dynmap fullrender: Attempts to render all maps of the entire world from your location (or from the center of that world, if issued from the server console).<br /> /dynmap fullrender world: Attempts to render all maps of the world named world from the center of that world.<br /> /dynmap fullrender world:surface: Attempts to render the map named surface for the world named world from the center of that world.<br /> /dynmap radiusrender radius: attempts to render at least a radius block area, centered on your current location.<br /> /dynmap radiusrender radius mapname: attempts to render at least a radius block area, centered on your current location of map 'mapname'<br /> /dynmap radiusrender world x z radius: attempts to render at least a radius block area, centered on 'x,64,z' on world 'world'.<br /> /dynmap updaterender: attempts to render tiles needing updating, starting at current location, for all maps. Stops at edge of map and at tiles that don't need updating.<br /> /dynmap updaterender mapname: attempts to render tiles needing updating, starting at current location, for given map. Stops at edge of map and at tiles that don't need updating.<br /> /dynmap updaterender world x z: attempts to render tiles needing updating, starting at given location on given world, for all maps. Stops at edge of map and at tiles that don't need updating.<br /> /dynmap updaterender world x z mapname: attempts to render tiles needing updating, starting at given location on given world, for given map. Stops at edge of map and at tiles that don't need updating.<br /> /dynmap cancelrender world: cancels any active fullrender or radiusrender on the given world.<br /> /dynmap purgequeue: clears the tile update queue<br /> /dynmap purgeworld world: purge all the map files for world 'world'<br /> /dynmap purgemap world map: purge all the map files for map 'map' on world 'world'<br /> /dynmap pause all: pause all map rendering (updates and full/radius renders)<br /> /dynmap pause none: resume all map rendering<br /> Statistics<br /> <br /> /dynmap stats: shows rendering statistics for all maps on all worlds.<br /> /dynmap stats world : shows rendering statistics for maps on world world.<br /> /dynmap triggerstats : shows triggered render statistics for all worlds.<br /> /dynmap resetstats : resets rendering statistics for all maps on all worlds.<br /> /dynmap resetstats world : resets rendering statistics for maps on world world.<br /> Markers<br /> <br /> These commands are only available if the Markers Component has been enabled (v0.22 or later required).<br /> <br /> /dmarker add <label> icon:<icon> set:<set-id> : adds a new marker at the player's current location, with a given label and optional icon and optional marker set<br /> /dmarker add id:<id> <label> icon:<icon> set:<set-id> : adds a new marker at the player's current location, with the given ID, the given label and optional icon and optional marker set<br /> /dmarker add id:<id> <label> icon:<icon> set:<set-id> x:<x-coord> y:<y-coord> z:<z-coord> world:<Worldname> : adds a new marker at the given location, with the given ID, the given label and optional icon and optional marker set<br /> /dmarker movehere <label> : updates the location of the first marker matching the given label to match the current player's position<br /> /dmarker movehere id:<id> : updates the location of the marker with the given ID to match the current player's position<br /> /dmarker update <label> icon:<newicon> newlabel:<newlabel> : updates the icon and/or label of the first marker matching the given label<br /> /dmarker update id:<id> icon:<newicon> newlabel:<newlabel> : updates the icon and/or label of the marker with the given ID<br /> /dmarker delete <label> : deletes the first marker matching the given label<br /> /dmarker delete id:<id> : deletes the marker with the given ID<br /> /dmarker list : lists the attributes of all the defined markers in the default marker set<br /> /dmarker list set:<set-id> : lists the attributes of all the defined markers in the given marker set<br /> /dmarker icons : lists the attributes of all the icons defined for use by markers<br /> /dmarker addset <label> hide:<hide-by-def> prio:<priority> minzoom:<minzoom> : add new marker set with given label (ID = label)<br /> /dmarker addset id:<id> <label> hide:<hide-by-def> prio:<priority> minzoom:<minzoom> : add new marker set with given ID and label<br /> /dmarker updateset <label> newlabel:<new-label> hide:<hide-by-def> prio:<priority> minzoom:<minzoom> : update marker set with given label (ID = label)<br /> /dmarker updateset id:<id> newlabel:<new-label> hide:<hide-by-def> prio:<priority> minzoom:<minzoom> : update marker set with given ID<br /> /dmarker deleteset <label> : delete marker set with given label<br /> /dmarker deleteset id:<id> : delete marker set with given ID<br /> /dmarker listsets : list all markers<br /> /dmarker addicon id:<id> <label> file:"filename" : Install new icon, with given ID and label, and using given file (path is handled relative to MC server directory, and file contents are copied).<br /> /dmarker updateicon id:<id> newlabel:<label> file:"filename" : Update icon, replacing existing settings with provided new values.<br /> /dmarker deleteicon id:<id> : delete icon with given ID<br /> /dmarker addcorner : add corner to corner list using current location<br /> /dmarker addcorner <x> <z> <world> : add corner with given x and z coordinate on given world to corner list<br /> /dmarker clearcorners : clear corner list<br /> /dmarker addarea <label> : add new area with given label using corner list<br /> /dmarker addarea id:<id> <label> : add new area with given ID using corner list<br /> /dmarker deletearea <label> : delete area with given label<br /> /dmarker deletearea id:<id> <label> : delete area with given ID<br /> /dmarker listareas : list details of all areas<br /> /dmarker updatearea <label> <arg>:<value> ... : update attributes of area with given label<br /> /dmarker updatearea id:<id> <arg>:<value> ... : update attributes of area with given ID<br /> /dmarker addline <label> : add new line with given label using corner list<br /> /dmarker addline id:<id> <label> : add new line with given ID using corner list<br /> /dmarker deleteline <label> : delete line with given label<br /> /dmarker deleteline id:<id> <label> : delete line with given ID<br /> /dmarker listlines : list details of all lines<br /> /dmarker updateline <label> <arg>:<value> ... : update attributes of line with given label<br /> /dmarker updateline id:<id> <arg>:<value> ... : update attributes of line with given ID<br /> Map/World Configuration Commands<br /> <br /> /dmap worldlist : list all worlds configured (enabled or disabled)<br /> /dmap worldset worldname enabled:<true|false> : Set world 'worldname' enabled or disabled<br /> /dmap worldset worldname center:<x/y/z|here|default> : Set map center position for world 'worldname'<br /> /dmap worldset worldname extrazoomout:<N> : set extra zoom out levels for world 'worldname'<br /> /dmap worldset worldname title:<label> : set title for world 'worldname'<br /> /dmap worldset worldname sendposition:<true|false> sendhealth:<true|false> : set send-position and/or send-health flags for world 'worldname'<br /> /dmap worldset worldname order:<N> : set position of world 'worldname' to Nth position in world list<br /> /dmap worldreset worldname : Reset world 'worldname' to its default template configuration<br /> /dmap worldreset worldname templatename : Reset world 'worldname' to template 'templatename' configuration<br /> /dmap maplist worldname : List details of all maps for world 'worldname'<br /> /dmap mapdelete worldname:mapname : Delete map 'mapname' of world 'worldname'<br /> /dmap mapadd worldname:mapname attrib:val attrib:val : Create new map 'mapname' on world 'worldname', with given attributes (all 'mapset' parameters are usable)<br /> /dmap mapset worldname:mapname order:<N> : Set position of map 'mapname' to Nth in the list of maps for world 'worldname'<br /> /dmap mapset worldname:mapname prefix:<prefix> : Set filename prefix for map 'mapname' of world 'worldname'<br /> /dmap mapset worldname:mapname title:<label> : Set title for map 'mapname' of world 'worldname'<br /> /dmap mapset worldname:mapname icon:<icon-file> : Set icon filename for map 'mapname' of world 'worldname' (relative to 'webpath' directory)<br /> /dmap mapset worldname:mapname mapzoomin:<N> : Set the map zoom in level for map 'mapname' of world 'worldname'<br /> /dmap mapset worldname:mapname perspective:<perspective> shader:<shader> lighting:<lighting> : Set perspective, shader and/or lighting for map 'mapname' of world 'worldname'<br /> /dmap mapset worldname:mapname img-format:<format> : Set the image format for map 'mapname' of world 'worldname' (png, jpg, jpg-q90, jpq-q95, etc).<br /> /dmap perspectivelist : List all defined perspectives<br /> /dmap shaderlist : List all defined shaders<br /> /dmap lightinglist : List all defined lightings<br /> Miscellaneous<br /> <br /> Various other commands.<br /> <br /> /dynmap sendtoweb message ... : Send a message to the web UIs only<br /> /dynmap ids-for-ip ip-address : List player IDs that have logged in from given IP address (most recent to least)<br /> /dynmap ips-for-id player-id : List IP addresses that have been used to connect to server by given player ID<br /> /dynmap add-id-for-ip player-id ip-address : Add given player ID to front of list of known IDs for given IP address<br /> /dynmap del-id-for-ip player-id ip-address : Remove given player ID from list of known IDs for given IP address.<br /> /dynmap webregister : Start registration of own account for login on web interface<br /> /dynmap webregister player-id : Start registration of another user's account for login on web interface<br /> }} *[https://github.com/webbukkit/dynmap/wiki/Configuring-Maps-and-Worlds-using-dmap/ 用dmap配置地图和世界] ==[https://github.com/webbukkit/dynmap/wiki/Permissions/ 权限]== {{Hide|标题=权限列表 |内容= SuperPerms-based access control, including specific support for PermissionsEx, BukkitPermissions, bPermissions, and classic Permissions. The following nodes are defined:<br /> dynmap.render - allows /dynmap render command<br /> dynmap.show.self - allows /dynmap show (on self)<br /> dynmap.show.others - allows /dynmap show<br /> dynmap.hide.self - allows /dynmap hide (on self)<br /> dynmap.hide.others - allows /dynmap hide<br /> dynmap.fullrender - allows /dynmap fullrender or /dynmap fullrender<br /> dynmap.radiusrender - allows /dynmap radiusrender<br /> dynmap.updaterender - allows /dynmap updaterender<br /> dynmap.cancelrender - allows /dynmap cancelrender<br /> dynmap.pause - allows /dynmap pause<br /> dynmap.reload - allows /dynmap reload<br /> dynmap.stats - allows /dynmap stats or /dynmap stats or /dynmap triggerstats<br /> dynmap.resetstats - allows /dynmap resetstats or /dynmap resetstats<br /> dynmap.sendtoweb - allows /dynmap sendtoweb<br /> dynmap.purgequeue - allows /dynmap purgequeue<br /> dynmap.ids-for-ip - allows /dynmap ids-for-ip<br /> dynmap.ips-for-id - allows /dynmap ips-for-id<br /> dynmap.add-id-for-ip - allows /dynmap add-id-for-ip<br /> dynmap.del-id-for-ip - allows /dynmap del-id-for-ip<br /> dynmap.marker.add - allows /dmarker add<br /> dynmap.marker.movehere - allows /dmarker movehere<br /> dynmap.marker.update - allows /dmarker update<br /> dynmap.marker.delete - allows /dmarker delete<br /> dynmap.marker.list - allows /dmarker list<br /> dynmap.marker.icons - allows /dmarker icons<br /> dynmap.marker.addset - allows /dmarker addset<br /> dynmap.marker.updateset - allows /dmarker updateset<br /> dynmap.marker.deleteset - allows /dmarker deleteset<br /> dynmap.marker.listsets - allows /dmarker listsets<br /> dynmap.marker.addicon - allows /dmarker addicon<br /> dynmap.marker.updateicon - allows /dmarker updateicon<br /> dynmap.marker.deleteicon - allows /dmarker deleteicon<br /> dynmap.marker.addarea - allows /dmarker addarea<br /> dynmap.marker.updatearea - allows /dmarker updatearea<br /> dynmap.marker.deletearea - allows /dmarker deletearea<br /> dynmap.marker.listareas - allows /dmarker listareas<br /> dynmap.marker.addline - allows /dmarker addline<br /> dynmap.marker.updateline - allows /dmarker updateline<br /> dynmap.marker.deleteline - allows /dmarker deleteline<br /> dynmap.marker.listlines - allows /dmarker listlines<br /> dynmap.dmap.worldlist - allows /dmap worldlist<br /> dynmap.dmap.worldset - allows /dmap worldset<br /> dynmap.dmap.worldreset - allows /dmap worldreset<br /> dynmap.dmap.mapdelete - allows /dmap mapdelete<br /> dynmap.dmap.mapset - allows /dmap mapset<br /> dynmap.dmap.mapadd - allows /dmap mapadd<br /> dynmap.dmap.perspectivelist - allows /dmap perspectivelist<br /> dynmap.dmap.shaderlist - allows /dmap shaderlist<br /> dynmap.dmap.lightinglist - allows /dmap lightinglist<br /> dynmap.webregister - allows /dynmap webregister<br /> dynmap.webregister.other - allows /dynmap webregister player-id<br /> dynmap.webchat - allows sending of chat messages from web interface (login or id-by-ip required)<br /> dynmap.playermarkers.showall - allows user to see all player positions when protected-player-info has been set to restrict access<br /> dynmap.world.<world-name> - allows user to see maps on world if that world has been set to protected.<br /> dynmap.map.<world-name>.<map-name> - allows user to see specific map on specific world , if that map has been set to be protected.<br /> }} *[https://github.com/webbukkit/dynmap/wiki/Web-ui-login-support-and-permissions/ 网页UI登陆支持和权限] ==网页UI参数== The URL used to launch the web user interface supports a number of parameters, which may be used to override the default view presented to the user. This can be used to launch the UI with a given world or map selected, a given zoom level selected, and/or have the map centered on a given set of world coordinates. The parameters are provided as a sequence of attribute-value pairs, with each parameter formatted as follows: attribute-id=value The base URL must have a question-mark (?) before the first parameter, and each additional parameter must be separated from the previous one by an ampersand (&). So, if the default URL for the map web is: http://mygreatserver:8123/ then, launching the site with the world named 'fred' selected, and with the map 'surface' being shown, would be formatted as: http://mygreatserver:8123/?worldname=fred&mapname=surface If you're using an external server, the same format applies - add '?' and the corresponding parameters, seperated by ampersands: http://mycoolapacheserver.com/dynmap?worldname=fred&mapname=surface The parameters available are as follows: * worldname - this specifies the name (not the title) of the world to be selected. If not provided, the first world defined will be shown (unless defaultworld has been set in configuration.txt, in which case that world is shown). * mapname - this specifies the name (not the title) of the map to be selected. If not provided, the first map for the selected world is shown (unless defaultmap has been set in configuration.txt, in which case that map is shown). * zoom - this specifies the zoom level to be selected (0 = highest zoom out). If not provided, a zoom level of zero is used (unless defaultzoom has been set in the configuration.txt). * x - this specifies the X coordinate (in the coordinate system of the world being shown) of the center point of the map view. If not specified, this defaults to the value of the x attribute of the center attribute of the selected world (typically 0). * y - this specifies the Y coordinate (in the coordinate system of the world being shown) of the center point of the map view. If not specified, this defaults to the value of the y attribute of the center attribute of the selected world (typically 64). * z - this specifies the Z coordinate (in the coordinate system of the world being shown) of the center point of the map view. If not specified, this defaults to the value of the z attribute of the center attribute of the selected world (typically 0). * nopanel - if defined and set to 'true', the sidebar menu on the map will be removed * chatname - if defined and set to a string, the web UI will pass this value as the suggested name of the sender for any chat messages. This will only be accepted by the internal web server if the 'trustclientname' setting has been set to true, in addition to the 'allowurlname' parameter for the 'chat' component. Supported on 0.28 and later. * playername - if defined and set to a player's account name, the web UI will initialize following the position of the given player, if the are online when the UI starts, or come online sometime after. * hidechat - if defined and set to 'true', the web UI will disable all chat input and output components (balloons, input fields, and chat box). * nogui - if defined and set to 'true', the web UI will disable ALL controls, panels and the like, just presenting the map layer itself. * nocompass - if defined and set to 'true', the compass rose on the UI will be hidden (v2.2-alpha-1) ==[https://github.com/webbukkit/dynmap/wiki/Using-markers/ 使用标记]== ==[https://github.com/webbukkit/dynmap/wiki/Custom-Block-Definitions/ 自定义方块定义]== ==[https://github.com/webbukkit/dynmap/wiki/Exporting-World-Data-in-Wavefront-OBJ-Format/ 用Wavefront OBJ格式传输世界数据]== =其他= 为了展示API,同时也为了协助管理这个已经非常庞大的补丁,我们已经开始了为Dynmap增加额外补丁的进程。所有这些工作都依赖于经由API的Dynmap和接口,只有对这些功能感兴趣的人们才会添加这些附加功能,这些功能有:<br /> <br /> dynmap-mobs: 在dynmap地图上提供指定生物的实时位置。 dynmap-residence: 继承 'regions' (地区)以支持Residence在Dynmap中的使用, 实时更新Residence的改变。 Dynmap-WorldGuard: 继承 'regions' (地区)以支持WorldGuard 在Dynmap中的使用, 实时更新WorldGuard的改变。 Dynmap-Towny: 继承 'regions' (地区)以支持Towny在Dynmap中的使用, 实时更新Towny的改变。 Dynmap-Factions: 继承 'regions' (地区)以支持Factions在Dynmap中的使用, 实时更新Factions的改变。 Dynmap-CommandBook: 使用CommandBook,添加对显示/home和/warp 位置的支持。 Dynmap-Essentials: 使用Essentials,添加对显示/home和/warp 位置的支持。 Dynmap-GriefPrevention: 添加对显示Grief Protection claims(保护占领)的支持。 Dynmap2CraftIRC3: 通过CraftIRC,将Dynmap的网页聊天与IRC相结合。 Dynmap-SimpleClans: Dynmap的网页聊天与SimpleClans 相结合。 Dynmap-HeroChat: 结合Herochat v5.5+ 与Dynmap。 Dynmap-PhysicalShop Dynmap-pyLandmarks Dynmap-PreciousStones: 结合PreciousStones 与Dynmap。 Dynmap-AdminCmd: 结合AdminCmd与Dynmap。 Dynmap-PlayerWarp Dynmap-Citizens: 结合Citizens与Dynmap。 =开发者相关= Dynmap 插件由多个部件组成,用于支持多平台服务器,同时为了让我们的“已发布API”能被更好的理解。组成dynmap插件的必须部件 (用于Bukkit的Dynmap 补丁)在下文列出: DynmapCoreAPI - 这是用于Dynmap的 neutral API 平台: 插件开发者能以此作为 Dynmap与任何平台的接口(通过指向dynmap 补丁实例 org.dynmap.DynmapCoreAPI 实现) DynmapCore - 这是Dynmap的 server-neutral 核心: 几乎所有Dynmap的网页和渲染逻辑都在这(尽我们所能的放进去)。 这样开发的结果就是不可运行 - 所以他们都被放进了 'dynmap' 及其他部件开发里(例如 'DynmapSpout', 是用于 Spout 服务端的). dynmap-api - 这是dynmap专用于Bukkit(Bukkit-specific)的 API 库 - 它定义了 org.dynmap.DynmapAPI 的接口,包括对 Bukkit-specific 的调用。 还包括 DynmapCoreAPI ( DynmapCoreAPI 是 DynmapAPI 的拓展), 即将补丁实例为 'dynmap' 之后指向 org.dynmap.DynmapAPI 然后接入公共接口。 dynmap - 这个部件让了 dynmap-for-Bukkit 真正的可用, 只包含了不可运行为server-neutral的代码。 =兼容性= The following mods are known to support dynmap integration without needing an add-on: DeathTPPlus xWarp Vanish No Packet Ultimate Core Also, for the best response to questions and such, please post comments to our main forum thread - http://www.minecraftforum.net/topic/1543523-dynmap-dynamic-web-based-maps-for-minecraft/. Once again, having more than one place just isn't helpful, and this is where the 'Dynmap Community' already operates. =被公开的信息= This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org: A unique identifier The server's version of Java Whether the server is in offline or online mode The plugin's version The server's version The OS version/name and architecture The core count for the CPU The number of players online The Metrics version How to compile Dynmap 还有许多页面没有搬运,会尽快补充请谅解
本页使用的模板:
模板:Info
(
查看源代码
)
模板:急需改进
(
查看源代码
)(受保护)
返回
Dynmap
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki