- 欢迎来到Minecraft插件百科!
- 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
- 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289
CrazyLogin/配置文件:修订间差异
(转移内容至子页面) |
|||
第63行: | 第63行: | ||
权限节点无效,op或者玩家一定需要输入密码或可选地输入密码 | 权限节点无效,op或者玩家一定需要输入密码或可选地输入密码 | ||
alwaysNeedPassword: true | alwaysNeedPassword: true | ||
如果设置为true你得每次输入你的密码. | |||
Ex: /register {OldPassword} <NewPassword> <NewPassword> | Ex: /register {OldPassword} <NewPassword> <NewPassword> | ||
confirmNewPassword: false | confirmNewPassword: false | ||
如果设置为true你必须在改变新密码时输入旧密码. | |||
Ex: /register <OldPassword> <NewPassword> {NewPassword} | Ex: /register <OldPassword> <NewPassword> {NewPassword} | ||
confirmWithOldPassword: false | confirmWithOldPassword: false |
2015年1月30日 (五) 03:04的版本
关于配置文件config.yml
version: X.Y
此插件的版本可以在这里找到 https://github.com/ST-DDT/CrazyLogin/blob/master/src/main/resources/plugin.yml 提示信息头部 (它不能被任意一种reload所改变(也就是说,只能重启))
chatHeader: '&C[&ACrazyLogin&C] &F' database:
保存类型↓ 可以为: 'MYSQL'(MYSQL数据库),'FLAT'(文件name.db),'CONFIG'(不明) saveType: FLAT 是否在关服时写入数据 saveOnShutdown: true CONFIG 数据记录模式配置 CONFIG: path inside config.yml path: accounts columns: name: name password: password ips: ips lastAction: lastAction FLAT 数据记录模式配置 FLAT: 数据库文件在插件config.yml所在目录中,下面可以更改文件名 filePath: accounts.db MYSQL 数据库记录配置 更多MYSQL配置戳这里 → 这里 MYSQL: connection: host: localhost 链接数据库地址 port: '3306' 端口 dbname: Crazy 数据库名 user: root 用户名 password: 密码 tableName: CrazyLogin_accounts 表的名字 是否在没有玩家在线时让数据加载(这会消耗RAM!). 设置为false来使插件RAM占用减少 cached: true 如果下面的选项设置为true,那么在玩家登陆时将不会更新数据库, 通常在多个服务器使用同一数据库时派上用场 static: false columns: name: name password: password ips: ips lastAction: lastAction SQLITE 数据库配置 SQLITE: connection: path: plugins/CrazyLogin/accounts.sqlite sqlite路径 tableName: CrazyLogin_accounts 表名 是否在没有玩家在线时让数据加载(这会消耗RAM!). 设置为false来使插件RAM占用减少 cached: true 如果下面的选项设置为true,那么在玩家登陆时将不会更新数据库, 通常在多个服务器使用同一数据库时派上用场 static: false columns: name: name password: password ips: ips lastAction: lastAction 设置在登录时是否一定需要密码或令玩家在想登陆时输入密码,玩家没有登录(或注册)时不能聊天、合成、破坏/创建方块、扔掉/拾取物品、移动/传送或瞬移、打开容器 权限节点无效,op或者玩家一定需要输入密码或可选地输入密码
alwaysNeedPassword: true
如果设置为true你得每次输入你的密码. Ex: /register {OldPassword} <NewPassword> <NewPassword>
confirmNewPassword: false
如果设置为true你必须在改变新密码时输入旧密码. Ex: /register <OldPassword> <NewPassword> {NewPassword}
confirmWithOldPassword: false
if true if everyone is logged in protection will be disabled to decrease overall performance usage, but increase join, login and quit performance
dynamicProtection: false
hides LOGIN.FAILEDWARN & COMMAND.EXPLOITWARN messages INFO: some other warn messages will be hidden in the future too. WARNING: you won't notice any (blocked) attempt to hack the server (until he managed to do so).
hideWarnings: false
you have to login again after being inactive/offline for at least x seconds when using a new ip you are logged out automatically
autoLogout: 3600
when enabled you are kicked when having an account and you did not login after x seconds (-1=disabled)
autoKick: -1
when enabled you are banned for x seconds after being kicked for waiting to long to login (-1=disabled)
autoTempBan: -1
when enabled you are kicked when not having an account after x seconds (-1=disabled)
autoKickUnregistered: -1
when enabled you are kicked when failing login x times (-1=disabled)
autoKickLoginFailer: 3
when enabled you are banned for x seconds for failing to login (-1=disabled)
autoTempBanLoginFailer: -1
when enabled you are kicked when using a none whitelisted command x times. (-1=disabled)
autoKickCommandUsers: false
when enabled you are banned for x seconds for executing none whitelisted commands. (-1=disabled)
autoTempBanCommandUsers:
when enabled you cannot execute a command without having registered. (works with autoKickCommandUsers) (true/false)
blockGuestCommands: true
when enabled you cannot chat without having registered. (true/false)
blockGuestChat: false
when enabled you cannot join without having registered an account (use with mysql databases) (true/false)
blockGuestJoin: false
guest data are removed when leaving the server this include all CrazyPlugins, playerfile (if enabled), +more (if commands are setup) after removing searching for the playersname in all files of that server will have 0 results. (Best Case)
removeGuestData: false
if set to true ingame registrations are disabled (command and pluginChannel) (true/false)
disableRegistrations: false
if set to true you cannot use adminlogin command (true/false)
disableAdminLogin: false
if set to true you cannot use tokenlogin command (true/false)
disableTokenLogin: false
when disabled request login/register messages are spammed every cancelled action, when enabled only every 5 or more seconds (true/false)
doNotSpamAuthRequests: false
only ask the player once to create a password (if alwaysNeedPassword=false) (true/false)
doNotSpamRegisterRequests: false
auth request are delayed for x ticks to prevent it from being displaced by other messages.
delayAuthRequests: 0
repeat requests every x ticks to prevent it from being displaced by other messages.
repeatAuthRequests: 200
these commands can be executed as guest (even if blockGuestCommands is enabled) or when not logged in
commandWhitelist: - /l(ogin)?(\z| .*) - /register(\z| .*) - /language(\z| [a-z]{2,3}_[a-z]{2,3}) - /language select(\z| .*) - /language list(\z| .*) - /worldedit cui
the encryption alogrithm used to encrypt your passwords. http://dev.bukkit.org/server-mods/crazylogin/pages/encryption/
encryptor:
name: CrazyCrypt1 the minimum allowed password length.
minPasswordLength: 3
the minimum allowed password length for players with permissions.
protectedAccountMinPasswordLength: 7
block player join with an online players name (prevents Logged in from another location messages) (true/false)
forceSingleSession: true
bypass forceSingleSession when using the same ip (true/false)
forceSingleSessionSameIPBypass: true
activates the preLoginSecurity x ticks later (hideInventory / forceSaveLogin) (false/0, 1 , ...) this is intended to allow customSpawns and joinRewards
delayPreRegisterSecurity: 5
activates the preLoginSecurity x ticks later (hideInventory / forceSaveLogin) (false/0, 1 , ...) this is intended to allow customSpawns and joinRewards WARNING: some hacked clients may be able to use that time to read the inventory/location
delayPreLoginSecurity: false
when enabled you are teleported to spawn until login if recieving damage. (true/false)
saveLoginEnabled: true
when enabled you are teleported to spawn until login. (true/false) this fixes issues with AntiCheatPlugins whilte not logged in and being in mid air.
forceSaveLogin: false
custom saveLogin locations for each world
saveLoginLocations: {}
world: x: 1500 y: -300 z: 0.1 this parameters are optional world: world yaw: 0 pitch: 0 when enabled your inventory is hidden until login. (true/false)
hideInventory: false
hide every player which isn't logged in. (true/false)
hidePlayer: false
hide chat from players who aren't logged in to avoid espionage. (true/false)
hideChat: false
Delay Join messages until login / hide Quit messages if not logged in. (true/false)
delayJoinQuitMessages: false
use the multilingual messages defined in the lang files. (true/false)
useCustomJoinQuitMessages: true
hide Password from Console (Player issues command: /login Password) (true/false) INFO: This could bypass some command protections/mechanics from other plugins in very rare cases.
hidePasswordsFromConsole: false
maximum count of ips stored per player
maxStoredIPs: 5
maximum players allowed to play on your server at once
maxOnlinesPerIP: 3
maximum players allowed to register an account using the same ip on your server
maxRegistrationsPerIP: 3
automatically delete accounts that haven't been used for x days(-1=disabled) WARNING: deletes all data belonging to this player (including those saved in other plugins; equals "/crazycore player delete <Player>")
autoDelete: -1
call special events (do not enable it, if you don't need it) send raw passwords to other plugins when changing passwords
pluginCommunicationEnabled: false
you can move x blocks from the location you joined when not logged in when set to 0 you cannot move/rotate
moveRange: 5.0
when enabled only default chars are allowed in a players name (true/false/[a-zA-Z0-9_]/...)
filterNames: true
check a players name case for its char case (true/false) when enabled a player cannot join as "PLaYer" when he registered as "Player" some encryptions may fail when a player has different char cases. INFO: a player cannot bypass login by using an different name case at any time.
blockDifferentNameCases: false
minimun length of player names
minNameLength: 3
maximum length of player names (minecraft max is 16)
maxNameLength: 16
additional information about logging can be found here http://dev.bukkit.org/server-mods/crazycore/pages/logging/
logs:
Join: path: false console: false Quit: path: false console: false Login: path: false console: false Account: path: false console: false Logout: path: false console: false LoginFail: path: false console: false ChatBlocked: path: false console: false CommandBlocked: path: false console: false AccessDenied: path: false console: false