Sueta

Domain Checker

1.2

A traffic statistic solution

·Plugin

Hello, this is a simple Domain Checker plugin. The purpose of this plugin is to see where your player traffic is coming from!

How it works
This plugin works by you changing your domain on all of your server sites. For example, my main domain is, mcaim.com. However on the MCSL servers site I changed it to, play.mcaim.com. Once you do this on all of your sites, you simply add it in the config.yml, and you can begin to see your traffic statistics.

Every time a player joins, they are added to the players.yml file. Then the domain they used, gets tracked. Only unique players are added to the player file, so that you can get good and genuine results

Commands
- /Joins today - Displays joins from today
- /Joins <number> - Displays joins from last <number> days. Example, if you type "/Joins 14" it will display the joins you've had from the last 2 weeks.
- /Joins all - Displays all sites information
- /Joins reload - Reloads the plugins files

Servers that use this resource
- mcaim.com
- play.insanitycraft.net

config.yml

# # # # # # # # # # # # # # # # # # # #
# Plugin Made by CodePunisher with <3 #
# # # # # # # # # # # # # # # # # # # #

# These two lists of strings work together
# That means that when you type /Joins <joinList[1]>
# It will show the unique users that have joined
# through the 1st domain in the "domainList" list

joinList:
- MCSL
- MP
- MSORG
- TOPG
- NORMAL
domainList:
- play.mcaim.com:25565
- hub.mcaim.com:25565
- lobby.mcaim.com:25565
- mc.mcaim.com:25565
- mcaim.com:25565

# Permission: The required permission to type /Joins and view joinBroadcast messages
Permission: joins.check

# joinBroadcast: Only sends to players who have the permission, useful for viewing domain joins
joinBroadcast: true

# onlyDisplayUniqueJoins: This will only broadcast unique joins (Will not work if joinBroadcast is false)
onlyDisplayUniqueJoins: false

# joinBroadcastMessage: Configurable message for the join broadcast setting
joinBroadcastMessage: "&a%player% has joined your server using the %domain% domain! (%joinList%)"

# joinsAllMessage: Configurable message for the /Joins all command
# This displays all new joins in general
joinsAllMessage: "&a%joinList%: &e%intValue%"

# JoinsTodayMessage: Configurable message for the /Joins Today command
# This displays all new joins from the current day\
joinsTodayMessage: "&a%joinList%: &e%intValue%"

# JoinsTodayMessage: Configurable message for the /Joins <number> command
# This displays all new joins from the last <number> days
# Example: /Joins 5 <----- Displays number of joins from the past 5 days
joinsValueMessage: "&a%joinList%: &e%intValue%"

# Other configurable messages
reloadMessage: "&aDomain-Checker's files have been reloaded!"
noPermission: "&cYou are not worthy of this command!"

Similar projects

Plugin →