[INACTIVE][ADMN] Authorize build 20 - AuthCraft-like plugin [626]

Discussion in 'Inactive/Unsupported Plugins' started by Rena4ka, Jan 15, 2011.

     
  1. Offline

    Rena4ka

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Authorize — Authorization plugin (for offline-mode servers)
    Build: 20 (Leaved project, see below)

    Quick Links:
    Features
    Commands
    Settings
    MySQL Settings
    MySQL Setup
    Version history
    Bugs
    To Do
    Disclaimer
    Downloads
    Donate
    LEAVING PROJECT

    We cannot run our server without AuthCraft, so with bukkit we write it ourself...

    Authorize works exactly like AuthCraft, but with Bukkit. It uses old auths.db file (just put it into plugin's folder).

    In config you can set up login and register messages and allow/dissalow registration and password changing.

    Features:
    • Movement protection
    • Item using, block Placement and Destroying protection
    • Health protection
    • Commands and Chat protection
    • Inventory protection
    • Chest/Doors/Picking Up Item proctection
    • Sessions support
    Commands:

    • /register <password> (<email>) - registers player with <password> and, if enabled, email <email>
    • /login <password> - logins with password
    • /password <oldpassword> <password> - changes player's password to <password> (if allowed)
    • /unregister <password> - deletes user from data base (if allowed)
    • /email <oldpassword> <email> - changes users email (if allowed)
    • /loginreset <login> - unregisters user with specified login (for admins only)
    • /loginreload - reloads Authorize plugin (for admins only)
    Settings:

    All settings are in folder /plugins/Authorize in file config.yml
    • allow-register — allow or not new users registering in-game
    • allow-pass-change — allow or not in-game pass change
    • force-register — deny players to play without registration (registered players can't play withouth authorization, unregistered - can)
    • kick-on-bad-password — kick or just tell, when player types a wrong password
    • allow-unregister — allow or not players to unregister
    • admins — list of admins "Admin1,Admin2,Admin3,...", who can use /loginreload and /loginreset commands
    • session-time - time in seconds, when user don't need to type password on login after logout (only for the same host!)
    MySQL Settings:

    This settings is only for mysql mode!
    • source-type — "flatfile" or "mysql"
    • db-db — jdbc:mysql://<host>:<port>/<database>
    • db-driver — keep it "com.mysql.jdbc.Driver"
    • db-username — name of the mysql user to connect
    • db-password — password to connect
    • db-convert — "true" converts users from flatfile to mysql database on server start (Use it only once, else users will rewrite every time, or something bad happend)
    • require-email — requires email on /register <password> <email>
    • allow-email-change — allows user to change email in-game
    MySQL Setup:
    1. Configure plugin for your database
    2. Put mysql driver in main bukkit's folder with name "mysql-connector-java-bin.jar", you can download it from mysql's site, or below
    3. Create table in database named "authorize_users" and structure with fields "name","password","email", or just execute that query:
      Code:
      CREATE TABLE `authorize_users`
                              (`name` VARCHAR(255) NOT NULL,
                              `password` CHAR(40) NOT NULL,
                              `email` VARCHAR(100) NULL,
                              INDEX (`name`));
    4. If you need to convert already registered users from flatfile to mysql, set "db-convert" on "true", start server, and set it to "false" again.
    Version history:
    Build 20
    - Updated to CraftBukkit 626

    Build 19
    - Fixed NullPointerException

    Build 18 SECURITY UPDATE!
    - Returned back to old command protection system cause of incompatibility with some plugins

    Build 17
    - Added sessions support
    - Renamed packgage

    Build 16
    - Item dupe bug on death fixed

    BUGS:
    • You can see in console, that user tries to use command "/wrongcommand operand1 operand2 operand3" - It is very normal and for fully unauthorized command blocking
    To Do:
    • Rewrite inventory blocking when bukkit will support inventory event
    • Permissions plugin support
    Disclaimer:
    NO. There wouldn't be any way to change username or playername in-game, because IT IS IMPOSSIBLE correctly. If you want to connect to server, without logging in minecraft.net, you should use client hacking or launcher's mods. I won't teach you, how to do that, there are lots of information in the internet, and that forum is not about client mods or pirate servers.

    Downloads:
    Download latest (build 20, Bukkit 554+).

    Download mysql driver.

    This plugin written special for greencubes.ru :cool:

    Donation:
    WebMoney Z250159814516 =)

    LEAVING PROJECT:
    I'm leaving bukkit, cause of developing new mc server. Anyone can use my plugin, decompile it and release it yourself, using it's decompilled codes. Good byte.
    davispuh, MOROZILnic, xAnder and 3 others like this.
  2.  
  3. Offline

    matasas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    thanks i was waiting for it
  4. Offline

    hacky93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    how to install it? because its not a .jar^^
    yes i am a noob:)
    jake5434 and Gray1998 like this.
  5. Offline

    kerts93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    how do you install it?
  6. Offline

    Perling

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    how install this? i need this plugin ^^
  7. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i think its enough to just change the end from .zip to .jar but I'm not sure
  8. Offline

    Rena4ka

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    oh, i'm VERY sorry for that fail) just redownload an archive and unpack in to plugins folder...

    maybe I need some sleep...
  9. Offline

    DjDCH

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No, it won't work. This is the java project directory. You need to build the jar your self.
  10. Offline

    Rena4ka

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i replaced the archive with normal files...
  11. Offline

    hacky93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    SEVERE: Could not pass event PLAYER_MOVE to Authorization
    and nothing happend, maybe because of the update
  12. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    use build #33 it's the last working build atm
  13. Offline

    GodDomi

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Not sure if this bug or not. But when the register on the server using the command /register it does not inform me that you need to log in using the command /login, and it should be like in AuthCraft that when you register the command should immediately log .. Sorry for my english.
  14. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @ goddomi
    did you write a password after register example: /register ThisIsMyPassword
    because it's infroms me
  15. Offline

    anon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    wow, just what I was waiting. Now i can adventure into dev bukkit as my offline mode server will be safe :D
  16. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    can someone explaine me what this plugin does cuz I don't get it.... for what register?...

    thanks a lot
  17. Offline

    Perling

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i get this error

    [IMG]
  18. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  19. Offline

    Jesse57

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It does no create any files for me at all for this plugin. I have checked every folder ????
  20. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    why should it? there is a folder in the zip when you download it, this folder belongs in to the plugin folger...
  21. Offline

    Perling

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    BeerBaron when i use #33 than dont work all my other plugins :'(
  22. Offline

    Rallerbabz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    whats the point in this plugin? - Sorry, just asking.. I know what it does, but whats the point in login after you've joined?
  23. Offline

    anon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well this plugin is for offline mode servers aka no minecraft.net autentication aka cracked servers

    Without a registration system, people could login with a admin name and fuck all the server.

    The plugin has a /register thing, so when the user first come online he register his account. If another one logs in with his name, he is stuck on place until he enters correct password.
  24. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    thanks but what do you mean with stuck on place?
    i can move without login me in if is that what you mean^^
  25. Offline

    ragon

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  26. Offline

    BeerBaron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    wich plugins are these couse mine all work
  27. Offline

    Perling

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What i need for my server is Authcraft , Homes , Groups , Teleport , Guardian

    and when i use #33 than dont work homes,groups,teleport,guardian :>
  28. Offline

    hacky93

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i got build #33 now, but i can still move without register or login


    Code:
    Jan 16, 2011 5:28:22 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_MOVE to Authorization
    java.lang.NoSuchMethodError: org.bukkit.Player.getEntityID()I
            at com.rena4ka.bukkit.auth.AuthorizePlayerListener.onPlayerMove(AuthorizePlayerListener.java:106)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:140)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:199)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:91)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
  29. Offline

    racu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    /register password and I must typing /login password if I want to action.

    and big bug...... If I register more than 2 peoples, previous register is disappear and new password and nickname is register.

    example, First I register nickname Racu

    so auth.db written

    Racu (encoded password)

    next, I register another nickname Test

    above racu is delete and only Test profile is remain.
    just Test (encoded password)
  30. Offline

    Frosty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do you think you could make it so that it stops anyone from moving untill they register? It was like that on hmod that would be good on here.
    --- merged: Jan 16, 2011 6:52 AM ---
    This plugin loads fine but when I move it comes up with an error message and I can walk around. I'm using build 33
    Error Message:

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:91)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    15-Jan-2011 11:46:44 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_MOVE to Authorization
    java.lang.NoSuchMethodError: org.bukkit.Player.getEntityID()I
    at com.rena4ka.bukkit.auth.AuthorizePlayerListener.onPlayerMove(Authoriz
    ePlayerListener.java:106)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:140)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:199)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:91)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    15-Jan-2011 11:46:44 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_MOVE to Authorization
    java.lang.NoSuchMethodError: org.bukkit.Player.getEntityID()I
    at com.rena4ka.bukkit.auth.AuthorizePlayerListener.onPlayerMove(Authoriz
    ePlayerListener.java:106)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:140)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.
    ava:199)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:91)
    at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:63)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    DierWolf likes this.
  31. Offline

    Wolfy9247

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Please update for b148+

Share This Page