欢迎来到Minecraft插件百科!
对百科编辑一脸懵逼?
帮助:快速入门
带您快速熟悉百科编辑!
因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
查看“Essentials/EssentialsXMPP”的源代码
←
Essentials/EssentialsXMPP
跳转到导航
跳转到搜索
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于这些用户组的用户执行:
用户
、
自动确认用户
、
巡查者
您可以查看和复制此页面的源代码。
<p> [http://en.wikipedia.org/wiki/Extensible_Messaging_and_Presence_Protocol Extensible Messaging and Presence Protocol (XMPP)] is an open-standard communications protocol for message-oriented middleware based on XML. The protocol was originally named Jabber. </p> <p> In addition to the obvious 'XMPP' or 'Jabber' branded services, there are some services which use XMPP or provide XMPP bridges or gateways to their services. Google Talk, Live journal and Ovi use XMPP, while Facebook chat allow XMPP connections to their service. There are also 3rd party gateway services between XMPP and MSN and Yahoo. </p> <p> Users who are intending to use Google Talk with XMPP make sure to read up on the xmpp changes: https://www.fsf.org/blogs/sysadmin/google-backslides-on-federated-instant-messaging-on-purpose </p> <p> There is a huge number of XMPP clients, many of which allow connection to multiple services, for example: iChat, Trillian, Miranda, fring, Adium, bitlbee, Pidgin and Digsby. </p> =Essentials XMPP= The Essentials XMPP extension provides a XMPP gateway to the Bukkit server. ===Player XMPP=== Players who use an XMPP service are able to set their XMPP address ingame, which allows for other players to message them when they are not connected to minecraft. ===XMPP Spy=== If you enable XMPP spy for a user, that player will get a copy of ingame messages sent to their XMPP account, as if they were connected and ingame. ===Console Control=== If you allow an account to issue commands from XMPP, that user will be able to use console commands (op) similar to as if they were typing directly in the console. ===Console View=== If you register an account to have log view, the account will be forwarded messages sent the log with the matching or higher warning level. This directly replicates what you would see looking directly at the console. ==Using XMPP== When you configure XMPP, you create a new account for the server, and associate your current accounts with the one given to the server. On most services, this is akin to adding the server to your 'friends list' or 'contact list'. While 2 of the main uses of this plugin is to allow the server admins to remotely connect to the server, it is also useful to encourage contact between users on the server. ===Setting your account=== Users can register their own XMPP addresses by using the "/setxmpp <address>" command. Users can register any XMPP/Jabber compatible account, either accounts set up specifically for XMPP or systems which provide jabber ids. Facebook users can find out more about their XMPP service [http://www.facebook.com/sitetour/chat.php in the site tour], but essentially it would be /setxmpp <username>@chat.facebook.com. Gmail users should simply use their gmail address. ===Messaging a user=== To message another user you use the "/xmpp <account> <message>" command, using the players ingame name. ===Chat Spy=== Not every server which allows XMPP will enable xmppspy, enabling this feature will forward all ingame chat to the XMPP account. This will allow the user to chat as if they were ingame, by messaging the server's XMPP address. ==Configure XMPP== Setting up the Essentials XMPP connector is fairly simple, you need to create an XMPP account, and provide the details for Essentials to use. ===Create Account=== <p>Before Essentials can communicate with users XMPP accounts you first need to set it up with an account. There are several different ways you can handle this, but it is recommended that you create an account specifically for the the server.</p> <p>Since XMPP is an open protocol you can set up your own XMPP server locally, or use a service provided by your ISP/Host. As long as the server connects with one of the public XMPP nodes, you will be able to communicate with users using other XMPP services.</p> <p>For the sake of simplicity it will probably be easiest to create a free account with [https://register.jabber.org/ Jabber.org].</p> ===Config file=== <p>The config file for XMPP connectivity is found in its own folder. You will find the file at /plugins/EssentialsXMPP/config.yml</p> <pre> xmpp: sasl-enabled: true server: 'jabber.org' port: 5222 user: 'khobbits@jabber.org' password: 'password' </pre> <p>The above is an example of the configuration settings needed to connect to the [http://jabber.org jabber.org] XMPP server. There are a few more options, but generally you wont need to set up a service name or use a none standard port. For your exact configuration settings you will need to check your XMPP provider.</p> ===Log users=== <p>You can allow XMPP users to receive server information.</p> <pre> log-enabled: true log-level: info log-users: - 'khobbits@gmail.com' </pre> <p> The above example would allow the user with the XMPP address 'khobbits@gmail.com' to receive all server log information to be forwarded to their account. The log level, is the minimum required level for which that should be forwarded to the user, values can be: info, warning, severe </p> ===Op users=== <p>You can allow XMPP users to issue commands to the server (they would need to be log users to actually see any output).</p> <pre> op-users: - 'khobbits@gmail.com' </pre> <p> The above example would allow the user with the XMPP address 'khobbits@gmail.com' to issue commands as if they were typing in the console.<br /> Some clients may need a /say or /raw to use /commands properly, if the client intercepts this. </p>
返回
Essentials/EssentialsXMPP
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
编辑相关
百科公告
编辑帮助
互助客栈
贡献分数
测试沙盒
发布条目
插件分类
管理
安全
聊天
编程
经济
修正
娱乐
综合
信息
机械
角色
传送
网页
整地
创世
付费
其它
工具
链入页面
相关更改
特殊页面
页面信息
相关网站
MCMOD百科
Minecraft中文百科
Minecraft纪念论坛
Minecraft百度贴吧
虚无世界Wiki