nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
NanoPromoCode

NanoPromoCode

Plugin

NanoPromoCode - plugin that allows you to create promo codes for your content creators. Single-time promo codes encourage audience growth!

Server EconomySocialUtility

13 downloads
1 follower

NanoPromoCode

Why do you need this plugin? At some point you gonna work with content creators to attract audience to your server. This plugin lets you create a promo code for each creator and keep track of how many times their promo code has been used. That is how you can effectively get to know which creator has the biggest impact on the server playerbase and also encourage new players to join the server (to get the reward by using the promo code).

Commands:

  • /promo <promo-code> - use the promo code, doesn't require any permission.
  • /promo add <promo-code> - is used to create a promo code, requires nano.add.promo permission.
  • /promo refresh <nickname> - is used to let the player use the promo code one more time, requires nano.refresh.stats.promo permission.

Config:

# Connection to the MySQL database

Database:
  Address: '127.0.0.1'
  Port: '3306'
  Database: 'database_name'
  Username: 'database_username'
  Password: 'database_password'

# You can use commands and placeholder: %player%

promo-rewards:
  - 'give %player% diamond 64'

config.yml is used to provide MySQL database info and commands that gonna be executed as a reward for the player (basically any commands, unlimited amount of commands, there are unlimited options with commands how to reward the player).

Language:

# You can use color codes to change color of the messages.
# Some messages have placeholders, you can use them optionally.

only-player-usage-warning: "&cOnly players can use this command!"
incorrect-promo-code-warning: "&cYou should use correct promo code!"
refresh-promo-code-permission-warning: "&cYou don't have permission to refresh promo codes!"
refresh-promo-code-name-warning: "&cYou have to specify name of the player to refresh the promo code."
promo-code-successfully-refreshed: "&aPromo code successfully refreshed for player:"
unable-to-refresh-promo-code: "&cUnable to refresh promo code for player:"
add-promo-code-permission-warning: "&cYou don't have permission to add promo codes!"
add-promo-code-no-code-warning: "&cPlease provide a promo code to add."
add-promo-code-success: "&aPromo code %promo_code% has been created successfully!"
add-promo-code-already-exist-warning: "&cThis promo code already exists!"
add-promo-code-error: "&cAn error occurred while creating the promo code. Please try again."
promo-code-does-not-exist: "&cThe promo code you entered does not exist."
promo-code-activated: "&aYou successfully activated the promo code!"
promo-code-already-used: "&cYou have already used the promo code!"
promo-code-activation-error: "&cAn error occurred while processing the promo code. Please try again."

language.yml lets you localize the plugin. Default language is pure & sweet english.

External resources


Project members

thenanorp

Member


Technical information

License
MIT
Project ID