1
mirror of https://github.com/CarmJos/MineSQL.git synced 2026-06-05 00:48:16 +08:00

修改文件夹名称

This commit is contained in:
2022-03-13 19:42:48 +08:00
parent aa83feea05
commit a2ab7d4d9f
31 changed files with 7 additions and 7 deletions
+11
View File
@@ -0,0 +1,11 @@
&3 ______ _____ ____ _ &f_____ _ _
&3| ____| / ____|/ __ \| | &f| __ \| | (_)
&3| |__ __ _ ___ _ _| (___ | | | | | &f| |__) | |_ _ __ _ _ _ __
&3| __| / _` / __| | | |\___ \| | | | | &f| ___/| | | | |/ _` | | '_ \
&3| |___| (_| \__ \ |_| |____) | |__| | |____ &f| | | | |_| | (_| | | | | |
&3|______\__,_|___/\__, |_____/ \___\_\______| &f|_| |_|\__,_|\__, |_|_| |_|
&3 __/ | &f __/ |
&3 |___/ &f|___/
&f 查看更多信息请访问项目主页&f https://github.com/CarmJos/EasySQL-Plugin
@@ -0,0 +1,41 @@
# suppress inspection "UnusedProperty" for whole file
#
# Copyright (c) 2016-2021 Daniel Ennis (Aikar) - MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
acf-core.permission_denied=很抱歉,你没有执行此命令的权限。
acf-core.permission_denied_parameter=很抱歉,你没有执行此命令的权限。
acf-core.error_generic_logged=很抱歉,插件产生了内部错误。问题已输出在游戏日志中。
acf-core.unknown_command=§r您输入了未知的指令,输入 §b/EasySQL help §r获得指令帮助。
acf-core.invalid_syntax=§r指令用法 §b{command} {syntax} §r。
acf-core.error_prefix=在执行指令时出现了一个错误:\n{message}
acf-core.error_performing_command=很抱歉,指令执行中出现了错误。
acf-core.info_message=§r{message}
acf-core.please_specify_one_of=错误:请输入 <c2>{valid}</c2> 中的某一个。
acf-core.must_be_a_number=错误:{num} 必须是数字。
acf-core.must_be_min_length=错误:至少需要输入 {min} 个字符。
acf-core.must_be_max_length=错误:最多需要输入 {max} 个字符。
acf-core.please_specify_at_most=错误:请输入一个不大于 {max} 的值。
acf-core.please_specify_at_least=错误:请输入一个不小于 {min} 的值。
acf-core.not_allowed_on_console=错误:控制台不能执行此命令。
acf-core.could_not_find_player=错误:找不到名叫 <c2>{search}</c2> 的玩家。
acf-core.no_command_matched_search=§r抱歉,没有匹配 §b{search} §r的指令。
acf-core.help_no_results=§r抱歉,没有相关的指令帮助。
@@ -0,0 +1,39 @@
# suppress inspection "UnusedProperty" for whole file
#
# Copyright (c) 2016-2021 Daniel Ennis (Aikar) - MIT License
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modify, merge, publish,
# distribute, sublicense, and/or sell copies of the Software, and to
# permit persons to whom the Software is furnished to do so, subject to
# the following conditions:
#
# The above copyright notice and this permission notice shall be
# included in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
acf-minecraft.invalid_world = 错误:该世界不存在。
acf-minecraft.you_must_be_holding_item = 错误:你的主手上必须持有物品。
acf-minecraft.player_is_vanished_confirm = \
警告:<c2>{vanished}</c2> 已被隐藏。不要暴露他们的身份!\n\
如果你确认这么做,请在他们的名字后面加上 <c2>:confirm</c2> 。\n\
例如:<c2>{vanished}:confirm</c2>
acf-minecraft.username_too_short = 错误:名字太短,请至少输入三个字符。
acf-minecraft.is_not_a_valid_name = 错误:<c2>{name}</c2> 不是一个可以用的名字。
acf-minecraft.multiple_players_match = 错误:<c2>{search}</c2> 的搜索结果过多<c3>(共计{all}人)</c3>,请再详细一点。
acf-minecraft.no_player_found_server = 没有搜索到匹配 <c2>{search}</c2> 的在线玩家。
acf-minecraft.no_player_found_offline = 没有搜索到匹配 <c2>{search}</c2> 的在线/离线玩家。
acf-minecraft.no_player_found = 没有搜索到匹配 <c2>{search}</c2> 的玩家。
acf-minecraft.location_please_specify_world = 错误:请指明世界。例如:<c2>world:x,y,z</c2>。
acf-minecraft.location_please_specify_xyz = 错误:请指明坐标xy和z。例如:<c2>world:x,y,z</c2>。
acf-minecraft.location_console_not_relative = 错误:控制台不能使用相对坐标来指明位置。
+44
View File
@@ -0,0 +1,44 @@
version: ${project.version} #配置文件版本,若与插件版本不同请记得检查配置文件内容
debug: false
# 统计数据设定
# 改选项用于帮助开发者统计插件版本与使用情况,且绝不会影响性能与使用体验。
# 当然,您也可以选择在这里关闭,或在plugins/bStats下的配置文件中关闭。
metrics: true
# 检查更新设定
# 该选项用于插件判断是否要检查更新,若您不希望插件检查更新并提示您,可以选择关闭。
# 检查更新为异步操作,绝不会影响性能与使用体验。
check-update: true
# 启用 Properties 文件配置
# 相关配置介绍(BeeCP) https://github.com/Chris2018998/BeeCP/wiki/Configuration--List#配置列表
properties:
# 该选项用于启用 Properties 配置读取,若您不希望插件启用 Properties 文件配置,可以选择关闭。
enable: true
# 文件夹路径,将读取该文件夹下的所有 .properties 文件,并以文件名为数据管理器名称。
# 读取时,将排除以 “.” 开头的文件与非 .properties 文件。
# 默认为 "db-properties/" 相对路径,指向“plugins/EasySQL-Plugin/db-properties/”;
# 该选项也支持绝对路径,但使用绝对路径时,请务必注意权限问题。
folder: "db-properties/"
# 数据库源配置
# 目前支持的驱动类型(driver-type)有 mariadb、mysql 与 h2(文件数据库) 。
databases:
"example-mariadb": # 数据库源名称 不可包含“.” 以“example-”开头的数据源不会被加载
driver-type: mariadb
host: 127.0.0.1 # 数据库地址
port: 3306 # 数据库端口
username: minecraft # 数据库用户名
password: password #数据库连接密码
database: minecraft #数据库名
"example-h2": # 数据库源名称 不可包含“.” 以“example-”开头的数据源不会被加载
driver-type: h2 #数据库驱动类型,目前支持 mariadb, mysql, h2
file: "example.db" #数据库文件路径,相对于“plugins/EasySQL-Plugin/db-files/”
username: minecraft # 数据库用户名
password: password #数据库连接密码
database: minecraft #数据库名
@@ -0,0 +1,63 @@
# suppress inspection "UnusedProperty" for whole file
# 该功能一般用于专业开发者使用,若您不了解该功能,请尽量使用config.yml中提供的配置方式,简单便捷,能够满足大多数需求。
# 更多帮助详见 BeeCP项目地址 https://github.com/Chris2018998/BeeCP
#JDBC 用户名
username=root
#JDBC 密码
password=root
# JDBC连接URL
jdbcUrl=jdbc:mysql://localhost/test
# JDBC驱动类名
driverClassName=com.mysql.cj.jdbc.Driver
# 连接有效性测试SQL语句
connectionTestSQL=select 1 from dual
# 池名,如果未赋值则会自动产生一个
poolName=Pool1
# 是否使用公平模式 (竞争模式=false)
fairMode=false
# 连接池初始大小
initialSize=1
# 连接池最大个数
maxActive=10
# 信号量许可大小 min(最大连接数/2,CPU核心数)
borrowSemaphoreSize=4
# 连接借用等待最大时间(毫秒)
maxWait=8000
# 连接闲置最大时间(毫秒)
idleTimeout=18000
# 连接被持有不用最大允许时间(毫秒)
holdTimeout=30000
# 连接有效性测试SQL语句
validTestTimeout=3
# 连接测试的间隔时间(毫秒)
validAssumeTime=500
# 闲置扫描线程间隔时间(毫秒)
timerCheckInterval=30000
# 在结束时是否直接关闭使用中连接
forceCloseUsingOnClear=true
# 延迟清理的时候时间(毫秒)
delayTimeForNextClear=3000
# JMX监控支持开关
enableJmx=false
# Catalog默认值
defaultCatalog=test1
# Schema默认值
defaultSchema=test2
# ReadOnly默认值
defaultReadOnly=true
# 自动提交默认值
defaultAutoCommit=true
# 事物隔离代码,未设置时则从第一个连接上读取
defaultTransactionIsolationCode=1
defaultTransactionIsolationName=TRANSACTION_READ_UNCOMMITTED
# 额外链接配置
connectProperties=cachePrepStmts=true
connectProperties.count=2
connectProperties.1=prepStmtCacheSize=50
connectProperties.2=prepStmtCacheSqlLimit=2048&useServerPrepStmts=true
@@ -0,0 +1,11 @@
# suppress inspection "SpellCheckingInspection" for whole file
plugin=${project.version}
api=${easysql.version}
beecp=${beecp.version}
mysql-driver=${mysql-driver.version}
mariadb-driver=${mariadb-driver.version}
h2-driver=${h2-driver.version}