• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Minecraft-WebLogin: 一个Minecraft插件,连接到你的服务器来检查玩家是否可以登录 ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Minecraft-WebLogin

开源软件地址:

https://gitee.com/kenvix/Minecraft-WebLogin

开源软件介绍:

#WebLoginVersion 2.0#What's this 这是什么When a player attempting to connect the server, this plugin will post player data to your server
You can allow/disallow the player joining the server by return some specific message.
Default message is <[AccessOK]> , return other message will kick the player and show the message to the player.
This plugin also supports /ban and /unban command, when you enter these command, the plugin will post some data to your server

当玩家尝试连接到服务器时,插件会自动向你填写的服务器POST数据
当服务器返回特定消息的时候,允许或者拒绝玩家登录(默认消息为<[AccessOK]>,其他消息将作为踢出玩家所显示的信息)
该插件也支持/ban和/unban指令,当你输入这些命令时,插件会自动提交一些数据到你指定的服务器1.7.10以下版本未测试,如果能用的话请告知
灵感来源于Beelogin,向其作者致谢

#它有什么优势##1.更安全比起传统的CrazyLogin之类的进游戏后再登录的插件,他更安全
众所周知,CL无法拦截MOD发送的数据包,比如NEI(没登录也能修改世界时间之类的)

##2.更开放WebLogin只是个服务端,一切验证行为都由目标网页端完成,WebLogin几乎不参与交互
比如MoeCraft设计的“按一下按钮登录”

##3.功能强大它会向服务端提交 玩家名称,IP,UUID,时间 信息
支持密码验证
支持自定义消息(支持显示网页端给出的消息)
当网页端服务器宕机时,可以设置是否允许玩家直接登录(此时可以使用Crazylogin等传统插件)

#Usage 用法##1.Commands 命令/weblogin WebLogin Plugin Help
/weblogin reload Reload plugin
/wban Ban player by using weblogin
/wunban Unban player by using weblogin
/ban Ban player by using weblogin. Available if rewriteBanCommand is true
/unban Unban player by using weblogin. Available if rewriteBanCommand is true

/weblogin 显示插件帮助
/weblogin reload 重载插件设置
/wban 使用weblogin封禁玩家/wunban 使用weblogin解除封禁玩家/ban 使用weblogin封禁玩家. 选项 rewriteBanCommand 为 true 时可用/unban 使用weblogin解除封禁玩家. 选项 rewriteBanCommand 为 true 时可用

##2.Permissions 权限moecraft.weblogin.command.reload
Allows someone use /weblogin reload
允许重载插件,OP默认拥有

##3.POST Data Description POST数据说明###Web Login 外部网页登录

