Home›Java›Mods›SpigotBuyerNotification
ModsJava

SpigotBuyerNotification

Minecraft Java mod. Download on the author's site.

⬇ Download on Spigot
Spigot Buyer Notification
Get a notification from pushbullet when someone buys a plugin
https://www.pushbullet.com

So, this standalone application will allow you to get a push notification when someone buys your plugin.

It uses pushbullet, so it can also be used on desktop,mac, linux, android , an iOS

[​IMG]
[​IMG]
[​IMG]
[​IMG]

[​IMG]
Raspberry Pi running the program

Source:
https://github.com/Maximvdw/SpigotBuyerNotification - The actual application
https://github.com/Maximvdw/SpigotSite-API - The Site API
https://github.com/Maximvdw/SpigotSite - The Site API implementation

Installation:
  1. Create a separated directory and place the SpigotBuyerNotification.jar
  2. Create a script that starts the java file
    1. Windows: start.bat [java -jar SpigotBuyerNotification.jar]
    2. Linux: start.sh [java -jar SpigotBuyerNotification.jar]
  3. Run the script once, it will close but a config.yml will be created
  4. Configure your username and password in the config.yml and the check interval
  5. Enter the pushbullet API key. You can find this on your account page by clicking "CREATE ACCESS TOKEN"
    [​IMG]
  6. Start the script again. It will log in if everything goes well
  7. The application will check for new messages every X seconds and gives you a notification.
  8. Pressing ENTER stops the application
Additionally you should make sure that the config file can only be read by the user running the spigotbuyernotification jar since it does contain your password.

Steps to get the 2fakey
  1. If you did not store the 2FA key you will have to regenerate it (or extract it).
  2. Upon regenerating the 2FA key DO NOT SELECT QR code but click on the bottom of the QR code to get the actual code.
    This code you can use on the Google Authenticator app
    and this tool
    [​IMG]
Google Authenticator Chrome extension
  1. The chrome extension saves the keys in plain text by default
    meaning you can extract it.
  2. Click the settings
    [​IMG]
  3. Click export
    [​IMG]
  4. The key is next to "secret"
    [​IMG]


Configuration:
The config.yml will be created upon first run in the root directory where your jar file is at.

Code (Text):

## ------------------------------ ##
##
## Spigot Buyer Notification
## (c) Maxim Van de Wynckel
##
## ------------------------------ ##

## !!
# This application will send a PushBullet notification
# when a new buyer is added to a premium plugin.
## !!


# DO NOT EDIT!
config: 2



# Spigot Username
username: ''

# Spigot password
password: ''

# Spigot 2FA key if enabled
2fakey: ''

# Pushbullet API access token
access-token: ""



# Check interval in seconds
# This is the interval the application
# will check for new buyers.
interval: 60

# Daily revenue report
# Gives a report per plugin (one message) with
# the revenue
daily-report:
  enabled: true
  title: "Revenue for today"

# Notification title (plain text)
title: 'New purchase for {plugin}'
# Notification title when added (plain text)
# (not bought, but added by author)
title-added: 'New buyer added for {plugin}'

# Notification message
# Placeholders:
#   {plugin} - The title of your resource
#   {member} - The member usernames who bought it
#   {currency} - The currency
#   {price} - The price they paid
message: |
  {member} has bought {plugin} for {currency} {price}!

# Notification message for when added
# (not bought, but added by author)
message-added: |
  {member} has been added to {plugin}
 
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

SpigotBuyerNotification is a free Minecraft Java mod. Downloaded 613 times (via Spigot). Download it and open it directly in the game.

Explore more