diff --git a/README.en.md b/README.en.md deleted file mode 100644 index b8adde8..0000000 --- a/README.en.md +++ /dev/null @@ -1,281 +0,0 @@ -# Sdf1_login Plugin User Guide - -## 1. Features - -| Name | Description/Function | Status | -| :--- | :--- | :--- | -| Login | User login/registration | Completed | -| World Trash Can | Clear server drops | In Progress | -| Ticket System | User ticket submission | Completed | -| Check-in System | Check-in points for rewards | Completed | - -## 2. Installation - -| Prerequisite | Optional | -| :--- | :--- | -| CY_beibao | Optional | -| EssentialsX | Optional | - -### 2.1 Download -You can download the plugin from GitHub and Gitee, drop it into the server's plugin directory, and restart the server. - -### 2.2 Configuration Files - -#### 2.2.1 messages.txt -This file controls all prompt messages in the plugin. You can modify it to your needs, and then execute `/sdf1_login reload` to reload the plugin. Supports [color codes](https://zh.minecraft.wiki/w/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81)
-Also compatible with ` ` tags for bolding paragraphs, and `\n` or `
` for line breaks. - -```txt -# ========================================== -# Sdf1_login Messages Config -# ========================================== -# Color codes use § symbol -# §0 black §1 dark blue §2 dark green §3 dark cyan -# §4 dark red §5 dark purple §6 gold §7 gray -# §8 dark gray §9 blue §a green §b light blue -# §c red §d pink §e yellow §f white -# §l bold §n underline §o italic §r reset -# -# Placeholders use {xxx}, replaced at runtime -# Supports bold tags -# Supports \n or
for line breaks -# Execute /sdf1_login reload after editing -# ========================================== - -# ---- Login/Registration ---- -# login_timeout: Kick message on login timeout -login_timeout=§cLogin timeout, please login again -# not_registered: Message for unregistered players -not_registered=§eYou are not registered, please use /reg -# not_logged_in: Message for registered but not logged in players -not_logged_in=§eYou are not logged in, please use /login -# already_registered: Message when registered player registers again -already_registered=§cYou have already registered -# already_logged_in: Message when logged in player logs in again -already_logged_in=§cYou are already logged in -# reg_success: Registration success message -reg_success=§aRegistration successful! Welcome to the server -# login_success: Login success message -login_success=§aLogin successful! -# login_failed: Wrong password message -login_failed=§cWrong password, please try again - -# ---- Password Related ---- -# password_wrong: Old password verification failed -password_wrong=§cWrong password -# password_changed: Password change success -password_changed=§aPassword changed successfully! -# password_format_error: Password format does not meet requirements -password_format_error=§cPassword must be 6+ characters with uppercase, lowercase, and numbers -# password_same: New password same as old password -password_same=§cNew password cannot be the same as old password -# reset_no_email: No email bound when recovering password -reset_no_email=§cYou have not bound an email, cannot recover password -# reset_sent: Temporary password sent to email -reset_sent=§aTemporary password sent to your email, please check - -# ---- Check-in Points ---- -# checkin_already: Already checked in today -checkin_already=§cYou have already checked in today -# checkin_success: Check-in success, {points}=points earned {streak}=consecutive days {multi}=multiplier -checkin_success=§aCheck-in successful! Earned {points} points, {streak} consecutive days, multiplier x{multi} -# points_insufficient: Insufficient points -points_insufficient=§cInsufficient points, current: {points} -# points_purchase_success: Points purchase success -points_purchase_success=§aPurchase successful! Spent {count} points - -# ---- AFK Detection ---- -# afk_set_enabled: AFK detection enabled -afk_set_enabled=§aAFK detection enabled -# afk_set_disabled: AFK detection disabled -afk_set_disabled=§cAFK detection disabled -# afk_kick: Kicked for AFK -afk_kick=§cKicked for being AFK too long - -# ---- Email Related ---- -# email_set: Email set successfully -email_set=§aEmail set successfully: {email} -# email_format_error: Email format error -email_format_error=§cEmail format incorrect - -# ---- Invite Related ---- -# invite_code_generated: Invite code generated -invite_code_generated=§aInvite code: {code} -# invite_used: Invite code used successfully -invite_used=§aInvite successful, inviter: {player} -# invite_self: Using own invite code -invite_self=§cCannot use your own invite code -# invite_not_found: Invite code not found -invite_not_found=§cInvite code not found -# invite_referral_bonus: Inviter gets bonus when invitee checks in -invite_referral_bonus=§aInvite bonus! Earned {points} points - -# ---- New Player Gift ---- -# gift_not_ready: Gift conditions not met -gift_not_ready=§cGift conditions not met -# gift_claimed: Gift claimed successfully -gift_claimed=§aGift claimed successfully! - -# ---- Approval & IP Limit ---- -# need_approval: Registration requires approval -need_approval=§eRegistration requires approval (Ticket #{id}) -# ip_max_accounts: IP registration limit reached -ip_max_accounts=§cIP registration limit reached - -# ---- Admin Operations ---- -# admin_delete_confirm: Admin delete account confirmation -admin_delete_confirm=§cPlease type player name in chat to confirm deletion - -# ---- Chat Filter ---- -# chat_muted: Muted player tries to chat -chat_muted=§c§l[Sdf1_chat] §fYou are muted, cannot chat -# chat_url_blocked: Blocked sending illegal link -# {url}=detected link address -chat_url_blocked=§c§l[Sdf1_chat] §fDetected illegal third-party link: §e{url} -# chat_url_violation: Current violation count -# {count}=current violation count -chat_url_violation=§7Current violations: §e{count} -# chat_url_admin_notify: Notify admin, {player}=player name {url}=link {count}=count -chat_url_admin_notify=§e§l[Sdf1_chat] §f{player} sent illegal link: {url} (count: {count}) -# chat_url_broadcast: Server broadcast, {player}=player name -chat_url_broadcast=§c§l[Sdf1_chat] §e{player} §fpunished for sending illegal links - -# ---- General ---- -# Unknown parameter: Unknown command or insufficient permissions -Unknown parameter=§cUnknown parameter or insufficient permissions -# only_player: Command only for players -# only_player=§cThis command is only for players - -``` - -### 2.2.2 afk_whitelist.txt -Players under this configuration will not be affected by AFK kick when AFK kick is enabled. - -### 2.2.3 SMTP Settings.txt - -This file controls the SMTP mail server configuration, used for sending emails when recovering passwords.
-Can be configured via GUI, or manually edit this config file. Reload the plugin after modifying. - -```txt -# ===== SMTP Mail Server Config ===== -smtp地址=smtp.example.com -smtp端口=465 -smtp账号=mail@example.com -smtp密码=example.com -发件人名ç§?Sdf1_login -smtp加密=true -验证码接收邮ç®?example@example.com - -``` - -### 2.2.4 Plugin Settings.txt - -This config controls the entire plugin, including how many accounts players can register, default admin panel password, what tags are considered admin, etc. - -```txt -# ===== Sdf1_login Plugin Settings ===== -管理标签=admin -管理密码=qweasd -每IP最大账号数=3 -审批模式=manual -自动审批延迟分钟=30 -登录超时秒数=60 -挂机踢出=false -挂机超时秒数=300 -服务商积分倍率=2.0 -基础经济奖励=100 -经济奖励每评åˆ?50.0 -报单人积分奖åŠ?10 - -``` - -### 2.2.5 chat.txt -This file controls the chat filter. When players send illegal links, they will be processed automatically according to the config rules.
-Available penalty rules: -- warn: Warn -- mute: Mute -- kick: Kick -- ban: Ban -- banip: Ban IP - -```txt -# Sdf1_chat Chat Filter Config -通知管理å‘? true -全服通报: true -禁言时长: 300 - -白名å�? -*.minecraft.net -baidu.com -github.com - -处罚规则: -1:warn:0 -2:warn:0 -3:mute:300 -5:mute:600 -8:kick:0 -10:ban:0 - -白名单玩å®? - -``` - -## 3. Commands - -- Sdf1_login main command
-- Sdf1_login reload reload config
-- reg register account
-- login login to account
-- l login to account
- -## 4. Screenshots - -Main Interface -![img/login.png] - -Invite Data -![](img/login2.png) - -Points Shop -![](img/login3.png) - -Task Center -![](img/login4.png) - -Trash Can -![](img/login5.png) - -Admin Panel -![](img/login6.png) - -Admin Panel - User Management -![](img/login7.png) - -Ticket Center -![](img/login8.png) - -Ticket Management -![](img/login9.png) - -My Tickets -![](img/login10.png) - -Submit Ticket -![](img/login11.png) - -Provider List -![](img/login12.png) - -Provider Grab Hall -![](img/login13.png) - -Provider - Order Interface -![](img/login14.png) - -Admin - Ticket Detail Page -![](img/login15.png) - -## 5. Download Links -- GitHub: [https://github.com/ypsdf1/sdf1_login](https://github.com/ypsdf1/sdf1_login) -- Gitee: [https://gitee.com/nihaoshidifu/sdf1_login](https://gitee.com/nihaoshidifu/sdf1_login) diff --git a/README.md b/README.md deleted file mode 100644 index e51630c..0000000 --- a/README.md +++ /dev/null @@ -1,245 +0,0 @@ -# Sdf1系列登录插件使用说明 - -## 1. 功能介绍 - -| 名字 | 描述/作用 | 施工状æ€?| -| :--- | :--- | :--- | -| 登录 | 用户登录/注册 | 已完æˆ?| -| 世界垃圾ç®?| 清理服务器凋落物 | 半成å“?| -| 工单系统 | 用户提交工单 | 已完æˆ?| -| 签到系统 | 签到积分换奖åŠ?| 已完æˆ?| - -## 2.安装说明ï¼? -| 前置插件 | 选装类型 | -| :--- | :--- | -| CY_beibao | 可é€?| -| EssentialsX | 可é€?| - -### 2.1 下载 -您可以从GitHub和Gitee下载到插件,将其丢入服务器plugin目录,重启服务器即可ã€? -### 2.2.2 配置文件 - -#### 2.2.2.1 消息.txt -此文件控制着整个插件的所有提示消息,您可以根据自己的需求修改,修改后需要执è¡?/sdf1_login reload 重载插件。支持[颜色代码](https://zh.minecraft.wiki/w/%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%BB%A3%E7%A0%81)
-同时兼容` `标签,对段落加粗,`\n å’?
`进行段落换行 - - -```txt -# ========================================== -# Sdf1_login 消息配置文件 -# ========================================== -# 颜色代码使用 § 符号 -# §0黑色 §1深蓝 §2深绿 §3深青 -# §4深红 §5深紫 §6金色 §7灰色 -# §8深灰 §9蓝色 §a绿色 §b浅蓝 -# §c红色 §d粉色 §e黄色 §f白色 -# §l粗体 §n下划çº?§o斜体 §r重置 -# -# 占位符用 {xxx} 表示,运行时自动替换 -# 支持 粗体 标签 -# 支持 \n æˆ?
换行 -# 修改后执è¡?/sdf1_login reload 重载 -# ========================================== - -# ---- 登录注册相关 ---- -# login_timeout: 登录超时被踢出时的提ç¤?login_timeout=§c登录超时,请重新登录 -# not_registered: 未注册玩家收到的提示 -not_registered=§e您尚未注册,请使ç”?/reg <密码> -# not_logged_in: 已注册但未登录的提示 -not_logged_in=§e您尚未登录,请使ç”?/login <密码> -# already_registered: 已注册玩家再次注册时的提ç¤?already_registered=§c您已注册过账å�?# already_logged_in: 已登录玩家再次登录时的提ç¤?already_logged_in=§c您已登录 -# reg_success: 注册成功提示 -reg_success=§a注册成功!欢迎来到服务器 -# login_success: 登录成功提示 -login_success=§a登录成功ï¼?# login_failed: 密码错误提示 -login_failed=§c密码错误,请重试 - -# ---- 密码相关 ---- -# password_wrong: 旧密码验证失è´?password_wrong=§c密码错误 -# password_changed: 密码修改成功 -password_changed=§a密码修改成功ï¼?# password_format_error: 密码格式不符合要æ±?password_format_error=§c密码需6位以上,含大小写字母和数å­?# password_same: 新密码与旧密码相å�?password_same=§c新密码不能与旧密码相å�?# reset_no_email: 找回密码时未绑定邮箱 -reset_no_email=§c您未绑定邮箱,无法找回密ç ?# reset_sent: 临时密码已发送到邮箱 -reset_sent=§a临时密码已发送到您的邮箱,请查收 - -# ---- 签到积分相关 ---- -# checkin_already: 今日已签åˆ?checkin_already=§c您今日已签到 -# checkin_success: 签到成功,{points}=获得积分 {streak}=连续天数 {multi}=倍率 -checkin_success=§a签到成功!获å¾?{points} 积分,连ç»?{streak} 天,倍率 x{multi} -# points_insufficient: 积分不足 -points_insufficient=§c积分不足,当å‰? {points} -# points_purchase_success: 积分购买成功 -points_purchase_success=§a购买成功!消è€?{count} 积分 - -# ---- 挂机检测相å…?---- -# afk_set_enabled: 挂机检测开å�?afk_set_enabled=§a挂机检测已开å�?# afk_set_disabled: 挂机检测关é—?afk_set_disabled=§c挂机检测已关闭 -# afk_kick: 因挂机被踢出 -afk_kick=§c因挂机过久被踢出 - -# ---- 邮箱相关 ---- -# email_set: 邮箱设置成功 -email_set=§a邮箱设置成功:{email} -# email_format_error: 邮箱格式错误 -email_format_error=§c邮箱格式不正ç¡? -# ---- 邀请相å…?---- -# invite_code_generated: 邀请码生成 -invite_code_generated=§a邀请码:{code} -# invite_used: 使用邀请码成功 -invite_used=§a邀请成功,邀请人:{player} -# invite_self: 使用自己的邀请码 -invite_self=§c不能使用自己的邀请码 -# invite_not_found: 邀请码不存åœ?invite_not_found=§c邀请码不存åœ?# invite_referral_bonus: 被邀请人签到后邀请人获得奖励 -invite_referral_bonus=§a邀请奖励!获得 {points} 积分 - -# ---- 新人礼包相关 ---- -# gift_not_ready: 礼包条件未满è¶?gift_not_ready=§c礼包条件未满è¶?# gift_claimed: 礼包领取成功 -gift_claimed=§a礼包领取成功ï¼? -# ---- 审批与IP限制 ---- -# need_approval: 注册需审批 -need_approval=§e注册需审批 (工单#{id}) -# ip_max_accounts: IP注册已达上限 -ip_max_accounts=§cIP注册已达上限 - -# ---- 管理员操ä½?---- -# admin_delete_confirm: 管理员删除账号确认提ç¤?admin_delete_confirm=§c请在聊天中输入玩家名确认删除 - -# ---- 聊天过滤 ---- -# chat_muted: 禁言玩家尝试聊天 -chat_muted=§c§l[Sdf1_chat] §f你已被禁言,无法聊å¤?# chat_url_blocked: 发送违规链接被拦截 -# {url}=检测到的链接地址 -chat_url_blocked=§c§l[Sdf1_chat] §f检测到违规第三方链æŽ? §e{url} -# chat_url_violation: 当前违规次数 -# {count}=当前违规次数 -chat_url_violation=§7当前违规次数: §e{count} -# chat_url_admin_notify: 通知管理员,{player}=玩家å�?{url}=链接 {count}=次数 -chat_url_admin_notify=§e§l[Sdf1_chat] §f{player} 发送违规链æŽ? {url} (第{count}æ¬? -# chat_url_broadcast: 全服通报,{player}=玩家å�?chat_url_broadcast=§c§l[Sdf1_chat] §e{player} §f因发送违规链接被处罚 - -# ---- 通用 ---- -# 未知参数: 未知命令或权限不足时的提ç¤?未知参数=§c未知参数或权限不è¶?# only_player: 仅玩家可用的命令 -# only_player=§c此命令仅玩家可用 - -``` - -### 2.2.2 挂机白名å�?txt -当挂机踢出开启时,该配置下的玩家不受挂机提出影响 - -### 2.2.3 SMTP设置.txt - -此文件控制着SMTP邮件服务器的配置,用于找回密码时发送邮件ã€?br>可通过GUI进行配置,也可以手动修改此配置文件。修改后,重载插件即可生æ•? -```txt -# ===== SMTP 邮件服务器配ç½?===== -smtp地址=smtp.example.com -smtp端口=465 -smtp账号=mail@example.com -smtp密码=example.com -发件人名ç§?Sdf1_login -smtp加密=true -验证码接收邮ç®?example@example.com - -``` - -### 2.2.4 插件设置.txt - -此配置管控这整个插件,包括玩家能注册多少个账号、默认的管理员面板密码多少、tag包含什么视为管理员ç­? -```txt -# ===== Sdf1_login 插件设置 ===== -管理标签=admin -管理密码=qweasd -每IP最大账号数=3 -审批模式=manual -自动审批延迟分钟=30 -登录超时秒数=60 -挂机踢出=false -挂机超时秒数=300 -服务商积分倍率=2.0 -基础经济奖励=100 -经济奖励每评åˆ?50.0 -报单人积分奖åŠ?10 - -``` - -### 2.2.5 chat.txt -该文件控制着聊天过滤,当玩家发送违规链接时,会自动根据配置规则进行处理ã€?br> -可用的处罚规则: -- warn: 警告 -- mute: 禁言 -- kick: 踢出 -- ban: 封禁 -- banip:封禁IP - -```txt -# Sdf1_chat 聊天过滤配置 -通知管理å‘? true -全服通报: true -禁言时长: 300 - -白名å�? -*.minecraft.net -baidu.com -github.com - -处罚规则: -1:warn:0 -2:warn:0 -3:mute:300 -5:mute:600 -8:kick:0 -10:ban:0 - -白名单玩å®? - -``` - -## 3. 指令参数及介ç»? -- Sdf1_login 主指ä»?br> -- Sdf1_login reload 重载配置文件
-- reg 注册账号
-- login 登录账号
-- l 登���账�ï¿?br> - -## 4. 运行截图 - -主界é�?![img/login.png] - -邀请数æ�?![](img/login2.png) - -积分商店 -![](img/login3.png) - -任务中心 -![](img/login4.png) - -垃圾ç®?![](img/login5.png) - -管理员面æ�?![](img/login6.png) - -管理面板-用户管理 -![](img/login7.png) - - -工单中心 -![](img/login8.png) - -工单管理 -![](img/login9.png) - -我的工单 -![](img/login10.png) - - -提交工单 -![](img/login11.png) - -服务商列è¡?![](img/login12.png) - -服务商抢单大åŽ?![](img/login13.png) - -服务å•?接单界面 -![](img/login14.png) - -管理å‘?工单详情页面 -![](img/login15.png) - -## 5. 下载地址 -- GitHub:[https://github.com/ypsdf1/sdf1_login](https://github.com/ypsdf1/sdf1_login) -- Gitee:[https://gitee.com/nihaoshidifu/sdf1_login](https://gitee.com/nihaoshidifu/sdf1_login) diff --git a/img/login.png b/img/login.png deleted file mode 100644 index b9433b3..0000000 Binary files a/img/login.png and /dev/null differ diff --git a/img/login1.png b/img/login1.png deleted file mode 100644 index 4f54df9..0000000 Binary files a/img/login1.png and /dev/null differ diff --git a/img/login10.png b/img/login10.png deleted file mode 100644 index 6b083c2..0000000 Binary files a/img/login10.png and /dev/null differ diff --git a/img/login11.png b/img/login11.png deleted file mode 100644 index c1220c1..0000000 Binary files a/img/login11.png and /dev/null differ diff --git a/img/login12.png b/img/login12.png deleted file mode 100644 index b561550..0000000 Binary files a/img/login12.png and /dev/null differ diff --git a/img/login13.png b/img/login13.png deleted file mode 100644 index 1255d6b..0000000 Binary files a/img/login13.png and /dev/null differ diff --git a/img/login14.png b/img/login14.png deleted file mode 100644 index 7b4f091..0000000 Binary files a/img/login14.png and /dev/null differ diff --git a/img/login15.png b/img/login15.png deleted file mode 100644 index a3d00a4..0000000 Binary files a/img/login15.png and /dev/null differ diff --git a/img/login2.png b/img/login2.png deleted file mode 100644 index 03dc32c..0000000 Binary files a/img/login2.png and /dev/null differ diff --git a/img/login3.png b/img/login3.png deleted file mode 100644 index b12a88b..0000000 Binary files a/img/login3.png and /dev/null differ diff --git a/img/login4.png b/img/login4.png deleted file mode 100644 index ed32c55..0000000 Binary files a/img/login4.png and /dev/null differ diff --git a/img/login5.png b/img/login5.png deleted file mode 100644 index fa8fd67..0000000 Binary files a/img/login5.png and /dev/null differ diff --git a/img/login6.png b/img/login6.png deleted file mode 100644 index 956d0bb..0000000 Binary files a/img/login6.png and /dev/null differ diff --git a/img/login7.png b/img/login7.png deleted file mode 100644 index 15fc70e..0000000 Binary files a/img/login7.png and /dev/null differ diff --git a/img/login8.png b/img/login8.png deleted file mode 100644 index 57189c2..0000000 Binary files a/img/login8.png and /dev/null differ diff --git a/img/login9.png b/img/login9.png deleted file mode 100644 index fbd43f7..0000000 Binary files a/img/login9.png and /dev/null differ