Access key

Discussion in 'Archived: Plugin Requests' started by 36gianni36, Jul 14, 2014.

  1. Offline

    36gianni36

    New
    Plugin category: General?

    Suggested name: Acces keys

    What I want:
    I woul like a plugin which generates access tokens for your server.​
    When an admin generates a certain amount of access token, it will be saved as a txt file (Or another extension)​
    Wehn a player first joins the server he can't do anything and he will get prompted that he need to enter his access token in the chat to continue. And if possible I would like to let the players enter it in the chat without a / command. After the player has entered the code he will be teleported to a set location and some other commands will be set on the player. (Like adding permissions) After that the player can enjoy the server like any other player.​
    Also it would be nice if you can add a duration to the keys. So that you can limit the time for how long a player has access to the server. And different ccommand groups would also be great. For example that Token1 teleports the player to area 1 and is put in permission group "red", and Token2 teleports the player to the area2 and gets kit 1​
    Example token format: xxxx-xxxx-xxxx-xxxx-xxxx​
    Config example
    This plugin could come in handy when you need to beta test your server or when you want to give your donaters access to your premium server. Especially with the new EULA. This also gives the admins more control over their server and everything is done locally. So they don't need plugins like Buycraft for example.​
    Ideas for commands: /token genrate [amount of tokens] [commandgroup] [Output (name.txt)][duration]

    Ideas for permissions: token.create

    When I'd like it by: When you are ready to make it
     
  2. Offline

    CodeBlow


    Hey there,
    I feel I have created something very similar to what you requested for, The only reason its similar, and not the same is because Just now I read the description back and realised I misread the part about duration of the key. I read that as a duration for the key to be redeemed:D But never mind, I will fix later, I just thought I might as well give what I have to you now. It features everything else you mentioned. With the ability to setgroup spawns ingame, and list current players, as well as manually adding or removing them. Probably other stuff as well I have forgotten:D Code generation is limited to 50,000 at one time, this is because anything over this number lags the server, however this may have less of an effect on a more powerful machine. The generate command is like this: /token generate|gen <Ammount> [Duration] [CommandGroup]. A example usage of this would be: /token gen 100 1d group1. This generates 100 codes that can be used within 1 day, and it will trigger group1 if entered. All generated keys and authenticated players UUID's can be found in ./plugins/AccessKeys/keys

    Any problems, bugs, unimplemented features just message me on Bukkit:)
    Link: https://www.dropbox.com/s/0lvzxq4rk8flg3k/AccessKeys.jar
     
  3. Offline

    Jaaakee224

    CodeBlow
    I'm not even sure if 36gianni36 will see this. He was last seen July 15th, a day after he made this plugin request.
     
  4. Offline

    36gianni36

    CodeBlow

    Don't worry I saw this. I'm just too lazy to login on bukkit. (My browser doesn't remember cookies.)
    I'm really thankful to you.
    I'll try this plugin out this week.

    THANKS!!!
     

Share This Page