EmailRegister
EmailRegister
Players can register using their email address for cool rewards!
Plugin request:
This plugin was requested by Frkinklown here
Description:
This plugin allows players to register to the server using their email address. On registration, an email will be sent to the player's inbox, which will contain a confirmation key that is required to proceed. When a player finishes the registration, they will be rewarded with items, money, or even a promotion, all of which is configurable.
Installation:
- Download the latest version of this plugin
- Place the jar file in your plugins folder
- Restart or reload your server
- Edit the email credentials in the configuration file
- Sit back and relax
Requirements:
This plugin requires a gmail account, this is the account where the sent emails are coming from.
Usage:
Commands:
| Command | Permission | Description |
| register <email> | emailregister.register | Starts the registration progress. An email will be sent to given email. |
| register confirm <key> | emailregister.confirm | Finishes the registration progress. Requires the key from the email. |
| register claim | emailregister.claim | If you did not receive your item reward on confirmation, this will attempt to claim it. |
| register resend | emailregister.resend | If something went wrong on registration, this will attempt to re-send the email. |
| register reset | emailregister.reset | Resets your registration progress, in case you entered in a wrong email address |
| register reset <player> | emailregister.reset_other | Resets target's registration progress. |
Configuration:
Default configuration:
# Your server name. This will be contained in the title of the sent email
SERVER_NAME: My Server
# Everything related to the emails
email:
# The sent email subject. %player% is the player registering
subject: Registration confirmation of %player%
# The sent email content. This is what the player will see in the sent email
content: 'Type /register confirm <key> in-game, to confirm your registration. Key:
%key%'
# The email account credentials
from:
# The gmail account username
host: from@gmail.com
# The gmail account password
password: qwerty123
# Everything related to MySQL (currently work in progress)
mysql:
host: host
port: port
user: user
pass: pass
database: database
# Item rewards that will be given to registered players. Material name first, amount second
item-reward:
- COOKIE:10
- CAKE:5
- DIAMOND_SWORD:1
# Money reward that will be given to registered players. Requires Vault to work
money-reward: 150
# Commands that will be ran on registration. Used for promotions //etc//
command-reward:
- say WoopWoop
Planned features:
Finished - Started - Not started
If you have any suggestions, comment them below!
Recent Changes:
v0.3: Initial release
Bugs/Issues:
None! If you find any, then please create a ticket explaining what the issue is and how it happened, or post a comment below.
Useful links: