Inactive [MECH/RPG] Arms 0.2 - Get control of weapons, armors and damages with permission support [953]

Discussion in 'Inactive/Unsupported Plugins' started by MojoManagement, Jun 29, 2011.

  1. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Arms - Full control of damage and equipping armors and much more!
    Version: 0.2
    Requires BukkitContrib! (and Permissions)

    I have searched for a while a plugin, which controls damage of weapons and armors AND is able to handle permissions of equipping armor and using weapons.
    I didn't found anything, so I created something on my own. :)

    It's still in development :p I am a student and I have to work, too, so don't blame me for spending time to it.

    Features:
    • control using swords with Permissions
    • control equipping of armor with Permissions
    • control damage done by weapons (not implemented by now)
    • control critical hits (damage, chance, etc) - coming soon!
    • control lavadamage wearing armor
    • control firedamage wearing armor
    • control firetickdamage wearing armor
    • prevent cactusdamage wearing armor
    • set armor dodge chances
    more coming !



    Permissions:
    • arms.armor.*
    • arms.armor.leather
    • arms.armor.iron
    • arms.armor.gold
    • arms.armor.chain
    • arms.armor.diamond
    • arms.weapon.*
    • arms.weapon.woodensword
    • arms.weapon.stonesword
    • arms.weapon.ironsword
    • arms.weapon.goldsword
    • arms.weapon.diamondsword
    ToDo:


    • another permissions? pm me
    • weapon damage and crits
    • fixes (its alpha, many bugs)
    • better config
    • some commands for ops
    • pm me or post your suggests here !
    config (open)


    ####Control Permissions for Weapons####​
    Control Weapons Permissions: true​
    Message Woodensword: You cant use this weapon.​
    Message Ironsword: You cant use this weapon.​
    Message Goldsword: You cant use this weapon.​
    Message Diamondsword: You cant use this weapon.​

    ####Control the Damage for Weapons####​
    Set DamageControl: true​
    Wooden-Sword-Damage: 1​
    Stone-Sword-Damage: 2​
    Iron-Sword-Damage: 4​
    Gold-Sword-Damage: 6​
    Diamond-Sword-Damage: 8​
    Wooden-Axe-Damage: 1​
    Stone-Axe-Damage: 2​
    Iron-Axe-Damage: 4​
    Gold-Axe-Damage: 6​
    Diamond-Axe-Damage: 8​

    ####Control the Crits for Weapons####​
    Set Crits: true​
    Crit-Chance in %​
    Wooden-Sword-Crit-Chance: 5​
    Stone-Sword-Crit-Chance: 10​
    Iron-Sword-Crit-Chance: 15​
    Gold-Sword-Crit-Chance: 10​
    Diamond-Sword-Crit-Chance: 20​
    Wooden-Axe-Crit-Chance: 10​
    Stone-Axe-Crit-Chance: 15​
    Iron-Axe-Crit-Chance: 20​
    Gold-Axe-Crit-Chance: 15​
    Diamond-Axe-Crit-Chance: 30​

    ####Control the LavaDamage for full ArmorSets####​

    Set LavaDamage: true​
    LavaDamage Leatherarmor: 1​
    LavaDamage Ironarmor: 1​
    LavaDamage Goldarmor: 1​
    LavaDamage Chainarmor: 1​
    LavaDamage Diamondarmor: 1​

    ####Control the FireDamage for full ArmorSets####​
    Set FireDamage: true​
    FireDamage Leatherarmor: 1​
    FireDamage Ironarmor: 1​
    FireDamage Goldarmor: 1​
    FireDamage Chainarmor: 1​
    FireDamage Diamondarmor: 1​

    ####Control the FireTickDamage for full ArmorSets####​
    Set FireTickDamage: true​
    FireTickDamage Leatherarmor: 1​
    FireTickDamage Ironarmor: 1​
    FireTickDamage Goldarmor: 1​
    FireTickDamage Chainarmor: 1​
    FireTickDamage Diamondarmor: 1​

    Should cactus damage be turned off? (except leather armor)​
    Prevent-Cactus-Damage: true​

    ####Control Permissions for ArmorSets####​
    Control Armor Permissions: true​
    Message Leatherarmor: You cant wear this armor.​
    Message Ironarmor: You cant wear this armor.​
    Message Goldarmor: You cant wear this armor.​
    Message Chainarmor: You cant wear this armor.​
    Message Diamondarmor: You cant wear this armor.​

    ####Control the MissRates for full ArmorSets####​

    Set Miss-Chance-Attacked-By-Monsters: true​
    dodge chance in %​
    MissMonsterLeather: 25​
    MissMonsterIron: 15​
    MissMonsterGold: 15​
    MissMonsterDiamond: 10​
    MissMonsterChain: 20​

    Set Miss-Chance-Attacked-By-Other-Players: true​
    dodge chance in %​
    MissPlayerLeather: 25​
    MissPlayerIron: 15​
    MissPlayerGold: 15​
    MissPlayerDiamond: 10​
    MissPlayerChain: 20​



    Download:
    Jar: Homepage
    Source: github (coming)

    Changelog:
    0.2:
    • added swords permissions
    • added some stuff in config
    Full Changelog (open)



    0.2:
    • added swords permissions
    • added some stuff in config
    0.1:

    • Release
     
    MuttsNuts and soloman981 like this.
  2. Offline

    m5k

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Exactly what I was looking for. Posting so I can find this plugin later, don't have time to install it now, but I will surely use this to its limits.
     
  3. Offline

    soloman981

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    THANKS ALOT

    what do you think about weapon (swords,bow,fishing rod) using control ?

    do players need to download something for that plugin?
     
  4. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    its in todo
    I will try to implement this soon
     
  5. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Added sword "onDamage" permissions. You cant hurt anything, if you havent the permission for the weapon.

    It's serverside, not client-changes.
     
  6. Offline

    awesom03

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Exactly what I need, any chance of adding bows/arrows as well as chain mail?
     
  7. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What do you mean exactly?
     
  8. Offline

    1born2kill

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    yay the Perfect Plugin to make Classes, Such as Infantry and SHitzz :D
     
  9. Offline

    Zalastri

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Really looking forward to damage modification. Please make sure this works well with McMMO too! Perhaps you can allow us to tweak the "base" damage which McMMO can then take and scale.
     
  10. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I can try to.
    My problem now: I set up a server and I don't have much time these days..
     
  11. Offline

    m5k

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Fuck yea, 953 finally. :)
     
  12. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I lost some data for this plugin... will have to rewrite it in the next days with many more features..
     
  13. Offline

    Milchshakee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i think he asks if you can control bows and arrows with this plugin....can you add this pls ? :)
     
  14. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think, I will remove equipping and using controls from Arms.
    Get my Simple* Plugins for this.
    Will add Bow-control to SimpleWeapons until tomorrow.
     
  15. Offline

    Soulstormer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I like the idea to have all 3 things in one plugin, I'm happy to see bows tomorrow.
    How about permissions for the other tools and sticks too? They could be used as weapons / magic wand too.

    So I just need to install BukkitContrib on the server the players don't need the ClientSide Mod? I can't get it to work with my permissons, however. Ok I just expected it to work another way, how about changing the inventory slot if you try to equip a disallowed weapon / armor?

    Show Spoiler
    17:00:07 [SEVERE] Could not pass event ENTITY_DAMAGE to Arms
    java.lang.ClassCastException: org.bukkitcontrib.player.ContribCraftPlayer cannot
    be cast to org.bukkit.event.entity.EntityDamageByEntityEvent
    at com.MojoManagement.Arms.ArmsEntListener.damagecalc(ArmsEntListener.ja
    va:77)
    at com.MojoManagement.Arms.ArmsEntListener.onEntityDamage(ArmsEntListene
    r.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
    at net.minecraft.server.EntityArrow.m_(EntityArrow.java:178)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    at net.minecraft.server.World.cleanUp(World.java:1102)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  16. Offline

    killergee100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hello, dont wanna be a bother. But just wanna help you correct something. In the sentence "I didn't found anything, so I created something on my own. :)" instead of found it should be find. haha just wanted to make it so you sound more educated cause i love your plugin :)
     
  17. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    As said, lost some data for the Arms plugin, trying to rewrite as fast as possible.
     
  18. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    get simple weapon permissions for bow control, added it there.
     
  19. Offline

    MasterKitty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ok ammm when we hit npc's with any item for some reason we deal damage to them. We checked the log and got this:

    2011-07-12 13:50:05 [SEVERE] Could not pass event ENTITY_DAMAGE to Arms
    java.lang.ClassCastException: org.bukkitcontrib.player.ContribCraftPlayer cannot be cast to org.bukkit.event.entity.EntityDamageByEntityEvent
    at com.MojoManagement.Arms.ArmsEntListener.damagecalc(ArmsEntListener.java:77)
    at com.MojoManagement.Arms.ArmsEntListener.onEntityDamage(ArmsEntListener.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityArrow.m_(EntityArrow.java:178)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    at net.minecraft.server.World.cleanUp(World.java:1102)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    thanks for looking,

    -KITTEH
     
  20. Offline

    killacalli

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hmm im no programmer but isn't it "DAMAGE_ENTITY/DAMAGE_ENTITY_ATTACK"?
     
  21. Offline

    MojoManagement

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    As said, lost some code, I have got a lot of other work all these days.
    I will fix it at the weekend (hope so).
     
  22. Offline

    Lunarius Haberdash

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Got this error message, any idea what it means?

    Error Message (open)


    2011-07-15 01:24:52 [SEVERE] Could not pass event ENTITY_DAMAGE to Arms
    java.lang.ClassCastException: org.bukkitcontrib.player.ContribCraftPlayer cannot be cast to org.bukkit.event.entity.EntityDamageByEntityEvent
    at com.MojoManagement.Arms.ArmsEntListener.damagecalc(ArmsEntListener.java:77)
    at com.MojoManagement.Arms.ArmsEntListener.onEntityDamage(ArmsEntListener.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:423)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
    at net.minecraft.server.EntityArrow.m_(EntityArrow.java:185)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
    at net.minecraft.server.World.cleanUp(World.java:1102)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  23. Offline

    Flenix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    Read up before you post, someone posted the same error 2 messages above and the one message above was an answer to it. There's only one page on this thread...
     
  24. Offline

    Lunarius Haberdash

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Me = Thread-Read fail. Sorry. >.<
     
  25. Offline

    Flenix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    No worries, we all make mistakes :)
     
  26. Offline

    Flenix

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Anyone want to give me a working download link for the last working version? It isn't on this page.
     
  27. Offline

    MuttsNuts

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    The download link sends you to his site where you download the plugin from but for some reason nothing showed up other than a black background in IE9 for me but worked as it should in Google Chrome.
     
  28. Offline

    Tim619

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Please i need this plugins badly =( the download link is broken.
    or..
    Bitte ich brauche diese Plugins schlecht = (den Download-Link ist kaputt.
     
  29. Offline

    Pawel

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    How do i do that eg for Jobs plugin in permission Miner can use Pickaxe and leather armor and so on ??
     
  30. Offline

    4416nnd

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    12:18:08 [SEVERE] Could not pass event ENTITY_DAMAGE to Arms
    java.lang.ClassCastException: org.bukkitcontrib.player.ContribCraftPlayer cannot
    be cast to org.bukkit.event.entity.EntityDamageByEntityEvent
    at com.MojoManagement.Arms.ArmsEntListener.damagecalc(ArmsEntListener.ja
    va:77)
    at com.MojoManagement.Arms.ArmsEntListener.onEntityDamage(ArmsEntListene
    r.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.j
    ava:649)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:427)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:180)
    at net.minecraft.server.EntityMonster.a(EntityMonster.java:90)
    at net.minecraft.server.EntitySpider.a(EntitySpider.java:78)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
    at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
    at net.minecraft.server.EntityMonster.v(EntityMonster.java:26)
    at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
    at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1212)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1194)
    at net.minecraft.server.World.cleanUp(World.java:1110)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:450)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    (EntityPlayer.java:180)
    (ArmsEntListene
    r.java:44)
    at org.bukkit.plugin.java.JavaPluginLoader$58.execute(JavaPluginLoader.j
    ava:649)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:338)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:427)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:180)
    at net.minecraft.server.EntityMonster.a(EntityMonster.java:90)
    at net.minecraft.server.EntitySpider.a(EntitySpider.java:78)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
    at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
    at net.minecraft.server.EntityMonster.v(EntityMonster.java:26)
    at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
    at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1212)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1194)
    at net.minecraft.server.World.cleanUp(World.java:1110)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:450)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     

Share This Page