
What's server access?
Server access is a plugin which restricts login access to players that are in the data file. That's correct, only players that are in the data file(player_data.yml) can access the server. If you do not understand the plugin, think of it as a whitelist plugin, but it automatically removes the whitelist when the date is reached.
What can I do with this plugin?
With Mojang enforcing the EULA, server owners have to find an alternative ways to make money to keep the server running. As Mojang stated, selling full access to a server is acceptable. With this plugin you can do so.
Here is a brief example of usage:
I assume that you have Buycraft for your donation system, any would work and manually running the commands will work. With buycraft or with another donation system you can sell access to your Minecraft server, for example $5.00USD for 30 days of access. In your buycraft panel you will have to setup a donation package to execute the command "/serveraccesss add <player-name> 30". When the player logs in on the 31st day, the player will be kicked with a message that you set in the config, example message: "We are sorry to see you go, be sure to buy a new package".
There will be additional features to come in the future.
Installation:
- Drag and drop the plugin into your plugins folder
- Start/restart/reload your server.
- Files should have generated in a folder named "ServerAccess", if no files has generated please report this as it may be a bug.
Once the files has generated, you can now edit the config.yml to suit your needs. Here is an example of the config.yml(supports colour)
Not_Allowed_Message: '&aYou are not allowed on this server.'
Time_Up_Message: '&aWe are sorry to see you go, be sure to buy a new package!'
MESSAGE_ON_JOIN:
ENABLED: true
MESSAGE: '&cYou have {TimeLeft} &cleft on your subscription.'
REMEMBER TO NEVER EDIT player_data.yml YOU MAY RUIN YOUR DATA IF YOU ARE NOT AWARE OF WHAT YOU ARE DOING!
Commands:
- /serveraccess reload (reloads the configuration files and the plugin's core.)
- /serveraccess add <player-name> <time-in-days> (adds a player to the data file(player_data.yml) for a set amount of days.) Example usage: /serveraccess add TORGaming 4 will give me access for 3 days 23 hours and 59 minutes.
- /server access remove <player-name> (removes a player from the data file(player_data.yml))
- /serveraccess check <player-name> returns how many days that player has left.
Metrics:
You can disable this by going to the folder named "PluginMetrics" in the plugins folder, edit the "config.yml" change "opt-out: false" to "opt-out: true".
No redistribution of this plugin please, if you want to share it, please share it with the original link. You are also allowed to decompile for your own use. Do NOT sell this plugin or it's contents. This plugin should be free to use and if you paid for it get a refund immediately!