Skip to content

Referral codes plugin for Paper 1.17+ (DON'T WORK ON SPIGOT!!!)

License

Notifications You must be signed in to change notification settings

MrDrag0nXYT/NightCodes

Repository files navigation

NightCodes - Paper plugin that gives your player ability to create referral codes and get bonuses for inviting new players for your server!

English | Russian


🚀 Features

  • Store player messages in database with HikariCP:
    • SQLite
    • MySQL ( #todo )
  • HEX Codes by MiniMessage support
  • Ability to delete or pause codes for players
  • Restriction on activation of codes by minimum playing time (customize in config.yml, by default 1 hour)

💾 Requirements

  • Java 16+
  • Paper (or forks such as Purpur) 1.17+ (not Spigot/CraftBukkit)

⚡ Commands and permissions

/referral

Tip

Alias: /ref

Usage:

  • /referral create - Create referral code
    • Permission: nightcodes.player.create
  • /referral delete - Delete referral code
    • Permission: nightcodes.player.delete
  • /referral pause - Pause referral code
    • Permission: nightcodes.player.pause
  • /referral unpause - Unpause referral code
    • Permission: nightcodes.player.unpause
  • /referral stats - Get stats for code
    • Permission: nightcodes.player.stats

/code

Usage:

  • /code < code > - Activate code
    • Permission: nightcodes.player.activate

/nightcodes

Tip

Alias: /ncodes

Usage:

  • /nightcodes reload - Reload plugin
    • Permission: nightcodes.admin.reload

⚙ Other information

If you find a bug or want to help with development, feel free to contact me

  • Contact links here

You can also (optionally) donate me:

  • DonationAlerts
  • TON:
    UQAwUJ_DWQ26_b94mFAy0bE1hrxVRHrq51umphFPreFraVL2
    
  • ETH:
    0xf5D0Ab258B0f8EeA7EA07cF1050B35cc12E06Ab0
    

Made specially for NightShard

About

Referral codes plugin for Paper 1.17+ (DON'T WORK ON SPIGOT!!!)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages