Nachdem auf meinem Server Authme usw nicht funktionieren will, möchte ich einstellen dass wenn zB mein Acc Online wäre und jemand von einem anderen Pc darauf zu greifen will das ich dann automatisch aus geloggt werde?
Hier meine xAuth config, sofern es geht:
Hier meine xAuth config, sofern es geht:
- main:
- # How should xAuth store data (Accounts, sessions, etc.)?
- # Possible values: h2, mysql
- datasource: h2
- # If set to true, xAuth will disable itself if the server is in online-mode
- auto-disable: false
- # If set to true, all required library files will be automatically downloaded
- download-libraries: true
- # When set to true, if a player connects with the same name as someone who is
- # already online, the player connecting will be kicked instead of the online player
- reverse-enforce-single-session: true
- authurl:
- # Send user/pass data to authURL for authentication instead of the database
- # This option disables registration and password changes
- enabled: false
- # The URL to send user/pass data to, look at the example auth.php for an
- # example that works with SMF forums.
- url: [Only registered and activated users can see links. Click Here To Register...]
- mysql:
- # Location of the MySQL server. Can be either a host name or IP address
- host: localhost
- # Port used by MySQL. Default is 3306
- port: 3306
- # User name used to connect to the MySQL server
- username: root
- # Password used to connect to the MySQL server
- password:
- # Name of the database that will be used by xAuth
- database:
- # Names of the tables xAuth will use to store data
- tables:
- account: accounts
- session: sessions
- strike: strikes
- location: tele_locations
- inventory: inventory
- registration:
- # Enable/disable new registrations
- enabled: true
- # If set to true, everyone must register
- forced: true
- # Setting this to true requires a player to enter an email address when they register
- require-email: false
- # If set to true, a valid email address is required
- validate-email: true
- # How many accounts per IP address will be allowed. Set as 0 for unlimited
- account-limit: 2
- # Used with web registrations that require account activation
- activation: false
- login:
- strikes:
- # Amount of times a player can enter an incorrect password before action is taken
- # Set as 0 to disable
- amount: 2
- # What action to take when the strike threshold is reached
- # Possible values: kick, lockout
- action: kick
- # Length of time, in seconds, that a strike will remain in the database
- strike-length: 3600
- # Length of time, in seconds, that a player will remain locked out
- lockout-length: 900
- password:
- # Minimum length a password may be
- min-length: 8
- # Enable/disable password changes
- allow-change: true
- # Require at least one of the character types below that are set to true
- complexity:
- lowercase: false
- uppercase: false
- number: false
- symbol: false
- guest:
- # Amount of time, in seconds, that a player has to log in before they are kicked
- # Set as 0 to disable
- timeout: 300
- # Amount of time, in seconds, between "You must be logged in.." messages
- notify-cooldown: 5
- # Commands that players who are not registered or logged in may execute
- allowed-commands: [register, login, l]
- # Turn on/off location protection
- protect-location: true
- session:
- # Amount of time, in seconds, that a session will remain valid
- length: 3600
- # Verify a player's IP address when resuming a session
- verifyip: true
- # Length of time, in seconds, that a player will have godmode upon logging in
- # set as 0 to disable
- godmode-length: 5
- filter:
- # Minimum length a players name can be
- min-length: 2
- # Characters that may be present in a players name. Use an asterisk (*) to allow all
- allowed: '*'
- # If set to false, players with blank names can connect
- blankname: true
- # INTERNAL USE ONLY! DO NOT TOUCH!
- version: 5