在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称: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 当玩家尝试连接到服务器时,插件会自动向你填写的服务器POST数据 #它有什么优势##1.更安全比起传统的CrazyLogin之类的进游戏后再登录的插件,他更安全 ##2.更开放WebLogin只是个服务端,一切验证行为都由目标网页端完成,WebLogin几乎不参与交互 ##3.功能强大它会向服务端提交 玩家名称,IP,UUID,时间 信息 #Usage 用法##1.Commands 命令/weblogin WebLogin Plugin Help /weblogin 显示插件帮助 ##2.Permissions 权限moecraft.weblogin.command.reload ##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 博客:http://kenvix.com |
请发表评论