[1.4.7-R0.1] TwitterBooks v4.2
在撰写本文时,应与最新版本(1.5.2)的构建兼容且稳定。
功能:
- 允许玩家通过一个较为简单的命令在书中创建 Twitter 信息流。
- 允许监听配置好的 Twitter 信息流并将其广播至服务器。
- 支持拖放操作(需重新加载)。
命令:
- /TwitterBook [@Feed]
权限:
- twitter.make - 允许用户创建书籍。
配置:
Broadcast Tweets: Toggle: true #是否要监听下方指定的频道并进行广播。 Feeds: '@Notch, @Derplin' #你想要监听的来源。用逗号和空格分隔。必须以 @ 开头。 Check Delay: 1200 #检查来源更新的时间间隔(以刻为单位,每秒 20 刻)。 Multi Tweet Delay: 600 #如果同时出现多条新推文,它们之间的间隔应为多久?
更新日志:
v4.3
- 使用新的推文格式。(再次)
v4.2
- 使用新的推文格式。
- 添加了一些 HTML 引用(详见下方的已知问题)。
v4.1
- 使用新的 BookMeta。因此不再依赖 CraftBukkit,预计在未来很长一段时间内都能兼容新版构建。
- 不再使用 codename_b 的代码。
v4.0
- 现在可以监听配置好的来源,并将新推文广播到服务器。
- 添加了配置文件。
v3.0
- 修复了标签(hashtags)的问题。
- 修复了部分 URL 的问题。
- 修复了失败的 URL 文本显示,使其仅隐藏 URL 并显示提示信息。
- 将失败的推文文本颜色改为红色。
- 在 /TwitterBook 命令中显示使用说明。
v2.0:
- 推文中标记的来源现在可以正常工作并加粗显示。
- 为失败的 URL、推文和时间戳提供了安全保护机制。
v1.0:
- 允许玩家通过一个较为简单的命令在书中创建 Twitter 信息流。
- 权限 'twitter.make' 允许玩家创建书籍。
- 支持拖放操作(需重新加载)。
待办事项:
- 有任何建议吗?
已知问题:
- 如果在创建时打开书籍,操作将会失败。
- 部分 HTML 引用未被正确转换。(例如 '&' 会被转换为 '&')。
- 如果发现任何问题,请报告它们(包含所有常规信息)。
免责声明:
我没有使用其他插件的任何想法或代码,所有代码均由我编写,所有功能构想也均由我提出。请勿复制或窃取我的想法或代码。本插件可能导致错误或破坏任何东西,对此我无法承担责任,你需要对插件的安全使用负责。
捐赠:
如果你喜欢这个插件,请考虑向我的社区(The Derplin Network)捐赠: chaosjmaker@gmail.com 通过 PayPal。 在留言中请注明 rrama plugins 或类似内容,表明你是因为我而进行捐赠。 这将激励我制作更多插件。
[1.4.7-R0.1] TwitterBooks v4.2
Should be stable for the latest builds, at time of writing 1.5.2.
Features:
- Allows a player to create a Twitter feed in a Written book with a simpleish command.
- Allow configed Twitter feeds to be watched and broadcasted to the server.
- Drag and drop (With reload).
Commands:
- /TwitterBook [@Feed]
Permissions:
- twitter.make - Allows the user to create the book.
Config:
Broadcast Tweets: Toggle: true #Weather you want to listen to the specified channels below and have the broadcasted. Feeds: '@Notch, @Derplin' #The feeds you want to listen to. Separated by a comma and a space. Must start with an @. Check Delay: 1200 #How often to check for updates on the feeds in ticks (20 ticks per second). Multi Tweet Delay: 600 #If there are multiple new tweets at once, how long should the gap between them be?
Change Log:
v4.3
- Uses new tweet formatting. (AGAIN)
v4.2
- Uses new tweet formatting.
- Adds a couple HTML references (see below in bugs).
v4.1
- Uses new BookMeta. Therefore does not rely on CraftBukkit, so should work with future builds for a long time.
- No longer uses codename_b's code.
v4.0
- You can now listen to configured feeds and have them broadcast new tweets to the server.
- Added a config.
v3.0
- Fixed hash tags.
- Fixed problems with some URLs.
- Fixed failed URL text, to display message with just the URL gone.
- Made the failed tweet texts red.
- Displays usage on /TwitterBook
v2.0:
- Feeds tagged in tweets now work and are made bold.
- Safeguard for failed URLs, Tweets and Timestamps.
v1.0:
- Allows a player to create a Twitter feed in a Written book with a simpleish command.
- Permission 'twitter.make' to allow the player to make the book.
- Drag and drop (With reload).
Todo:
- Any suggestions?
Known bugs:
- If the book is opened on creation the operation will fail.
- Some HTML references aren't translated. (E.G. '&' goes to '&').
- If you find any please report them (Include all the usual information).
Disclaimer:
I have not used any ideas or code off other plugins, all the code is made by me and all feature thought up of by me. Please do not copy/steal ideas or code off of me. I can not be held responsible for this plugin causing errors or breaking anything, you are responsible for the safe use of this plugin.
Donations:
If you like the plugin, please consider donating to my community (The Derplin Network): chaosjmaker@gmail.com On PayPal. In the message please say rrama plugins or something indicating that you are donating because of me. This will inspire me to make more plugins.
下载 TwitterBooks
下载 TwitterBooks
下载 TwitterBooks
下载 TwitterBooks
下载 TwitterBooks
下载 TwitterBooks
下载 TwitterBooks
下载 TwitterBooks
下载 TwitterBooks
- 使用新的推文格式。(再次)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
用于绘制游戏内地图或在浏览器中随探索实时进行地图绘制的实时地图。
评论 0
登录后参与评分
还没有评论,来抢沙发吧