当前可用版本:1.0.5
等待 BukkitDev 审核的当前版本:无
开发中的当前版本:无
关于插件
你是否曾需要在告示牌上放置一个很长的链接或网站网址,却因空间不足而无法完整显示,从而不得不将其分散到多个告示牌或多行中?或者你希望这些链接能够被点击?SignURLs 提供了可行的解决方案。它允许你将一个单词或短语与一个链接关联起来,使其能适配在一行告示牌内,随后你的成员可以点击该告示牌,系统会在聊天栏中输出该链接供用户点击。该插件使用 SQLite 来存储和加载链接。
使用方法
你可以使用 '/signurls add {lineText} {url}' 命令将链接与短语/单词关联。例如,你可以执行 '/signurls add google '。(*注意* 插件会检查你是否记得在链接前加上 http:,如果没有,它会自动为你添加。)然后放置一个告示牌,在除了最底下一行之外的任意一行写上 [SignURLs],并在其下一行写上与链接关联的短语或单词。放置好后,请确保正确设置了告示牌并右键点击它。此时,点击该告示牌的用户将在其聊天栏中看到与该词组关联的链接。
命令
| 命令 | 描述 |
| 1 | '/signurls' | 显示所有可用的子命令列表 |
| 2 | '/signurls add' | 将指定的短语链接到指定的 URL。 |
| 3 | '/signurls remove' | 取消链接,并删除指定的短语和 URL。 |
| 4 | '/signurls change' | 更改与指定短语关联的链接。 |
| 5 | '/signurls list' | 列出短语及其对应的链接。 |
| 6 | '/signurls admin database reload' | 重新加载数据库。 |
| 7 | '/signurls admin database purge' | 删除数据库中的所有数据。 |
权限
| 权限 | 描述 |
| 1 | 'signurls.command' | 访问 /signurls 命令。 |
| 2 | 'signurls.command.add' | 访问 ADD 子命令。 |
| 3 | 'signurls.command.remove' | 访问 REMOVE 子命令。 |
| 4 | 'signurls.command.change' | 访问 CHANGE 子命令。 |
| 5 | 'signurls.command.list' | 访问 LIST 子命令。 |
| 6 | 'signurls.command.admin' | 访问 ADMIN 子命令。 |
| 7 | 'signurls.command.*' | 访问主命令及所有子命令。 |
| 8 | 'signurls.place' | 允许用户放置 SignURL 告示牌。 |
| 9 | 'signurls.use' | 允许用户使用 SignURL 告示牌。 |
| 10 | 'signurls.break' | 允许用户破坏 SignURLs 告示牌。 |
配置文件
# Prefix - 设置向用户发送聊天链接时使用的后缀。
# Text - 设置向用户发送聊天链接时使用的文本。
# Color - 设置告示牌上 'Text' 的颜色。
# Cool-down 是玩家在再次点击告示牌前需要等待的时间量。如果设为 0,则禁用此功能。
Chat:
Prefix: '&8[&4SignURLs&8]'
Sign:
Text: SignURLs
Color: '&1'
Player:
Cool-down: 150
视频
最新版本英文视频教程,感谢:DanParry2299
<p>
本视频基于 1.0.0 版本制作;但它仍然是展示插件功能及使用方法的优秀示例!请欣赏!
- 本视频涵盖插件的基本用法,并未包含所有功能。视频中演示的版本为:1.0.0
<p>
本视频由 AbsintoJPl 制作,旨在帮助葡萄牙语使用者学习如何使用此插件。希望能对非英语母语的葡萄牙语用户有所帮助。
- 本视频涵盖插件的基本用法,并未包含所有功能。视频中演示的版本为:1.0.5
支持作者
我和大家一样,需要工作赚钱,才能继续我的项目。如果你愿意请我吃顿饭,或者慷慨捐赠,我将不胜感激。我会尽可能多地更新这个插件,并为新的 Bukkit 版本做好准备。只要有时间,我就会添加新功能,但金钱始终是激励我更快工作的强大动力 ;)
开发构建版
此项目的开发构建版可以在提供的持续集成服务器上获取。
这些构建版未经 BukkitDev 工作人员审核。使用风险自负。
Jenkins CI:
Current Available Version: 1.0.5
Current Version(s) still awaiting BukkitDev approval: N/A
Current Version in Development: N/A
About the plugin
Have you ever needed to put a long link, or your website URL on a sign and it just won't fit, so you put it across multiple signs or lines? Or you wish that those links where clickable? Well SignURLs provides a viable solution. It allows you to associate a word or phrase to a link that can fit on a line of a sign, than allows your members to click the sign and it will output the link the chat for the user to click. The plugin uses SQLite to store, and load the links.
How to use
You associate links to a phrase/word by using the '/signurls add {lineText} {url}' command. So as an example you could do, '/signurls add google '. (*note* the plugin does check to see if you remembered the http: infront, if not it will automatically add it for you.) Then you place a sign, and on any line besides the bottom you put [SignURLs] and on the line below it, you put the phrase or word associated with the link. Once you place it, and you have properly set up the sign right click it. It should then put the link associated with the word phrase in the users chat who had clicked on it.
Commands
| Command | Description |
| 1 | '/signurls' | will display a list of usuable sub-commands |
| 2 | '/signurls add' | will link the specified phrase to the specified URL. |
| 3 | '/signurls remove' | will unlink, and delete the specified phrase and URL. |
| 4 | '/signurls change' | will change the link associated with the specified phrase. |
| 5 | '/signurls list' | will list phrases and what they are linked to. |
| 6 | '/signurls admin database reload' | will reload the database. |
| 7 | '/signurls admin database purge' | will delete everything within the database. |
Permissions
| Permission | Description |
| 1 | 'signurls.command' | access to the /signurls command. |
| 2 | 'signurls.command.add' | access to the ADD sub-command. |
| 3 | 'signurls.command.remove' | access to the REMOVE sub-command. |
| 4 | 'signurls.command.change' | access to the CHANGE sub-command. |
| 5 | 'signurls.command.list' | access to the LIST sub-command. |
| 6 | 'signurls.command.admin' | access to the ADMIN sub-command. |
| 7 | 'signurls.command.*' | access to the command, and all sub-commands. |
| 8 | 'signurls.place' | allows the user to place SignURL signs. |
| 9 | 'signurls.use' | allows the use to use SignURL signs. |
| 10 | 'signurls.break' | allows a user to break a SignURLs sign. |
Configuration File
# Prefix - Sets the prefix used when sending the link in the chat to the user.
# Text - Sets the prefix used when sending the link in the chat to the user.
# Color - Set the color of the 'Text' on the sign.
# Cool-down is the amount of time a player has to wait before clicking a sign again. If 0 it will disable the feature.
Chat:
Prefix: '&8[&4SignURLs&8]'
Sign:
Text: SignURLs
Color: '&1'
Player:
Cool-down: 150
Video
Video in english of the latest version thanks to: DanParry2299
<p>
This video is from version 1.0.0; But it still a good example of the plugin, and how to use it! ENJOY!
- This video covers basic usage of the plugin, and not all of its features. Version in video: 1.0.0
<p>
This video was made by AbsintoJPl to help the Portuguese learn how to use this plugin. Hope this helps the non-English speaking Portuguese
- This video covers basic usage of the plugin, and not all of its features. Version in video:1.0.5
Support the Author
I am just like everyone of you, I have to work, and make money, so that I can work on my projects. If you want to help buy me a meal, or with a generous donation, it is graciously appreciated. I will update this plugin as much as I have time for, and get it ready for the new Bukkit releases. I will add new features when ever I have time, but money is always a great motivator to get me to work faster ;)
Development Builds
Development builds of this project can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Jenkins CI:
评论 0
登录后参与评分
还没有评论,来抢沙发吧