[    'name', //User name    'uuid, //UUID    'ip', //User IP    'time', //Server time (UNIX Timestamp)    'pwd', //Server Password    'mac',//User MAC(By Luxcoldury)]

中文说明:

[    'name', //玩家名    'uuid, //UUID    'ip', //玩家IP    'time', //服务器时间(UNIX时间戳)    'pwd', //你设置的密码    'mac', //MAC地址(感谢Luxcoldury)]

Example:范例:( 来自PHP的print_r() )

Array( [name] => Kenvix [uuid] => 922328d2-6a01-33f7-b636-a8f5aacc9795 [ip] => 127.0.0.1 [time] => 1454318534931 [pwd] => helloworld)

###Web Ban 网页连锁封号

[    'name', //Target player name    'sender', //The player who want to ban/unban the target player    'reason', //Ban/unban reason    'action', //Give 0 for ban action, give 1 for unban action    'time', //Server time (UNIX Timestamp)    'pwd', //Server Password]Web ban will rewrite /ban and /unban command.

##4.Configuration File 插件配置文件说明English Version:

# Server Passwordpwd: 'helloworld'# Success Message from server. Give this message will allow players to log in.successMsg: '<[AccessOK]>'###########################SETTINGS FOR WEB LOGIN ###################################### Server URLurl: 'http://localhost/weblogin.php'# Success Message from server. Give this message will allow players to log insuccessMsg: '<[AccessOK]>'# Custom Kick player message? "true" means show player message from server.WARNING: RETURN EMPTY MESSAGE MEANS CONNECT FAILED!!!customKickMsg: true# Kick player message. Unavaiable if "customKickMsg" is "true"kickMsg: 'Access denied.'# Retry if the server unavailable? Enter a number for the number of retriesretryIfServerOffline: 5# Don't Kick Player If Server Unavailable?noKickIfServerOffline: false# Kick player if some fatal error happened?kickIfWebloginError: true# The message of kickIfWebloginErrorkickIfWebloginErrorMessage: 'SERVER ERROR'##################################################################################################################### SETTINGS FOR WEB BAN ###################################### Web Ban Server URLbanUrl: 'http://localhost/wenban.php'# Enable Web Ban?enableWebBan: true# Kick target player if success?( Return successmsg( <[AccessOK]> ))banKickIfSuccess: truebanKickMessage: 'You are banned!'# Rewrite /ban and /unban command? May not work.rewriteBanCommand: true# Continue(allow other plugin to process ban command) if some fatal error happened? Unavaiable if "rewriteBanCommand" is "false"banContinueIfFailed: false########################################################################################

中文版本:

# 登录成功/封号成功时服务器给出的消息。当服务器给出这个消息的时候允许玩家登录successMsg: '<[AccessOK]>'# 服务器密码(POST的pwd项)pwd: 'helloworld'###########################外部网页登录设置###################################### 目标服务器地址url: 'http://localhost/weblogin.php'# 是否启用外部网页登录enableWebLogin: true# 自定义踢出消息? true表示显示服务器发出的消息。警告:服务器给出空消息表示服务器宕机!customKickMsg: true# 踢出玩家所显示的消息,当开启自定义踢出消息时不可用kickMsg: 'Access denied.'# 是否要在服务器宕机时重试?输入重试次数retryIfServerOffline: 5# 如果服务器宕机,是否不要踢出玩家?noKickIfServerOffline: false# 是否在发生致命错误时踢出玩家?kickIfWebloginError: true# 发生致命错误时踢出玩家的消息kickIfWebloginErrorMessage: 'SERVER ERROR'##################################################################################################################### 网页连锁封号的设置 ###################################### 网页连锁封号的目标服务器地址banUrl: 'http://localhost/wenban.php'# 启用网页连锁封号?enableWebBan: true# 是否在成功时(给出<[AccessOK]>)踢出玩家?banKickIfSuccess: true# 封号成功时踢出玩家的消息banKickMessage: 'You are banned!'# 重写 /ban /unban 指令? 可能不工作rewriteBanCommand: true# Continue(allow other plugin to process ban command) if some fatal error happened? Unavaiable if "rewriteBanCommand" is "false"banContinueIfFailed: false########################################################################################

#Downloads 下载##Compiled: 已编译版本下载:Github:https://github.com/kenvix/Minecraft-WebLogin/raw/master/out/artifacts/net.moecraft.weblogin/net.moecraft.weblogin.jar
Git@OSC:https://git.oschina.net/kenvix/Minecraft-WebLogin/raw/master/out/artifacts/net.moecraft.weblogin/net.moecraft.weblogin.jar
##Git Repository: 代码库:Github:https://github.com/kenvix/Minecraft-WebLogin
Git@OSC:https://git.oschina.net/kenvix/Minecraft-WebLogin
#Other 其他:My Blog: http://kenvix.com

博客:http://kenvix.com
MoeCraft:https://www.moecraft.net
博客发布贴:http://kenvix.com/?p=31


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
meteor_original_ios: 流星蝴蝶剑发布时间:2022-03-25
下一篇:
tcpplaychessserver: 联网的五子棋服务器发布时间:2022-03-25
热门推荐
热门话题
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap