Login Manager

tested in craftbukkit-1.5.2-R0.1 server

ChangeLog:

  • v0.1 = First beta
  • v0.2 = Some bug fixes and SQL mod added
  • v0.3 = allowchat option added

Function:

  • protecting player's account from other players who try to steal,grief,etc.
  • no any database required.(txt file based)

Commands:

  • /register <any password> - register the ID
  • /login <password> - use password to login

Features:

  • Use txt file to save the accounts
  • Cancel out players movement
  • game master loose OP when they first joined the server and regain OP if they login
  • Support both SQL (MySql) and .txt file mod

Permissions:

  • doesn't have any

Configuration:

  • put plugin file in plugin folder of your bukkit server(serverfolder/plugin/Plugin_Login.jar) and use /reload command to load the plugin
  • folders will be automatically created if any of the player use /register command firstly

Important: Make sure that setting.set file is in /plugins/Plugin_Login/ folder and 0.3v has different option so should change setting.set also which i included in zip file

New (v0.2)

  • Open the setting.set and you will see
  • dbname MineUser
  • tbname users
  • user root
  • pass 1234
  • ##
  • txtmode 1

New (v0.3)

  • allowchat 1

something like this.

  • dbname - Database name that will be used in MySql
  • tbname - Table name that will be used in MySql
  • user - User id for SQL server
  • pass - Password for SQL server
    1. (just divider)
  • txtmode - [0 = use SQL mod] , [1 = use .txt file mod]
  • allowchat - [0 = do not allow player to chat before login] , [1 = allow player to chat before login] --> new v0.3

Then, Plugin will automatically create database with your dbname,tbname

please be aware that space between name and value is single tab key. space bar may occur problem.

Bugs:

  • message spamming to jumped player who didn't login.

I'm using tab (\t) key as tokenizer so make sure that use tab key when you have to change the txt file.

And sorry about my bad english**


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    58675
  • Created
    Jun 5, 2013
  • Last Released File
    Never
  • Total Downloads
    13,896
  • License

Categories

Members

Recent Files