Is This Possible? (Please help if you know)

Sometimes, we all need a little general help.

Post Permalink
by Speakmore » 9/19/2012

Hey all, well today I just learned that my plugin can't exactly be made unless I have the 'original folder of the plugin' says my coder. Whether or not that is true, I couldn't tell you, as I'm not the coder ;) However, here is what I do need to know. So one thing I want is kits that donators will receive upon joining a hunger games match.
So yes, my server is Hunger Games (Not promoting it, just describing what I need help with) so when lets say a Donator joins the game, I want it to recognize, 'hey, you're a donator. You should get a wood sword on the start' and then they receive a wood sword.
Is there any plugins or anything I could do to get that arranged?
I have GroupManager currently and the Hunger Games plugin I'm using is:
SurvivalGames.
So please, if anyone knows if this is possible without much coding or needing original folders, please let me know as it'd be a big help to myself and the server.
Level 1
New Miner
Posts: 28
Joined: 8/14/12

Post Permalink
by deathmarine » 9/19/2012

Speakmore wrote:~Snip~

Yes its possible. Its not that hard to code. Not saying I would write it just saying I've already filled my budget of 60 requests on bukkit. Post it on the request forum someone will pick it up those guys are bored as hell.
User avatar
Level 37
Artisan Zombie
Posts: 95
Joined: 6/2/11
Location: New York
Says: Semper Minecraft
Minecraft: deathmarine
mc_server: modcrafting.com

Post Permalink
by Speakmore » 9/19/2012

deathmarine wrote:
Speakmore wrote:~Snip~

Yes its possible. Its not that hard to code. Not saying I would write it just saying I've already filled my budget of 60 requests on bukkit. Post it on the request forum someone will pick it up those guys are bored as hell.

Well, I have 2 stand points from this
1 being, is there a way you can tell me how to do this, so I can tell my coder?
2 I don't want anyone else to really have it ;P So I was kinda keeping it low key ;)
Level 1
New Miner
Posts: 28
Joined: 8/14/12

Post Permalink
by imimfundude » 9/19/2012

speak more i can arrage that donaters go to a special cornacopia room where fighting is not allowed if not you dnt want me to do this i could take a whack at it i only need 1 thing multiverse if you dont have that ask your coder to install it
dont play with me or get BURNED BY THE ALMIGHTY PHEONIX!
Level 3
Apprentice Miner
Posts: 389
Joined: 8/18/12

Post Permalink
by deathmarine » 9/19/2012

Speakmore wrote:
deathmarine wrote:
Speakmore wrote:~Snip~

Yes its possible. Its not that hard to code. Not saying I would write it just saying I've already filled my budget of 60 requests on bukkit. Post it on the request forum someone will pick it up those guys are bored as hell.

Well, I have 2 stand points from this
1 being, is there a way you can tell me how to do this, so I can tell my coder?
2 I don't want anyone else to really have it ;P So I was kinda keeping it low key ;)


Yah... um can't help you with it then. Everything I write is for the community. Besides I'm pretty sure you could get it under 50 lines. Tell your coder.
Code: Select all
/* God I have no clue why I do this anymore, Free hand */
public class ThisPluginName extends JavaPlugin implements Listener{
public void onEnable(){
this.getServer().getPluginManager().registerListener(this, this);
}
@EventHandler
public void onPlayerJoin(PlayerJoinEvent event){
if(event.getPlayer().hasPermission("SomeDonatorNode"){
for(String s:this.getConfig().getStringList("ListoCrap to giveout from config")){
event.getPlayer().getInventory().addItem(new ItemStack(Integer.parse(s),1));
}
}
}

}



This is mostly psuedo code considering I'm free handing it but pretty much is the start to your plugin. I was losing focus at parsing integers and exactly how to Instantiate some of the classes. IDE's make you lazy. Tell your coder... JavDoc's or learn java.
User avatar
Level 37
Artisan Zombie
Posts: 95
Joined: 6/2/11
Location: New York
Says: Semper Minecraft
Minecraft: deathmarine
mc_server: modcrafting.com


Return to General Help