Native Minecraft Version:Legacy (< 1.13)Tested Minecraft Versions:
The point of AffiliateDomain is to help your server gain more players by making your players advertise your server FOR you.
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.
Registering on cloudflare: (If your domain is already registered on cloudflare, you can skip these steps)
Getting required values for config.yml:
email:
This is the email you use to log in on the cloudflare site.
api-key:
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.
Spoiler: /ad new (prefix) (player)
Spoiler: /ad delete <prefix>
Spoiler: /ad test <prefix>
Spoiler: /ad listrewards
Spoiler: /ad trigger <reward> (player)
Spoiler: /ad attach <player> <prefix>
Spoiler: /ad detach <player>
Spoiler: /ad link <prefix> (player) (<true/false> cloudflare request>
Spoiler: /ad info <player/subdomain> <playername/subdomain-name>
Spoiler: /ad reload
Argument syntax: <required> (optional)
Spoiler: PlaceholderAPI
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.
Spoiler: TOS
The plugin uses TaskChain by @Aikar, which I’m very grateful for.
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
- 1.18
The point of AffiliateDomain is to help your server gain more players by making your players advertise your server FOR you.
- 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!
- Integration with PlaceholderAPI
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.
- 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
- Player1 shares the domain on his social media, spreading word about your server to the world.
- Player2 uses the domain ‘player1.example.org’ that he got from Player1 to join your server
- The plugin now rewards Player1 when Player2 joins/donates/ranks up (rewards and reward triggers are 100% customizable by you)
- An available domain
- 5 minutes of your time to complete setup
Registering on cloudflare: (If your domain is already registered on cloudflare, you can skip these steps)
- Make an account on cloudflare. If you already have one, just log in.
- In the top bar of cloudflare, press “Add site”
Getting required values for config.yml:
email:
This is the email you use to log in on the cloudflare site.
api-key:
- Follow this link to your api-tokens (make sure you're logged in)
- Locate your “Global API Key” and press “View”
- Type your password and fill out the Captcha
- Click inside the box that says “Your API Key” to copy the API key.
- 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.
- Click the domain you wish to use with AffiliateDomain
- 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.
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.
Spoiler: /ad new (prefix) (player)
Spoiler: /ad delete <prefix>
Spoiler: /ad test <prefix>
Spoiler: /ad listrewards
Spoiler: /ad trigger <reward> (player)
Spoiler: /ad attach <player> <prefix>
Spoiler: /ad detach <player>
Spoiler: /ad link <prefix> (player) (<true/false> cloudflare request>
Spoiler: /ad info <player/subdomain> <playername/subdomain-name>
Spoiler: /ad reload
Argument syntax: <required> (optional)
- 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
Spoiler: PlaceholderAPI
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.
Spoiler: TOS
The plugin uses TaskChain by @Aikar, which I’m very grateful for.