Bonsoir à tous !
J'ai téléchargé Authme mais maintenant je voudrai le configuré de telle sorte que si le joueur se déconnecte dans sa base par exemple, et bien quand il se reconnecte sans se login il soit au spawn puis quand il tappe le bon login il soit remis à l'endroit où il s'est déconnecté la dernière fois ( dans cet exemple : la base )
Voici le config.yml de Authme :
DataSource:
mySQLColumnName: username
mySQLTablename: authme
mySQLUsername: authme
backend: file
mySQLColumnLastLogin: lastlogin
mySQLDatabase: authme
mySQLPort: '3306'
mySQLColumnIp: ip
mySQLHost: 127.0.0.1
mySQLColumnPassword: password
mySQLPassword: '12345'
caching: true
mySQLlastlocX: x
mySQLlastlocY: y
mySQLlastlocZ: z
mySQLColumnEmail: email
mySQLColumnId: id
GroupOptions:
UnregisteredPlayerGroup: ''
RegisteredPlayerGroup: ''
Permissions:
PermissionsOnJoin: []
settings:
sessions:
enabled: false
timeout: 10
sessionExpireOnIpChange: false
restrictions:
allowChat: false
allowCommands:
- /login
- /register
- /l
- /reg
- /passpartu
- /email
- /captcha
maxRegPerIp: 3
maxNicknameLength: 20
ForceSingleSession: true
ForceSpawnLocOnJoinEnabled: false
SaveQuitLocation: false
AllowRestrictedUser: false
AllowedRestrictedUser: []
kickNonRegistered: false
kickOnWrongPassword: false
teleportUnAuthedToSpawn: false
minNicknameLength: 3
allowMovement: false
timeout: 50
allowedNicknameCharacters: '[a-zA-Z0-9_?]*'
allowedMovementRadius: 100
enablePasswordVerifier: true
ProtectInventoryBeforeLogIn: true
displayOtherAccounts: true
ForceSpawnOnTheseWorlds:
- world
- world_nether
- world_the_end
banUnsafedIP: false
GameMode:
ForceSurvivalMode: false
ResetInventoryIfCreative: false
security:
minPasswordLength: 5
unLoggedinGroup: unLoggedinGroup
passwordHash: SHA256
doubleMD5SaltLength: 8
registration:
enabled: true
messageInterval: 1
force: true
enableEmailRegistrationSystem: false
doubleEmailCheck: false
unrestrictions:
UnrestrictedName: []
messagesLanguage: en
ExternalBoardOptions:
mySQLColumnSalt: ''
mySQLColumnGroup: ''
nonActivedUserGroup: -1
mySQLOtherUsernameColumns: []
Xenoforo:
predefinedSalt: ''
permission:
EnablePermissionCheck: false
BackupSystem:
ActivateBackup: false
OnServerStart: false
OnServerStop: true
MysqlWindowsPath: C:\\Program Files\\MySQL\\MySQL Server 5.1\\
Passpartu:
enablePasspartu: false
Security:
SQLProblem:
stopServer: true
ReloadCommand:
useReloadCommandSupport: true
console:
noConsoleSpam: false
removePassword: true
logConsole: false
captcha:
useCaptcha: false
maxLoginTry: 5
captchaLength: 5
Converter:
Rakamak:
fileName: users.rak
useIP: false
ipFileName: UsersIp.rak
newPasswordHash: SHA256
Email:
mailSMTP: smtp.gmail.com
mailPort: 465
mailAccount: ''
mailPassword: ''
mailSenderName: ''
RecoveryPasswordLength: 8
mailSubject: Your new AuthMe Password
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'
maxRegPerEmail: 1
Hooks:
multiverse: true
chestshop: true
bungeecord: false
notifications: true
Merci d'avance !
J'ai téléchargé Authme mais maintenant je voudrai le configuré de telle sorte que si le joueur se déconnecte dans sa base par exemple, et bien quand il se reconnecte sans se login il soit au spawn puis quand il tappe le bon login il soit remis à l'endroit où il s'est déconnecté la dernière fois ( dans cet exemple : la base )
Voici le config.yml de Authme :
Citation:
DataSource:
mySQLColumnName: username
mySQLTablename: authme
mySQLUsername: authme
backend: file
mySQLColumnLastLogin: lastlogin
mySQLDatabase: authme
mySQLPort: '3306'
mySQLColumnIp: ip
mySQLHost: 127.0.0.1
mySQLColumnPassword: password
mySQLPassword: '12345'
caching: true
mySQLlastlocX: x
mySQLlastlocY: y
mySQLlastlocZ: z
mySQLColumnEmail: email
mySQLColumnId: id
GroupOptions:
UnregisteredPlayerGroup: ''
RegisteredPlayerGroup: ''
Permissions:
PermissionsOnJoin: []
settings:
sessions:
enabled: false
timeout: 10
sessionExpireOnIpChange: false
restrictions:
allowChat: false
allowCommands:
- /login
- /register
- /l
- /reg
- /passpartu
- /captcha
maxRegPerIp: 3
maxNicknameLength: 20
ForceSingleSession: true
ForceSpawnLocOnJoinEnabled: false
SaveQuitLocation: false
AllowRestrictedUser: false
AllowedRestrictedUser: []
kickNonRegistered: false
kickOnWrongPassword: false
teleportUnAuthedToSpawn: false
minNicknameLength: 3
allowMovement: false
timeout: 50
allowedNicknameCharacters: '[a-zA-Z0-9_?]*'
allowedMovementRadius: 100
enablePasswordVerifier: true
ProtectInventoryBeforeLogIn: true
displayOtherAccounts: true
ForceSpawnOnTheseWorlds:
- world
- world_nether
- world_the_end
banUnsafedIP: false
GameMode:
ForceSurvivalMode: false
ResetInventoryIfCreative: false
security:
minPasswordLength: 5
unLoggedinGroup: unLoggedinGroup
passwordHash: SHA256
doubleMD5SaltLength: 8
registration:
enabled: true
messageInterval: 1
force: true
enableEmailRegistrationSystem: false
doubleEmailCheck: false
unrestrictions:
UnrestrictedName: []
messagesLanguage: en
ExternalBoardOptions:
mySQLColumnSalt: ''
mySQLColumnGroup: ''
nonActivedUserGroup: -1
mySQLOtherUsernameColumns: []
Xenoforo:
predefinedSalt: ''
permission:
EnablePermissionCheck: false
BackupSystem:
ActivateBackup: false
OnServerStart: false
OnServerStop: true
MysqlWindowsPath: C:\\Program Files\\MySQL\\MySQL Server 5.1\\
Passpartu:
enablePasspartu: false
Security:
SQLProblem:
stopServer: true
ReloadCommand:
useReloadCommandSupport: true
console:
noConsoleSpam: false
removePassword: true
logConsole: false
captcha:
useCaptcha: false
maxLoginTry: 5
captchaLength: 5
Converter:
Rakamak:
fileName: users.rak
useIP: false
ipFileName: UsersIp.rak
newPasswordHash: SHA256
Email:
mailSMTP: smtp.gmail.com
mailPort: 465
mailAccount: ''
mailPassword: ''
mailSenderName: ''
RecoveryPasswordLength: 8
mailSubject: Your new AuthMe Password
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'
maxRegPerEmail: 1
Hooks:
multiverse: true
chestshop: true
bungeecord: false
notifications: true