DamnRegister
DamnRegister
DamnRegister is a plugin to register website users from inside minecraft. It includes a RPC module for drupal that work as the second part, but depending on you website system you might be able to use this even without the drupal part.
A user can type /register some@email.com and this plugin will connect to drupal and create user with his minecraft username and email given. Drupal will then send an email to the user with a link they can use to confirm the email with and reset the password.
The configuration makes it possible to usr any url and any POST body template. Responses from the server can also be mapped to different in-game messages.
if you need GET or something else find me (Faua) on this minecraft server damnation.eu (or simply join the server for awesomeness/fun)
Installation
- Install the drupal module (DamnRegisterDrupal.zip in the files section) in your drupal installation
- Login as admin user in drupal and enable the module.
- After that you can click configure on the module and setup some random shared secret
- Install the minecraft module and /reload to start the plugin
- edit the plugins/DamnRegister/config.yml and change the url to include the previously made secret
- give users access to the
damnregister.registerto allow them to use the command
Configuration
The default config install should be very easy to adapt to drupal module where you just need to change the "<string>secret</string>" part to fit the secret you have configured in drupal.
But in case you need it for some other websystem this is how you could adapt it for an imaginary php script that takes in the username and email with a newline as a separator, and returns with and simple status text.
#url to call when a user run /register url: http://localhost/myowncallback.php #body is the url which is sent to the url # %1$s will be replaced with the minecraft username # %2$s will be replaced with with the first argument passed to the /register method body: "%1$s\n%2$s" answers: - response: "OK" answer: A mail has been sent to you with further information - response: "INVALID EMAIL" answer: Your email is not valid #Any responses not defined here will result in outputting the response to the log and displaying an error message asking the user to contact an admin.
Developer Information
Source can be found on github
-
View User Profile
-
Send Message
Posted Jan 3, 2016now if you can make this work with PhpBB and/or Wordpress it would be awesom
-
View User Profile
-
Send Message
Posted Mar 16, 2014I am getting an error:
ERROR /register url made unknown response: null
I have checked the url and it comes up with XML-RPC server accepts POST requests only
-
View User Profile
-
Send Message
Posted Jul 9, 2013I need a few things cleared up about this plugin have you got Skype so we can discuss further?
-
View User Profile
-
Send Message
Posted Apr 27, 2013I've been looking for a plugin like this for ages. It's lightweight, easy to use and it uses GET headers instead of a local database.
The plugin still works occasionally in 1.5.1 but gives an error every time.
Could you please update this plugin to 1.5.1?
And -if not too much hassle- could you add more registration options? You now HAVE to use an emailaddress but I prefer to use a verification code.
-
View User Profile
-
Send Message
Posted Sep 17, 2012Can you make it so that when people are not registerd, they will not have any build rights? Like adding them to a whitelist when they activate their account or something?
(thinking anti-grief here)
-
View User Profile
-
Send Message
Posted Sep 15, 2012the installation is wierd i still dont get it :S where do i put it?