McRefer
McRefer by skipperguy12
About
McRefer is a simple way of rewarding your players for bringing others into your server. Currently, the plugin rewards 5 ingots and broadcasts a message for referring someone!
Commands
This plugin 1 core command, for simplicity!
/wasrefferedby <plugin> - Command the player you refer will type in chat
Installation
This plugin was created for simplicity and more features. The installation is as easy as drag and drop!
Customization
Need something customized? Add me on Skype! skipperguy12
-
View User Profile
-
Send Message
Posted Mar 25, 2013@skipperguy12
if you want to change id numbers into their material names, then use Material.getMaterial(ID).toString()
I'm not really sure if this is what you're really after, or if it is, then why you want this. Sorry if I've misunderstood the question. But it appears that you are just wanting the server owner to choose what commands are executed when someone uses the /wasrefferedby. (Note: Spelt as 'referred' not 'reffered') In which case, you wouldn't need to change id's into material names. Again, sorry if I've just misunderstood everything.
Also, I'm sorry if I "stole" your plugin, I didn't notice it. I'm still going to work on mine. I hope you don't mind.
-
View User Profile
-
Send Message
Posted Mar 24, 2013@Wingzzz_
Huh, I can do that, but I don't want to even think about how i'm going to do items. How do I change the ID into the material name??
-
View User Profile
-
Send Message
Posted Mar 24, 2013@skipperguy12
He means that upon the player typing /wasrefferedby (which I suggest changing to /refferedby or even just /reffered) the plugin will allow server administrators to add commands to the configuration that will be executed once the command is typed.
NOTE: You should probably allow a bunch of variables like %p or {player}, to be replaced by the CommandSender and %pname or {player_name} to replace that with the CommandSender's name.
Example Configuration:
-
View User Profile
-
Send Message
Posted Mar 24, 2013@TWSSYesterday
Skype me, I can work on adding what you wanted. I don't quite understand what you want.