AuthMe

From Nitradopedia EN
Revision as of 09:11, 22 May 2015 by Cranken (talk | contribs)
Jump to: navigation, search
AuthMe Reloaded
Pluginlogo-AuthMe.png
Servermod: Bukkit‎
Category: Admin Tools, Anti-Griefing Tools
Developer: d4rkwarriors
Developer Website: dev.bukkit.org
Description: -
Features: -
Download: Link

What is AuthMe?
AuthMe prevents players who aren't logged in from actions like placing blocks, moving, typing commands or seeing the inventory of the current player.
Are there any alternatives?
Yes there is xAuth which gives access to roughly the same functions.

Installation

With the Nitrado-Webinterface

If you aren't in the webinterface already, go to "My Services->Gameserver->Webinterface Login"
Then you have to navigate to "Minecraft->Plugins->Avaible Plugins->AuthMe.jar->Install"
Done!

Without the Nitrado-Webinterface

Go to the DevBukkit project site and download the plugin which uses your server version.
Now you have to upload the plugin to the plugins folder in your server folder. You can do this by using the FTP server which is explained here.
Done!

Configuration

Path: /minecraftbukkit/plugins/AuthMe/config.yml

DataSource:
 mySQLColumnName: username // DB Username
 mySQLTablename: authme
 mySQLUsername: authme
 backend: file
 mySQLColumnLastLogin: lastlogin
 mySQLDatabase: authme // DB Name
 mySQLPort: '3306'
 mySQLColumnIp: ip
 mySQLHost: 127.0.0.1
 mySQLColumnPassword: password
 mySQLPassword: '12345' // DB Passwort
 caching: true
GroupOptions:
 UnregisteredPlayerGroup: 
 RegisteredPlayerGroup: 
 Permissions:
   PermissionsOnJoin: []

This will allow certain groups access to specific commands. If you use a plugin like PermissionsEx you shouldn't mess with this setting.

settings:
 sessions:
   enabled: false
   timeout: 10

enabled - Should sessions be enabled? The players IP and Name will be bound together making it impossible to login from another IP.
timeout - After how many minutes should the session be deleted?

 restrictions:
   allowChat: false // Can unregistered/not logged in players chat and see chat, care , that blocks all commands except followers
   kickNonRegistered: false // Should unregistered players be kicked immediately?
   maxNicknameLength: 50 // max allowed nick length
   ForceSingleSession: true // Player that is online will not get kicked out for "logged in from another Location",
   ForceSpawnLocOnJoinEnabled: false // Teleport every time a player joins to the World Spawn location even if they logged in successfully,
   SaveQuitLocation: false // This will prevent all lost of quit position, when player isn't logged in
   teleportUnAuthedToSpawn: true //  Should not logged in players be teleported to spawn?
   allowMovement: false // Can unregistered players walk around?
   minNicknameLength: 3 // min allowed nickname length
   timeout: 30 // After what time players who fail to login or register should be kicked. Set to 0 to disable.
   AllowRestrictedUser: false // Restricted user will kick players that are listed below and don't meet the match of username;IP
   AllowedRestrictedUser:
      - playername;127.0.0.1
   allowedNicknameCharacters:
   allowedMovementRadius: 100 // How far can unregistered players walk? Set to 0 for unlimited radius
   maxRegPerIp: 3 // Maximum registrations per IP
 GameMode:
   ForceSurvivalMode: false // Force survivalmode to a player when he joins ?
   ResetInventotyIfCreative: false // If a player joins with CreativeMode and ForceSurvivalMode: true the inventory will be wiped
 security:
   minPasswordLength: 4
   unLoggedinGroup: unLoggedinGroup // Permission group
   passwordHash: SHA256 // Encryption of password
 registration:
  enabled: true // Enable registration on the server
  messageInterval: 5 // Send every X seconds a message to a player to remind him that he has to login/register
  force: true // Only registered and logged in players can play.
unrestrictions:
  UnrestrictedName: [] // List all player names which should have to log in.

Commands

Normal commands

Spieler:

Command Permission-Node Usage
/register <Password> authme.register Register yourself on the server
/login <Password> authme.login Login to the server
/logout authme.logout Logout from the server
/changepassword <oldPW> <newPW> authme.changepassword Change your password(you have to be logged in)
/unregister <Password> authme.unregister Unregister from the server

Admin Commands

Befehl Permission-Node Wirkung
/authme register <Playername> <Password> authme.admin.register Register a player
/authme unregister <playername> authme.admin.unregister Unregister a player
/authme changepassword <playername> <newPW> authme.admin.changepassword Change password of a player
/authme reload authme.admin.reload Reload the cache and config

<spoiler text="Permissions example">

groups:
  Owner:
    permissions:
    - authme.*
  Admins:
    permissions:
    - authme.*
  Moderator:
    permissions:
    - authme.login
    - authme.logout
    - authme.register
    - authme.changepassword
    - authme.unregister
  VIP:
    permissions:  
    - authme.login
    - authme.logout
    - authme.register
    - authme.changepassword
    - authme.unregister    
  Players:
    permissions:
    - authme.login
    - authme.logout
    - authme.register
    - authme.changepassword
    - authme.unregister
  Guests:
    permissions:
  
users:

</spoiler>