BEFORE YOU PURCHASE THIS PLUGIN, PLEASE NOTE THAT YOU NEED A DOMAIN TO USE THIS PLUGIN PROPERLY (eg. yourdomain.org). THIS MUST NOT BE CONFUSED WITH AN IP, WHICH WILL NOT BE SUFFICIENT (eg. 127.0.0.1)

HELP ME ADVERTISE THIS RESOURCE AND GET PAID, HIT ME UP ON DISCORD Creeper#7327

[img] tag

[img] tag
The point of AffiliateDomain is to help your server gain more players by making your players advertise your server FOR you.

[img] tag
  • Instant subdomain creation
  • Command based reward system, trigger rewards containing money/items/anything you can get via. command
  • Command based trigger system, trigger rewards when players join/donate/vote
  • Extensive commands, including info about players and domains
  • Fast async cloudflare calls, basically zero impact on server performance
  • Language files, edit every message the plugin has to your own language if needed
  • Plenty of upcoming features written in the discord, feel free to post others!

[img] tag
As server owners, we are usually spending a lot of our time advertising our server. Some server owners even pay youtubers or server list sites to advertise their server for them. AffiliateDomain encourages the players on your server to do the advertising, by letting you reward your players for sharing your server IP (or more correct, a domain that leads to your server).

I’ll explain the concept of the plugin by giving an example in four simple steps.
  1. Player1 runs the command ‘/ad new player1’ in-game. Within seconds a subdomain is set up and can be used to join your server. The domain will be player1.example.org
  2. Player1 shares the domain on his social media, spreading word about your server to the world.
  3. Player2 uses the domain ‘player1.example.org’ that he got from Player1 to join your server
  4. The plugin now rewards Player1 when Player2 joins/donates/ranks up (rewards and reward triggers are 100% customizable by you)

[img] tag
  • An available domain
  • 5 minutes of your time to complete setup
[img] tag
Registering on cloudflare: (If your domain is already registered on cloudflare, you can skip these steps)
  1. Make an account on cloudflare. If you already have one, just log in.
  2. In the top bar of cloudflare, press “Add site”

  How

Getting required values for config.yml:
email:
This is the email you use to log in on the cloudflare site.
api-key:
  1. Follow this link to your api-tokens (make sure you're logged in)
  2. Locate your “Global API Key” and press “View”
  3. Type your password and fill out the Captcha
  4. Click inside the box that says “Your API Key” to copy the API key.

zone:
  1. Go to your homepage on cloudflare. If you are logged in, your homepage will appear when you press the cloudflare logo in the top left corner.
  2. Click the domain you wish to use with AffiliateDomain
  3. Scroll down, in the menu to the right you will see a field named “Zone ID”. That’s your zone ID, click the box to copy it.

IP:
This is the number IP used for your server. This can be found on the site of your server hosting service. It looks something like this “127.0.0.1”.
Please note: An IP address is made out of numbers. It cannot be a domain name such as myserver.hostingservice.com

Setting up the BungeeCord extension
Go to this page and follow the two steps - it's pretty  simple.

[img] tag
  /ad
  /ad
  /ad
  /ad
  /ad
  /ad
  /ad
  /ad
  /ad
  /ad


Argument syntax: <required> (optional)

[img] tag
  • affiliatedomain.new - create a new subdomain using the command /ad new
  • affiliatedomain.new.custom - create a new subdomain with a custom prefix using the command /ad new (prefix)
  • affiliatedomain.new.others - create a new subdomain that links to another player using /ad new (prefix) (player)
  • affiliatedomain.delete - delete a subdomain using /ad delete <prefix>
  • affiliatedomain.test - test a domain using /ad test <prefix>
  • affiliatedomain.trigger - trigger a reward for a player using /ad trigger <reward> (player)
  • affiliatedomain.attach - attach a player to a subdomain using /ad attach <player> <prefix>
  • affiliatedomain.detach - detach a player to a subdomain using /ad detach <player>
  • affiliatedomain.info - use the command /ad info
  • affiliatedomain.reload - reload the config using /ad reload

[img] tag
  PlaceholderAPI


[img] tag

If you have any questions regarding this plugin, want to report a bug, want to see the plugin in action or want to suggest a feature. Please contact me in this discord group: https://discord.gg/jtd9pG4 or under 'discussions' in this resource. I am very likely to respond quickly and help you with your problem.

  TOS


[img] tag

The plugin uses TaskChain by Aikar, which I’m very grateful for.

If you use the reviews section to report bugs, you will be given less priority! Hit me up in the discord for maximum priority [img] tag