欢迎来到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) ==如何使用== ===[https://github.com/webbukkit/dynmap/wiki/Setting-up-without-the-Internal-Web-Server/ 在无内部网页服务器环境使用]=== ===[https://github.com/webbukkit/dynmap/wiki/Setting-up-the-Dynamic-Map-plugin-under-Linux/ 在Linux环境使用]=== ===[https://github.com/webbukkit/dynmap/wiki/Setting-up-the-Dynamic-Map-plugin-under-Windows/ 在Windows环境使用]=== ===[https://github.com/webbukkit/dynmap/wiki/Setting-up-Dynmap-through-hosting-services/ 在虚拟主机环境使用]=== ===[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/ 命令]=== *[https://github.com/webbukkit/dynmap/wiki/Configuring-Maps-and-Worlds-using-dmap/ 用dmap配置地图和世界] {{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/Permissions/ 权限]=== *[https://github.com/webbukkit/dynmap/wiki/Web-ui-login-support-and-permissions/ 网页UI登陆支持和权限] {{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-Parameters/ 网页UI参数]=== ===[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格式传输世界数据]=== ==其他== Both to demonstrate the API, and to help manage the growth of this already-huge plugin, we've started producing additional plugins for Dynmap. All of these will depend on Dynmap and interface through its APIs, but only need to be added by folks that are interested in the additional function they provide: dynmap-mobs: Provides marker layer for real-time position of selected mobs on dynmap maps. dynmap-residence: Successor to the 'regions' support for Residence in Dynmap, with live update of Residence changes Dynmap-WorldGuard: Successor to the 'regions' support for WorldGuard in Dynmap, with live update of WorldGuard changes Dynmap-Towny: Successor to the 'regions' support for Towny in Dynmap, with live update of Towny changes Dynmap-Factions: Successor to the 'regions' support for Factions in Dynmap, with live update of Factions changes Dynmap-CommandBook: Add support for showing /home and /warp locations defined using CommandBook. Dynmap-Essentials: Add support for showing /home and /warp locations defined using Essentials. Dynmap-GriefPrevention: Add support for showing Grief Protection claims Dynmap2CraftIRC3: Integrate Dynmap's web chat with IRC via CraftIRC Dynmap-SimpleClans: Integrate SimpleClans with Dynmap Dynmap-HeroChat: Integrate HeroChat v5.5+ with Dynmap Dynmap-PhysicalShop Dynmap-pyLandmarks Dynmap-PreciousStones: Integrate PreciousStones with Dynmap Dynmap-AdminCmd: Integrate AdminCmd with Dynmap Dynmap-PlayerWarp Dynmap-Citizens: Integrate Citizens with 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