I am not the OP, but I would like it. Or you could make two versions, one with the thunder arrows, one without, like the OP requested.
Competition Ok lightning is in,just adding the commands EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Ive finished mine just testing now then making the release thread all works just making thread now will post link when done EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I had A LOT of issues with it, but it is working fine for me now. Try this code: Code: public static PermissionHandler Permissions; private void setupPermissions() { Plugin test = this.getServer().getPluginManager().getPlugin("Permissions"); if (this.Permissions == null) { if (test != null) { this.Permissions = ((Permissions)test).getHandler(); } else { sM("Permission system not detected! Disabling.."); getPluginLoader().disablePlugin(this); } } } That is what I use
Thats what i do, its not the code, its the setting up in the yml that gets me. all i would recommend this code instead: Code: private void getPermissions() { // TODO Auto-generated method stub Plugin permissions = this.getServer().getPluginManager().getPlugin("Permissions"); if (this.permissions == null) { if (permissions != null) { this.permissions = ((Permissions)permissions).getHandler(); log.info("[ELVENARCHER] Permissions found"); } else { log.info("Permission system not detected, Defaulting to ops!!"); } } } and this code to check permissions: Code: public boolean HasPermission(String permission,Player player){ if(this.permissions != null && this.permissions.has(player, permission)){ player.sendMessage("permission given!"); return true; } else if(this.permissions != null && !this.permissions.has(player, permission) ){ player.sendMessage("no permission"); return false; } else if(this.permissions == null && player.isOp()){ player.sendMessage("permission given!"); return true; } else{ player.sendMessage("no permission"); return false; } } this allows it to still work without permissions, the sending the player messages is debuging
Ok good point ive finished my version now, do you want me to wait till you have and release them together or can i release mine now? how close are you?
Want to make one together? i got a server we can use pm a link to dl your plugin and we can test each others
Here is the result! (Have patience, the quality will be better in a minute) There is a little bug, when you don't have the resources. And It blocks you to shoot arrows, you will lose the arrow, but you won't shoot. PERMISSIONS: (Really easy) archers.bow.NAME OF BOW MATERIAL So, if you want to give permissions to use the tnt bow: archers.bow.tnt You can see the list of materials, in the "/plugins/Archers/config.ammo" file You can also define what material you need to use to use the bows.
How did you make that so quick? And how do you do something when a arrow lands? i had a very good idea that needed that EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I created a new Arrow Object what extends the normal Arrow. Also, the bows are using the data values of durability. Easy way to save the bow material.
I know this sounds a bit rude but could i see the source for the arrow object? you have lost me a bit with that Would you like to work together with me on this plugin? 2 heads are better than one EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Ok to anyone wondering whats going on with this plugin, me and techguard have team up, to make this plugin twice as awsome! you can veiw the code and see whats going on here: https://github.com/X1337X/Archers
Yes, It will still work. As you know, you see the explosion, but then the blocks pop back. (But damage won't get blocked (right?))