Error Hero Players

Discussion in 'Bukkit Help' started by Ani1149, Jul 26, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Ani1149

    Hay i need your help!
    First sorry for my english, i'll give my best!

    My server laggs often with an error from "HeroPlayers"

    Hardware

    RAM 16777 MB
    vCPU 4
    HDD1 976 GB


    I have 2 server on it, one with 8gb ram and one with 6gb ram


    Log with the Error:
    http://textuploader.com/kn9l

    Config:
    http://textuploader.com/kn9j

    Plugins:

    WorldBorder, NoCheatPlus, WorldEdit, Simple-AutoSave, SafeFrames, Vault, CustomJoinMessage, PermissionsEx, Multiverse-Core, LogBlock, HeroPlayers, WorldGuard, iConomy, OnlyProxyJoin, TreasureChest, CraftBook, ChestShop, Modifyworld, Votifier, mcMMO, GAListener, Essentials, Factions, AncientGates, SimpleRegionMarket, Jobs, Citizens, Sentry, VoteSend, Updater


    Thanks for help...
     
  2. Offline

    Ani1149

  3. Offline

    Bobit

    Do you have the code for HeroPlayers? We probably can't fix this without it.
    It looks like the code used to be on the internet, but it was removed.
     
  4. Offline

    Ani1149

    Which code?
     
  5. Offline

    Bobit

    The code that is HeroPlayers; the source code. If you don't have it, we probably can't help you, because HeroPlayers doesn't exist on the internet, except for a few pages that were deleted.
     
  6. Offline

    Ani1149

    Haven't the code sorry... Just use that plugin
     
  7. Offline

    Necrodoom

    Ani1149 you posted on plugin development section, which implies its your plugin. Where did you get this plugin from?
     
  8. Offline

    Ani1149

    Didn't find an other section for it... Sorry

    From a friend, but he doesn't know who makes it, too
     
  9. Offline

    Necrodoom

    If you have no idea what is this plugin, delete it, and get similar one from dev.bukkit.org.
     
  10. Offline

    FabeGabeMC

    Necrodoom HctiMitcH created the plugin.
    HTML:
    at io.github.HctiMitcH.HeroPlayers$EventListener.onEntityDamageEvent(HeroPlayers.java:78)
     
  11. Offline

    Bobit

    Googling hctimitch, I found his bukkit forums profile:
    Messages: 0
    Plugins: 0
    Likes receieved:0
    Last Login: July 16, 2014
    ???!

    [removed links to unofficial builds]
     
  12. Offline

    FabeGabeMC

    Bobit nice research! :>
     
  13. Offline

    Ani1149

    What can i do? :/
    Like this plugin but it doenst work without errors und laggs...
    Is there another plugin like this?

    With the plugin, for example, the user can write /hp ork and gets the effect jump all 8sec again if they move...
    And it works with permission groups, so only an ork can write /hp ork
    Its very cool and cant find another plugin at all =(
     
  14. Offline

    Bobit

    For something that specific, you'll have to do your own programming, to some extent. There are many RPG plugins designed to make it "easier" to make your own, but they usually don't have enough features for you to make exactly what you want.
     
  15. Offline

    Ani1149

  16. Offline

    Bobit

    I'm not sure, but you may have to include resistances for each class in your config, even if you leave it blank. So instead of:

    Code:
        Mensch:
          ability:
            permission: Mensch.permission
            worlds:
            - Pvp
            - Pvp_Markt
            - Pvp_Nether
            - Pvp_the_end
            effects:
            - 10%0
    Try this:
    Code:
        Mensch:
          ability:
            permission: Mensch.permission
            resistance:
            worlds:
            - Pvp
            - Pvp_Markt
            - Pvp_Nether
            - Pvp_the_end
            effects:
            - 10%0
    If that doesn't work, then you have 2 options:

    1) Give every class a resistance

    2) Modify the source code so it isn't necessarily expected that each class has a resistance. This may or may not be illegal. You should talk to the author.

    You're probably going to ask what a resistance is.
    In this plugin, a resistance is a type of damage that that class is invincible to. You may include multiple resistances if you want, the same way that you included multiple worlds for that class.
    Here are the valid "types" of damage:

    BLOCK_EXPLOSION, CONTACT, CUSTOM, DROWNING, ENTITY_ATTACK, ENTITY_EXPLOSION, FALL, FALLING_BLOCK, FIRE, LAVA, LIGHTNING, MAGIC, MELTING, PROJECTILE, STARVATION, SUFFOCATION, SUICIDE, THORNS, VOID, WITHER

    (If you've coded a plugin before, you should know that they're from damagecause)

    If you don't actually want a resistance, and the above didn't help, you could put all of your class's resistance as MELTING, because that never happens to players.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 9, 2016
  17. Offline

    Ani1149

    Thank you!
    A friend will try it for me at friday =)
    I'll notify
     
  18. Offline

    Ani1149

    Doesn't work :/
    I'll search another plugin
     
  19. Offline

    Bobit

Thread Status:
Not open for further replies.

Share This Page