Circleplugin 提供了简单的 /circle <半径> 命令,会在服务器聊天中为你生成四分之一的圆。
注意:它仅支持以单个方块为中心生成的圆!
这对于建造巨大的圆形非常有用,因为在没有插件(如 WorldEdit)或其他互联网上的圆形计算器的情况下,手动建造圆形十分困难。
与互联网计算器相比,本插件的优势在于你只需在服务器聊天中输入命令即可获得完美的圆形(当然你需要先按照提示进行建造),并且它会告诉你需要放置的方块坐标,而不是直接给出一个完成后的圆形图片(大多是指向 这里 的内容)。
对于所有不向所有玩家提供 WorldEdit 权限的服务器来说,这绝对非常实用,因为迟早会有 Minecraft 玩家想要建造圆形。
此外,自 Circleplugin v1.3 起,你现在还可以使用另一个命令:/ellipse。
命令
目前可用的命令如下:
/circle <半径> - 提供指定半径的四分之一圆的方块列表。
/circle 或 /circle help - 提供解释图片的链接。
/circle maxradius <新最大半径> - 使用此命令可以更改圆形允许的最大半径(建议:不要设置得太高,因为这会导致执行类似 /circle 1000000 时产生卡顿)。
/ellipse <x半径> <y半径> -提供指定半轴长度的四分之一椭圆。
/ellipse -提供解释图片的链接。
近期更新
版本 1.3.1:
- 更改了权限设置,使命令现在会显示在 /help 中。
版本 1.3:
- 添加了 /ellipse 命令。
- 在配置文件中为椭圆添加了最大半径限制。
版本 1.2:
- 添加了 Config.yml 用于修改最大半径。
- 添加了 /circle maxradius 命令以在游戏中更改最大半径。
- 添加了 circle.all 权限以获取游戏中最大半径命令的访问权限。
权限
- circle.*: 允许你使用该插件的所有命令。
- circle.circle: 允许你使用 /circle 命令。默认启用。
- circle.ellipse: 允许你使用 /ellipse 命令。默认启用。
- circle.maxradius: 允许你通过 /circle maxradius 更改最大半径。(仅限圆形。忘记为椭圆包含命令了,但会在 1.4 版本中添加 (: )
未来构想
- 添加 /sphere 或其他几何图形,如对角线或多边形。
使用方法:
适用于 /ellipse
适用于 /circle
其他信息
对所有对此类技术感兴趣的人:圆形计算的算法基于“Bresenham 圆形算法”或中点画圆算法。
感谢 Schmidtbochum 提供的精彩说明图片和标志。
如果你有任何建议或发现漏洞/问题,请告诉我,我会尝试添加/修复它们。
The Circleplugin provides you with the simple /circle <radius> command, which will give you a quarter of a circle in the serverchat.
Note: It only gives you circles centered at one block!
It is pretty useful for building huge circles, which are hard to make without any plugins (like WorldEdit) or other circle calculators on the internet.
The advantage of this plugin over internetcalculators is that you only have to type it in the serverchat and get a perfect circle (well you have to build it first of course) and that it gives you the block numbers you have to place, and not a picture of the finished circle (mostly reffering to this here).
And its definetly useful for all servers that dont give WorldEdit to all players, because sooner or later a Minecraftplayer wants to make a circle.
Additionally since Circleplugin v1.3 you now have another command: /ellipse.
Commands
At the moment the only commands are:
/circle <radius> - Provides you with the blocks for a quarter of the circle with the selected radius.
/circle or /circle help - Provides you with the link to the Explanation Picture
/circle maxradius <new maxradius> - With this command you are able to change the max. radius the circles can have (advice: dont set it too high, because it will create lag around /circle 1000000)
/ellipse <xradius> <yradius> -Gives you one quarter of the ellipse with selected radii.
/ellipse -Gives you the link to the Explanation picture.
Recent Changes
Version 1.3.1:
- Changed Permissions so that commands now show up in /help.
Version 1.3:
- Added /ellipse command.
- Added maxradius for ellipses to the configfile.
Version 1.2:
- Added Config.yml for changing the max. radius.
- Added /circle maxradius command to change the maxradius ingame.
- Added the permission circle.all to get access to the maxradius command ingame.
Permissions
- circle.*: Allows you to use all commands of the plugin.
- circle.circle: Allows you to use /circle. Enabled by default.
- circle.ellipse: Allows you to use /ellipse. Enabled by default.
- circle.maxradius: Allows you to change the maxradius with /circle maxradius. (Only for circles. Forgot to include a command for ellipses, but it will be there in 1.4 (: )
Ideas for the future
- Adding /sphere or other geometrics like diagonal lines or polygons.
- Adding circles, which are not centered at one block.
How to use it:
For /ellipse
For /circle
Other
For all people, who are interested in such things: The algorithm for the circle calculation is based off "Bresenham's circle algorithm" or the Midpoint Circle Algorithm.
Thanks to Schmidtbochum for the awesome help pictures and the logo.
If you got any suggestions or find bugs/problems, just tell me and i will try to add/fix them.
评论 0
登录后参与评分
还没有评论,来抢沙发吧