Invitation
Overview
Invitation- The new way of getting players on your server!
Introduction
Why use this plugin, you might ask? Invitation encourages the best kind of server advertisement in minecraft by creating rewards for a player to invite their friends. Any other form of advertisement can sometimes backfire and even be detrimental to the server's health. Posting the server on a list is a necessity to get started, but can result in uncanny players joining (hackers, toxic players, spammers, advertisers), as there is no filter as to who joins or saying wether they will get along or not. Advertising on another server by spamming the IP often brings hateful players and sometimes DDoS. Players inviting friends means they already know and trust each other and can work together. This is great if you want your players to interact more or trust each other more, as a known friend is much more likely to form a faction or team with a player than a complete stranger.
Usage
To use, a player will simply need to type /invite [username]. If a player with that username joins the server and has not joined before, the configured commands run, by default awarding them both and playing some sounds. The player will also need the permission "invitation.invite".
To un-invite a player, you must first have invited them. Use /uninvite [username|all], where all is all of the pending invitations (requires permission invitation.uninvite).
Features
- Run commands when a newly invited guest joins the server, which can include the inviter and the guest's username
- Ignore invitations where the inviter has an IP that has already logged in to the server
Planned
I plan on making an optional, yet really cool feature for the plugin which allows you to invite players from other servers that have Invitation, if I can sort out entirely how and would have the database/linking server to do so.
Nice project 0ct0ber !
I will check it out later on!
This plugin is awesome! It really helps expand a server's community through friends.
I have a few requests for the plugin.
1) Add a line in the config to modify the usage string (what shows up when you type /invite). For example, my OCD is going crazy that there is not a period at the end the sentence, and I do not have a whitelist on my server.
2) I would like to be able to set a time limit for invites. I understand the "max-pending-invites" line in the config effectively prevents spam-inviting, but for my server it would be more effective to have invites expire after, for example, 48 hours. The two of these could be used together to allow players more flexibility if they are bringing in a big crowd or targeting their long-awaited friend.
Lastly, I have some thoughts on your, as you put it, "really cool feature". I like the idea, as it does open up potential features such as per-person invites (each person can only be invited by one person at a time), login assistance (provides IP of the server you were invited to), and invite notifications (someone invites you on one server, and the invite is PM'd to you on the server you are currently on, or next log into), among many other possibilities. I do think however that, in general, larger communities will disable these features. If any of the features provided encourage or more readily allow players to leave one server in favor of another, they would rather keep their current players and loose a few convenience features than risk loosing players.
Hope my ideas are helpful. Thanks again for the plugin!
I plan on making an optional, yet really cool feature for the plugin which allows you to invite players from other servers that have Invitation, if I can sort out entirely how and would have the database/linking server to do so.
Issue with your plugin.
You may need to redesign it, it looks like in 1.10 (i have not tested 1.9)
EssentialsX and in the playerdata folder it appears they no-longer store data unless they have to (aka unless they have a /home, inventory, etc.)
Currently people can invite themselves, i looked wit in the plugin and it appears you failed to check if the Inviter is equal to the Inviter.
It also appears your alt check is broken.
In reply to Tauiz:
@Latamier
(Adding comment back, account was deleted recently because someone hacked it)
./invite (name). Once the invited player joins, if they haven't joined before, the invited player will be rewarded.
So how do they invite people exactly ? Is it through email ? Or some MC network of players ?
Are there any permissions with this ? You should have at least have Invitation.use so that admin can give it to the level of players that have been on the server for a while.
If you have this and a hacker comes to your server, can they just invite all their hacker buddies to your server ?
Just wondering...