JodexPromo icon

JodexPromo -----

Promo codes for your minecraft server



JodexPromo
Plugin for creating promotional codes for your server.
You can change the message after entering the promotional code, the commands after entering, the number of uses, the expiration date, and so on.

Commands
- /code (code) - enter promo code
- /code reload - reload plugin config

Permissions
- /code (code) - jodexpromo.code
- /code reload - jodexpromo.admin

PlaceholderAPI
%jodexpromo_check_ <code> % - check if the promo code was used by the player or not

Config
Code (YAML):
Permissions:
  Command
: "jodexpromo.code"
  Reload
: "jodexpromo.reload"

Messages
:
  Help
: "&cJodex&bPromo &8&l> &cUsage: &7/code &a(code)"
  ConfigReloaded
: "&cJodex&bPromo &8&l> &aConfig successfully reloaded!"
  PromoAlreadyUsed
: "&cJodex&bPromo &8&l> &cYou have already used this promo code!"
  PromoExpired
: "&cJodex&bPromo &8&l> &cPromo code expired!"
  PromoNotUsable
: "&cJodex&bPromo &8&l> &cThis promo code can no longer be used!"
  PromoNotExists
: "&cJodex&bPromo &8&l> &cPromo code does not exist!"
  Permission-node
: "&cJodex&bPromo &8&l> &cYou don't have enough permissions!"
  Console
: "&cJodex&bPromo &8&l> &cCommand use is only available on behalf of the player!"
  Placeholders
:
    CheckCodeUsed
: "Used" # %jodexpromo_check_<code>%
    CheckCodeNotUsed
: "Not used" # %jodexpromo_check_<code>%
    CheckCodeNotExists
: "Not exists" # %jodexpromo_check_<code>%
Code (YAML):
Codes:
  test
:
    title
: true
    titlemessage
: "&aPromo code activated!"
    subtitle
: true
    subtitlemessage
: "&e:)"
    commands
:
     - say %player used promo code
    messages
:
     - '&aPromo code entered successfully!'

    #   This  value changes each time someone uses this promo code
    usage
: 10 # The number of uses of the promo code by players (-1 - infinity, 0 - the promo code can no longer be used)
    #   The term of the promo code (MM-dd-yyyy)
    term
: 01-01-2024 # If you remove this line, then the validity period is unlimited.



# Local Placeholders
# %player - PlayerName

# Global Placeholders
# %jodexpromo_check_<code>% - Check code usage
Support
Discord
Resource Information
Author:
----------
Total Downloads: 205
First Release: Mar 20, 2023
Last Update: Mar 20, 2023
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings