
PoleCompass 是一个简单的插件,你可以将指南针的功能发挥到极致! PoleCompass 是我的第一个插件,也是我的第一个 Java 项目(我在 Java 上的成功源于我之前写过一段时间的 C#)。
功能与命令
目前 PoleCompass 可以实现以下功能:
- /compass <direction> - 将指南针目标设置为北、东、南或西(这些是 direction 参数的有效值);
- /compass pos <x> <y> <z> - 将指南针目标设置为特定坐标;
- /compass pos current - 将指南针目标设置为你当前的位置。
- /compass bed - 将指南针指向你的床
- /compass follow <player> - 将指南针目标设置为某玩家的位置,并持续跟随他!
- /compass about - 显示关于 PoleCompass 的信息
- /compass help - 查看帮助页面
- /setplayercompass <player> <direction> - 将该玩家的指南针指向指定方向。有效方向:north, east, south, west。(权限:PoleCompass.setplayercompass)
- /setplayercompass <player> pos <current> | <x> <y> <z> - 将该玩家的指南针指向指定位置,或者如果你指定 current,则指向该玩家当前位置。(权限:PoleCompass.setplayercompass.pos)
- /setplayercompass <player> follow <player to follow> - 使某人的指南针指向并跟随另一位玩家。(权限:PoleCompass.setplayercompass) 使用 /compass [reset] 重置你的指南针。
提示:你可以缩写参数!例如,与其使用 /compass north,你可以使用 /compass n!
权限
PoleCompass.compass - /compass PoleCompass.compass.pos - /compass pos PoleCompass.compass.follow - /compass follow PoleCompass.compass.help - /compass help PoleCompass.compass.about - /compass about PoleCompass.setplayercompass - /setplayercompass PoleCompass.setplayercompass.follow - /setplayercompass follow PoleCompass.setplayercompass.pos - /setplayercompass pos
其他信息
源代码位于 此处! 许可证再次更改为公有领域。虽然许可证中未提及,但我希望你能在使用我的源代码时给予我("joppiesaus")一些署名。
更新日志
使用 Java 1.8 编译
V 2.0.4 - 热修复
- 修复了 /compass bed 不在 /compass help 中显示的问题
V 2.0.3
- 希望终于修复了那个愚蠢的 bug(现在无论什么情况指南针都不会重置了)
- /compass reset 不再在有床的情况下将指南针指向你的床
- 添加了 /compass bed,它会将指南针指向床
- 添加了 /setplayercompass bed
V 2.0.2
- 学到了我应该,绝对应该,多测试一下。
- 修复了无法重置 bug 的另一种变体
- 修复了在 /setplayercompass 中出现 "<player> is not a valid command or direction" 的错误
V 2.0.1
- 修复了一些 bug 并调整了一些内容
- 修复了无法重置的 bug
V 2.0 - 为 Minecraft 1.9 的 bukkit/spigot 制作
- 添加了 /setplayercompass
- 重写了所有内容
- 修复了许多 bug
V 1.3 - 为 Minecraft 1.7 的 bukkit 制作
- 添加了 /compass playerpos <name> [x | current] [y] [z],功能与 /compass pos 相同,但是针对其他玩家。(对命令方块等非常有用)
- 调整了一些其他内容,包括错误提示信息。
- 意识到 Y 值实际上毫无用处
V 1.2 - 兼容 1.6.4 版本
- 添加了 about 命令,/polecompass - 显示关于 PoleCompass 的信息
- 为 /compass follow 添加了权限(我收到了一些来自 Hermits 服务器的抗议。)
- 一些调整和修复
V 1.1
- 添加了新参数:/compass follow <player> - 跟随一名玩家!(天哪,花了我好长时间!)
- 添加了命令 /compass help
V 1.0
- 首次发布
想法
- GUI - 正在开发中
- 右键点击指南针时显示位置信息 - 正在开发中
享受我的插件吧!如果你发现了 bug、有想法、问题或其他内容,请告诉我! 顺便感谢下载量达到 1000 次。

PoleCompass is a simple plugin, where you can modify your compass to the max! PoleCompass is my first plugin, and it is also my first Java project(The succes in Java lies in that I do C# for a while).
Features & Commands
Polecompass can do at the moment these things:
- /compass <direction> - Sets your compass target to a the North, East, South or West(Those are the valid arguments for direction);
- /compass pos <x> <y> <z> - Sets your compass target to a specific coordinate;
- /compass pos current - Sets your compass target to your current location.
- /compass bed - Sets your compass to your bed
- /compass follow <player> - Sets your compass target to a player's location, and keep folowing him!
- /compass about- shows the info about PoleCompass
- /compass help - views help page
- /setplayercompass <player> <direction> - Points the player's compass to the specified direction. Valid directions: north, east, south, west. (PoleCompass.setplayercompass)
- /setplayercompass <player> pos <current> | <x> <y> <z> - Points the player's compass to the specified position, or the player's current position if you specify current instead.(PoleCompass.setplayercompass.pos)
- /setplayercompass <player> follow <player to follow> - Make someones compass point and follow to a player.(PoleCompass.setplayercompass) Use /compass [reset] to reset your compass.
Tip: You can short arguments! for example, instead /compass north, you can use /compass n!
Permissions
PoleCompass.compass - /compass PoleCompass.compass.pos - /compass pos PoleCompass.compass.follow - /compass follow PoleCompass.compass.help - /compass help PoleCompass.compass.about - /compass about PoleCompass.setplayercompass - /setplayercompass PoleCompass.setplayercompass.follow - /setplayercompass follow PoleCompass.setplayercompass.pos - /setplayercompass pos
Other stuff
The source code is located here! The license is again changed to public domain. I prefer if you give me("joppiesaus") some credit to me if you use my source code, thought it is not mentioned in the license.
Changelog
Compiled in Java 1.8
V 2.0.4 - hotfix
- Fixed /compass bed not showing up in /compass help
V 2.0.3
- Hopefully finally fixed that stupid bug(your compass will reset no matter what now)
- /compass reset no longer sets your compass to your bed if you have one
- Added /compass bed, it points the compass to the bed
- Added /setplayercompass bed
V 2.0.2
- Learned that I should, I definitely should, test more.
- Fixed not being able to reset bug, the other variant
- Fixed "<player> is not a valid command or direction" on /setplayercompass
V 2.0.1
- Fixed some bugs & tweaked some stuff
- Fixed not being able to reset bug
V 2.0 - Made for bukkit/spigot for Minecraft 1.9
- Added /setplayercompass
- Rewrote everything
- Fixed many bugs
V 1.3 - Made for bukkit for Minecraft 1.7
- Added /compass playerpos <name> [x | current] [y] [z], does the same thing as /compass pos, but then for other players.(very usefull for command blocks and stuff)
- Tweaked some other stuff, including derp messages.
- Realized that the Y value is actually useless
V 1.2 - compatiable with the 1.6.4 build
- Added about command, /polecompass - shows the info about PoleCompass
- Added permission for /compass follow (I got some protests from the hermits.)
- Some tweaks & fixes
V 1.1
- Added new arguments: /compass follow <player> - folows a player!(djeez. It took me a while!)
- Added command, /compass help
V 1.0
- Inital release
Ideas
- GUI - being worked on
- location information on right-click with compass - being worked on
Enyoy my plugin! Let me know if you found bugs, have ideas, problems or other stuff! Thanks for 1000 downloads by the way.
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
下载 PoleCompass
V 2.0.4 - 热修复
- 修复了 /compass bed 未在 /compass help 中显示的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