NanoPromoCode

⭐ — (3 endorsements) 📥 97 downloads 📌 v1.0 📅 10/1/2024
🟠 Updated over a year ago

By thenanorp · bukkit

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 9/29/2024 📅 Created: 10/1/2024

🔍 Analysis

  • 🏆 #872 of 1224 bukkit mods in this game by downloads

📋 About This Mod

# 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.

# 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 - use the promo code, doesn't require any permission.
  • /promo add - is used to create a promo code, requires nano.add.promo permission.
  • /promo refresh - 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.

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Plugins
Author
thenanorp
Version
1.0
Downloads
97
Endorsements
3
Category
bukkit
Created
10/1/2024
Updated
9/29/2024
Game Versions
1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4
Tags
economy, social, utility

🔧 How to Install Minecraft Plugins Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Plugins →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Plugins commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Plugins versions does NanoPromoCode support?

The author lists 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5. Other versions may work but are untested by the author.

What is the latest version of NanoPromoCode?

Version 1.0, published 2024-09-29 with 97 downloads recorded at the source.

Keep browsing — more Minecraft Plugins mods await

📋 All Minecraft Plugins Mods 🏆 Top 25 📂 More bukkit 👤 More by thenanorp 🔎 Similar Mods 🌐 Best bukkit (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods