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
Config
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>%Codes
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 usageSupport
Discord
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta