荒川正式玩家1号 注册于2013-4-25
[阅读权限:200] | 累计在线时长1575 小时
最后登录:2024-1-2,福建省 厦门市 思明区
自我介绍:很懒。
OP
萌新
Sama
- 编写任务
- 2 个个
- 建筑作品
- 0 个个
- 论坛金币
- 3758 个
|
插件教材
插件分类: |
管理工具 |
插件名称(英文): |
AuthMe |
插件名称(中文): |
登入插件 |
适用版本: |
1.5.2版本 |
插件简介: |
比xauth更加完善健全的安全登录插件。 |
插件特性: |
- 支持邮箱认证
- 禁止恶意ID
- 管理员可以登录其他玩家账户检验[需额外设置]
- 取消因为另外一个相同的ID登录造成的掉线问题
- 未登录也可以发言,但是需要额外设置
- 支持各种加密算法: MD5, SHA1, SHA256, xAuth, Whirlpool
- 非常方便的自定义各种提醒消息。
- 支持PHPBB网站接口
- 支持IPB3网站接口
- 支持PHPFUSION网站接口
- 支持Xenforo论坛接口
- 支持JOOMLA网站接口
- 支持双重MD5认证
- 自定义SQL表单结构
- 如果没有SQL可以建立缓存数据库文件。
- 支持Citizens公民插件
- 为注册与未注册用户分组以及区分权限
- 智能检测IP地址防范小号
- 保全登录/登出后的物品以及物品附魔效果
- 如果你装有Spout,那么他也将支持GUI登录
- 多国语言支持
- 自动备份所有账户
- 支持保存可以向SQL数据库导入转换的数据库文件 |
设置说明: |
- |
命令: |
- |
权限: |
#默认拥有的权限
- 注册权限 authme.register
- 登录权限 authme.login
- 登出权限 authme.logout
- 修改密码 authme.changepassword
- 取消注册 authme.unregister
#管理员权限
/authme register authme.admin.register
/authme unregister authme.admin.unregister
/authme reload authme.admin.reload
/authme changepassword authme.admin.changepassword
/authme convertflattosql authme.admin.convertflattosql |
现在注册登录即可获得来自贴吧的土豪金铭牌!赶紧加入吧!
您需要 登录 才可以下载或查看,没有帐号?入住荒川
x
插件配置说明[config.yml]部分- DataSource:
- # copyright(c) 233sama<span id="kM0.5909446803852916">@inrrr.com 2013 请勿转载</span>
- ############SQL设置部分未采用SQL数据库的用户可以跳过此步############
- #MySQL column for players names
- mySQLColumnName: username
- #MySQL name of the table
- mySQLTablename: authme
- #MySQL Username for database connection
- mySQLUsername: authme
- #file, mysql or sqlite
- backend: file
- #MySQL column for players lastlogin
- mySQLColumnLastLogin: lastlogin
- #MySQL database name
- mySQLDatabase: authme
- #MySQL port for connection
- mySQLPort: '3306'
- #MySQL column for players ips
- mySQLColumnIp: ip
- #MySQL host for database connection
- mySQLHost: 127.0.0.1
- #MySQL column for players password
- mySQLColumnPassword: password
- #MySQL password for database connection
- mySQLPassword: '12345'
- # do you want caching? Only needed when the file
- # backend is used or the MySQL database is on
- # another host than the mc server
- caching: true
- #MySQL column for players last location X
- mySQLlastlocX: x
- #MySQL column for players last location Y
- mySQLlastlocY : y
- #MySQL column for players last location Z
- mySQLlastlocZ : z
- #MySQL column for players emails
- mySQLColumnEmail: email
- #MySQL column for id, keep default if you do not know what you're doing
- mySQLColumnId: id
- #####################################
- GroupOptions:
- # if you want to set up a particulary Permission Group for
- # users that arent registered yet. Pay attention this option
- # is casesensitive!
- # Example: UnregisteredPlayerGroup: GuestUser
- UnregisteredPlayerGroup: ''
- # Same as UnregisteredGroup if u want to set a switch
- # between unregistered and registered player group
- # set the group name below
- RegisteredPlayerGroup: ''
- # with this option you can add specified permission onJoin
- # like for example LoginBonus from another plugins, AuthMe
- # will check onJoin if player has that permissions in his Group
- # if true it add a temporany permissions to that user. This Field
- # is needed beacuse AuthMe switch all unlogged players on a
- # specified restricted Permission Group, so plugins that will use
- # some particolary permissions on join doesnt work, without
- # compiling option below!
- Permissions:
- PermissionsOnJoin: []
- settings:
- sessions:
- # Do you want to enable session? When enabled
- # the ip of a player will be bound to the nickname
- # of the player on login. As long as neither of those
- # two change players don't have to login on a reconnect
- enabled: false
- # After how many minutes a session should timeout?
- # 0 for unlimitted sessions, use 0 at your own risk!
- # consider that session will end only after timeout, and
- # if player's ip is changed but the timeout treshould isent
- # ended, player will kick out of sever for unvalidSession!
- timeout: 10
- # Do we need to timeout the session if the player is offline
- # And try to login with an another IP Address?
- sessionExpireOnIpChange: false
- restrictions:
- # Can unregistered players chat, care , that block all commands except followers
- allowChat: false
- # Commands allowed when a player is unlogged
- allowCommands:
- - /login
- - /register
- - /l
- - /reg
- - /passpartu
- - /email
- - /captcha
- # Maximum Registraion per IP default: 1
- maxRegPerIp: 1
- # max allowed nick length (Warning when you use
- # mysql and choose a value >20 you have to
- # increase the size of the nickname column in your
- # mysql table)
- maxNicknameLength: 20
- # Player that is online arent
- # kick out for "logged in from another
- # Location", this options will prevent players that would exploit
- # your account when you are playing
- ForceSingleSession: true
- # Teleport every time player join at World Spawn location,
- # even if they loggedin successfully,
- # all quit and previus location will
- # overwrite with World Spawn. Different From
- # "teleportUnAuthedToSpawn"
- # that teleport player back to his quit or kick position,
- # when he loggedin
- ForceSpawnLocOnJoinEnabled: false
- # This will prevent all lost of quit position, when player
- # isent loggedin
- SaveQuitLocation: false
- # For activate Restricted user by ip u need
- # to set True this option and configure the field
- # AllowedRestrctedUser as show below
- AllowRestrictedUser: false
- # Restricted user will kick players that
- # is listed below and they dont
- # meet the match of username;ip
- # Example playername;127.0.0.1 , if playername
- # hasent 127.0.0.1 as ip address
- # he will not be allowed to join the server
- AllowedRestrictedUser:
- - playername;127.0.0.1
- # Should unregistered players be kicked immediatly?
- kickNonRegistered: false
- # Should fail password players be kicked immediatly?
- kickOnWrongPassword: false
- # should not loged in players be teleported to spawn?
- # On login they will be teleported back to their normal
- # position
- teleportUnAuthedToSpawn: false
- # min allowed nick length
- minNicknameLength: 3
- # Can unregistered players walk around?
- allowMovement: false
- # After what time players who fail to login or register
- # should be kicked. Set to 0 to disable.
- timeout: 30
- # Regex sintax for allowed Char in player name.
- allowedNicknameCharacters: '[a-zA-Z0-9_?]*'
- # How far can unregistered players walk? Set to 0
- # for unlimited radius
- allowedMovementRadius: 100
- # Enable double check of password when you register
- # when it's true, registration require that kind of command:
- # /register <password> <confirmPassword>
- enablePasswordVerifier: true
- # Should we protect the player inventory before logging in?
- ProtectInventoryBeforeLogIn: true
- # Should we display all other accounts from a player when he joins?
- # permission: /authme.admin.accounts
- displayOtherAccounts: true
- # WorldNames where we need to force the spawn location for ForceSpawnLocOnJoinEnabled
- ForceSpawnOnTheseWorlds:
- - world
- - world_nether
- - world_the_end
- # Ban ip when the ip is not the ip registered in database
- banUnsafedIP: false
- GameMode:
- # ForceSurvivalMode to player when join ?
- ForceSurvivalMode: false
- # if player join with CreativeMode and ForceSurvivalMode: true
- # inventory will be wipped
- ResetInventoryIfCreative: false
- security:
- # minimum Length of password
- minPasswordLength: 4
- # this is very important options,
- # every time player join the server,
- # if they are registered, AuthMe will switch him
- # to unLoggedInGroup, this
- # should prevent all major exploit.
- # So you can set up on your Permission Plugin
- # this special group with 0 permissions, or permissions to chat,
- # or permission to
- # send private message or all other perms that you want,
- # the better way is to set up
- # this group with few permissions,
- # so if player try to exploit some account,
- # they can
- # do anithing exept what you set in perm Group.
- # After a correct logged-in player will be
- # moved to his correct permissions group!
- # Pay attention group name is casesensitive,
- # so Admin is different from admin,
- # otherwise your group will be wipped,
- # and player join in default group []!
- # Example unLoggedinGroup: NotLogged
- unLoggedinGroup: unLoggedinGroup
- # possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
- # PLAINTEXT ( unhashed password),
- # MYBB, IPB3, PHPFUSION, SMF, XFSHA1, XFSHA256, SALTED2MD5, JOOMLA
- passwordHash: SHA256
- # salt length for the SALTED2MD5 MD5(MD5(password)+salt)
- doubleMD5SaltLength: 8
- registration:
- # enable registration on the server?
- enabled: true
- # Send every X seconds a message to a player to
- # remind him that he has to login/register
- messageInterval: 5
- # Only registered and logged in players can play.
- # See restrictions for exceptions
- force: true
- # Does we replace password registration by an Email registration method ?
- enableEmailRegistrationSystem: false
- # Enable double check of email when you register
- # when it's true, registration require that kind of command:
- # /register <email> <confirmEmail>
- doubleEmailCheck: false
- unrestrictions:
- # below you can list all your account name, that
- # AuthMe will ignore for registration or login, configure it
- # at your own risk!! Remember that if you are goind to add
- # nickname with [], you have to delimit name with ' '.
- # this option add compatibility with BuildCraft and some
- # other mods.
- # It is CaseSensitive!
- UnrestrictedName: []
- # Message language, available : en, de, br, cz, pl, fr, ru, hu, sk, es, zhtw, fi, zhcn
- messagesLanguage: en
- ExternalBoardOptions:
- # MySQL column for the salt , needed for some forum/cms support
- mySQLColumnSalt: ''
- # MySQL column for the group, needed for some forum/cms support
- mySQLColumnGroup: ''
- # -1 mean disabled. If u want that only
- # activated player can login in your server
- # u can put in this options the group number
- # of unactivated user, needed for some forum/cms support
- nonActivedUserGroup: -1
- # Other MySQL columns where we need to put the Username
- mySQLOtherUsernameColumns: []
- Xenoforo:
- # PredefineSalt for xenforo password hashing , can be find in system files
- predefinedSalt: ''
- permission:
- # take care with this options, if u dont want
- # to use Vault and Group Switching of
- # AuthMe for unloggedIn players put False
- # below, default is true.
- EnablePermissionCheck: false
- BackupSystem:
- # Enable or Disable Automatic Backup
- ActivateBackup: false
- # set Backup at every start of Server
- OnServerStart: false
- # set Backup at every stop of Server
- OnServerStop: true
- # Windows only mysql installation Path
- MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
- Passpartu:
- # Enable or Disable Passpartu Feature,
- # this feature let Admin Login with all registered
- # Account they need, for example inspecting Player that
- # is doing shit, they can login without know any
- # Player password! More info on How TO
- enablePasspartu: false
- Security:
- SQLProblem:
- # Stop the server if we can't contact the sql database
- # Take care with this, if you set that to false,
- # AuthMe automatically disable and the server is not protected!
- stopServer: true
- ReloadCommand:
- # /reload support
- useReloadCommandSupport: true
- console:
- # Remove spam console
- noConsoleSpam: false
- # Replace passwords in the console when player type a command like /login
- removePassword: true
- captcha:
- # Player need to put a captcha when he fails too lot the password
- useCaptcha: false
- # Max allowed tries before request a captcha
- maxLoginTry: 5
- # Captcha length
- captchaLength: 5
- Converter:
- Rakamak:
- # Rakamak file name
- fileName: users.rak
- # Rakamak use ip ?
- useIP: false
- # IP file name for rakamak
- ipFileName: UsersIp.rak
- # possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
- # PLAINTEXT ( unhashed password),
- # MYBB, IPB3, PHPFUSION, SMF, XFSHA1, XFSHA256, SALTED2MD5, JOOMLA
- newPasswordHash: SHA256
- Email:
- # Email SMTP server host
- mailSMTP: smtp.gmail.com
- # Email SMTP server port
- mailPort: 465
- # Email account that send the mail
- mailAccount: ''
- # Email account password
- mailPassword: ''
- # Custom SenderName, that replace the mailAccount name in the email
- mailSenderName: ''
- # Random password length
- RecoveryPasswordLength: 8
- # Email subject of password get
- mailSubject: 'Your new AuthMe Password'
- # Email text here
- mailText: 'Dear <playername>, \n\n This is your new AuthMe password for the server \n\n <servername> : \n\n <generatedpass>\n\nDo not forget to change password after login! \n /changepassword <generatedpass> newPassword'
- # Like maxRegPerIp but with email
- maxRegPerEmail: 1
- Hooks:
- # Do we need to hook with multiverse for spawn checking?
- multiverse: true
- # Do we need to hook with ChestShop for prevent buy or selling ?
- chestshop: true
- # Do we need to hook with BungeeCord for get the real Player ip ?
- bungeecord: false
- # Do we need to hook with Notifications for Notifs sending ?
- notifications: true
复制代码 |
|