一个传送/回家插件,支持私有、公开列出的以及未列出的传送点。
开发 NiftyWarp 的初衷是希望以一种简便的方式创建和管理传送点,而不是让服务器上的所有玩家面对一个庞大且杂乱的列表。但我不想仅仅创建个人传送列表,因为我也希望能确保玩家在愿意的情况下,能够方便地与他人共享其传送点的访问权限。
下载 JAR | 源代码
功能特性
- 传送点类型
- 创建“公开列出”的传送点,任何人都可见并使用。
- 创建“未列出”的传送点,对其他玩家不可见,但仍可被任何人使用。
- 创建“私有”传送点,对其他玩家不可见,且仅可由您本人使用。
- 更改传送点类型,以便轻松与他人共享。
- 简单的主页传送点创建与使用(例如 /home, /sethome)
- 跨世界传送
- 清晰区分哪些传送点是您的,哪些属于他人
- 可配置的默认类型
- 支持权限系统(同时也提供三种非权限插件选项)
依赖项:
PermissionsBukkit(可选)- 已在 1.3 版本中测试
安装方法
- 从此页面下载最新 JAR 文件。
- 停止您的服务器。
- 从您的 Bukkit 服务器 plugins 文件夹中删除旧的 NiftyWarp .JAR 文件。
- 将新下载的 NiftyWarp .JAR 文件复制到您的 Bukkit 服务器 plugins 文件夹中。
- 重新启动服务器。
请注意,此流程不包括配置该插件的权限
请参阅以下指南以获取更多信息
命令说明
/addwarp <warpName>
在您当前位置添加一个传送点,并考虑您的朝向
- 命令:/nwadd
- 别名:/nwa, /addwarp, /createwarp, /setwarp
/deletewarp <warpName>
删除一个传送点
- 命令:/nwdelete
- 别名:/nwd, /deletewarp, /removewarp
/sethome
设置您的主页传送点(目前仅创建一个名为 "home" 的传送点)
- 命令:/nwhomeset
- 别名:/nwhs, /homeset, /sethome
/home
传送到您的主页(目前仅传送到您的 "home" 传送点)
- 命令:/nwhome
- 别名:/nwh, /home
/listwarps <worldName> <private | unlisted | listed>
获取传送点列表。如果指定了类型,可以使用星号 (*) 作为世界名称以获取所有世界的列表。
- 命令:/nwlist
- 别名:/nwl, /listwarps
/renamewarp <warpName> <newWarpName>
重命名现有传送点
- 命令:/nwrename
- 别名:/nwr, /renamewarp
/setwarptype <warpName> private | unlisted | listed
在创建后设置传送点的隐私/可见性
- 命令:/nwset
- 别名:/nws, /settype, /setwarptype
/warp <warpName>
使用传送点
- 命令:/nwwarp
- 别名:/nw, /nww, /warp
/warptocoord <x> <y> <z> [worldName]
传送到特定坐标。世界名称为可选参数,默认使用当前世界
- 命令:/nwwarptocoord
- 别名:/nwwtc, /nww2c, warptocoord, warp2coord, wtc, w2c
为了能够与其他传送插件共存,NiftyWarp 的所有主要命令都是唯一的,并以 "nw" 为前缀。然而,为了方便使用,我还包含了许多常见且直观的别名。请参阅下方以获取更多信息。
权限插件节点
用户 (User):
这些权限用于管理和使用您自己的传送点。
- niftywarp.use.add
- niftywarp.use.delete
- niftywarp.use.home
- niftywarp.use.homeset
- niftywarp.use.list
- niftywarp.use.rename
- niftywarp.use.set
- niftywarp.use.warp
- niftywarp.use.warptocoord
- niftywarp.use.version
管理员 (Admin):
这些权限允许您删除/重命名/设置其他人的传送点。
- niftywarp.admin.delete
- niftywarp.admin.rename
- niftywarp.admin.set
PermissionsBukkit 注意事项:
在使用 PermissionsBukkit 进行“简单”设置时,请参阅 PermissionsBukkit 示例页面。
非权限插件规则集
无论是否安装了 PermissionsBukkit 插件,您都可以配置 NiftyWarp 使用该插件或不使用它。如果将 use-plugin 设置为 false,您可以使用以下替代权限选项:
- ops-only - 表示只有 OP(管理员)才能使用此插件的命令。
- ops-for-admin - 表示只有 OP 才能使用管理员类型的功能(例如重命名他人的传送点)。
- ffa - 即 Free For All(自由对战)……意味着任何人都可以使用任何命令/功能
即将推出的功能
计划中:
- 可配置的安全机制
- 当传送点位于方块内部时,安全地放置玩家
- 当传送点不再位于岩浆上方时,安全地放置玩家
- 当传送点会导致玩家摔死时,安全地放置玩家
- 可配置的命名空间
- 更多 /listwarps 选项
- /spawn 命令和 /setspawn 命令
- 管理员功能:
- 按类型查看所有传送点(私有/未列出/已列出)
- 列出特定玩家的传送点(包括私有的)
- (还有一些其他想法)
- 传送点的导入/导出例程
- iConomy 支持
- MySQL 支持
很有可能实现:
- 传送点共享(例如 /sendwarp)
- 传送点复制(例如 /copywarp)
- 帮助命令(例如 /nwhelp)
更新日志
版本 1.3.3(2012年3月15日)
- 修复了首次加载时配置文件为空的问题 —— 现在它将生成一个文档完善的默认 YML 文件。
- 修复了一个 /sethome 未按预期工作的错误。
- 清理了一些代码
版本 1.3.2(2012年3月11日)
- 支持最新的基于 1.2 的 Craftbukkit (CB 2060)!
版本 1.3.1
- 支持最新的 1.8.1 构建版 RB (CB 1185)
- 正确支持 PermissionsBukkit。您需要从 permissions.yml 文件中移除所有与 niftywarp 相关的权限设置。
- 添加了版本命令 (/nwversion 或 /nwv)
- 添加了对某些环境中间歇性发生的 OptimisticLockException 异常的修复
版本 1.3
- 更新至支持 1.8.1 服务器(最后测试于构建版 1145)
- 小幅更新德语翻译
- 更新至支持 PermissionsBukkit
- 移除了对 nijikokun 的 Permissions 插件的支持
- NiftyWarp 仍然支持无需权限插件的替代方案
版本 1.2
- 更新至支持 1.7.3 服务器(构建版 1000)
- 添加了传送至坐标 (x,y,z,世界) 的功能
- 添加了每个用户的“最大传送点数量”配置选项。默认为 20
- 在传送前添加了目标区块加载功能
- 为 ListWarps 命令添加了过滤器(世界和/或类型)
- 添加了游戏内消息的基本国际化支持。目前支持德语。将根据请求添加更多语言
版本 1.1
- 更新至支持 1.7.2 服务器(构建版 953)
- 简单的家园传送创建和使用(例如 /home, /sethome)
- 权限系统重构
- 支持 Permissions 2.x
- 更好地支持 Permissions 3.x
- 三种新的非 Permissions 插件基础选项
A warp/home plugin that allows for private, listed, and unlisted warps.
NiftyWarp was written because I wanted to create and manage warps in a way that was easy, but that didn't end up in a giant, cluttered-up list for everyone on the server. However, I didn't want to simply create personal warp lists only because I wanted the make sure it was easy for people to be able to share access to their warps if they so chose.
Download JAR | Source Code
Features
- Warp Types
- Create "listed" warps that are visible and useable by anyone.
- Create "unlisted" warps that are invisible to others, but still useable by anyone.
- Create "private" warps that are invisible to others, and only useable by you.
- Change warp type for easy sharing with others.
- Simple home warp creation and usage (e.g. /home, /sethome)
- Cross-World Warping
- Clearly see which warps are yours and which ones belong to others
- Configurable default type
- Permissions support (and three non-permissions-plugin options as well)
Dependencies:
PermissionsBukkit (Optional) - tested with 1.3
Installation
- Download latest JAR from this page.
- Stop your server.
- Delete previous NiftyWarp .JAR file from your Bukkit server plugins folder.
- Copy your newly downloaded NiftyWarp .JAR file to your Bukkit server plugins folder.
- Restart your server.
Please note this procedure doesn't include configuring permissions for this plugin
Please see the guides below for more information
Commands
/addwarp <warpName>
Adds a warp at your current location and takes into account your direction
- Command: /nwadd
- Aliases: /nwa, /addwarp, /createwarp, /setwarp
/deletewarp <warpName>
Deletes a warp
- Command: /nwdelete
- Aliases: /nwd, /deletewarp, /removewarp
/sethome
Set your home warp (currently just makes a warp named "home")
- Command: /nwhomeset
- Aliases: /nwhs, /homeset, /sethome
/home
Warp to your home (currently just warps to your "home" warp)
- Command: /nwhome
- Aliases: /nwh, /home
/listwarps <worldName> <private | unlisted | listed>
Gets the list of warps. You can use asterisk for world to get all worlds if specifying type.
- Command: /nwlist
- Aliases: /nwl, /listwarps
/renamewarp <warpName> <newWarpName>
Renames an existing warp
- Command: /nwrename
- Aliases: /nwr, /renamewarp
/setwarptype <warpName> private | unlisted | listed
Sets the privacy/visibility of a warp after creation
- Command: /nwset
- Aliases: /nws, /settype, /setwarptype
/warp <warpName>
Use a warp
- Command: /nwwarp
- Aliases: /nw, /nww, /warp
/warptocoord <x> <y> <z> [worldName]
Warps to a specific coordinate. World name is optional, uses current world by default
- Command: /nwwarptocoord
- Aliases: /nwwtc, /nww2c, warptocoord, warp2coord, wtc, w2c
In order to be able to function alongside other warp plugins, all of the main commands are unique to NiftyWarp and prefixed with "nw". However, for ease of use, I've also included quite a few common and intuitive aliases. Please see the for more info.
Permissions Plugin Nodes
User:
These permissions are for managing and using your own warps.
- niftywarp.use.add
- niftywarp.use.delete
- niftywarp.use.home
- niftywarp.use.homeset
- niftywarp.use.list
- niftywarp.use.rename
- niftywarp.use.set
- niftywarp.use.warp
- niftywarp.use.warptocoord
- niftywarp.use.version
Admin:
These permissions will allow you to delete/rename/set other people's warps.
- niftywarp.admin.delete
- niftywarp.admin.rename
- niftywarp.admin.set
PermissionsBukkit notes:
For "easy" setup when using PermissionsBukkit, see the Example PermissionsBukkit page.
Non-Permissions-Plugin Rulesets
Regardless of whether or not you have the PermissionsBukkit plugin installed, you can configure NiftyWarp to use that plugin or to not use it. If you set use-plugin to false, you can use the following alternative permission options:
- ops-only - means only Ops can use this plugin's commands.
- ops-for-admin - means only Ops can use the admin type functionality (such as renaming other people's warps).
- ffa - or Free For All ... means anyone can use any commands/functionality
Upcoming Features
Planned:
- Configurable Safety
- Safely placing you when the warp loc is inside a block
- Safely placing you when warp loc is now over lava
- Safely placing you when warp loc would cause you to fall to your death
- Configurable namespace
- More /listwarps options
- /spawn command and /setspawn command
- Admin:
- See all warps by type (private/unlisted/listed)
- List a specific person's warps (including private)
- (and a few more ideas I have)
- Warp Import/Export routines
- iConomy Support
- MySQL Support
Likely:
- Warp sharing (e.g. /sendwarp)
- Warp copying (e.g. /copywarp)
- Help command (e.g. /nwhelp)
Changelog
Version 1.3.3 (March 15 2012)
- Fixed blank configuration file on first load up -> It will now generate a well documented default YML file.
- Fixed a bug where /sethome was not working as expected.
- Cleaned up some code
Version 1.3.2 (March 11 2012)
- Supports latest 1.2 based Craftbukkit (CB 2060)!
Version 1.3.1
- Supports latest 1.8.1 build RB (CB 1185)
- Properly support PermissionsBukkit. You will need to remove any niftywarp-related permissions from your permissions.yml file.
- Added a version command (/nwversion or /nwv)
- Added a fix for an OptimisticLockException that happens intermittently in some environments
Version 1.3
- Updated to 1.8.1 server support (last tested with build 1145)
- Small update to German translation
- Updated to support PermissionsBukkit
- Removed support for nijikokun's Permissions plugin
- NiftyWarp still supports no-permissions-plugin alternatives
Version 1.2
- Updated to 1.7.3 server support (build 1000)
- Added ability to warp to a coordinate (x,y,z,world)
- Added a "maximum warps" per user config option. Defaults to 20
- Added destination chunk loading before warping
- Added filters to the ListWarps command (world and/or type)
- Added basic internationalization for in-game messages. Currently, German is supported. Will add more on request
Version 1.1
- Updated to 1.7.2 server support (build 953)
- Simple home warp creation and usage (e.g. /home, /sethome)
- Permissions overhaul
- Permissions 2.x support
- Better Permissions 3.x support
- Three new non-Permissions-plugin based options
评论 0
登录后参与评分
还没有评论,来抢沙发吧