Inactive [FUN/MECH] ControlORBle v2.2 - Enhance MineCraft's Experience System [1185]

Discussion in 'Inactive/Unsupported Plugins' started by feildmaster, Sep 19, 2011.

  1. Offline

    feildmaster Retired Staff

    ControlORBle v2.0
    Control your players experience​

    At the lack of plugins that actually use experience, I've created this plugin quick that I plan on updating with more features and usage.

    Features:
    • Configurable Experience Loss on Death (With the ability to fine-tune by death type!)
    • Add/Remove/Set players experience
    • "Virtual Experience"
    • Configurable experience drops from monsters
    • Many more configuration options!
    View project page for more info!

    Known Bugs:
    • Experience on respawn is "glitched" until you re-join or gain/lose experience
    • Sometimes shows experience orbs that don't exist, re-join to fix.
    Change Log:
    v2.2.1 [Download]
    • Fixed dropExperience bug
    v2.2 [Download]
    • Fixed name Requires you to move old config to new folder! Or Remake your config.yml
    • Added more expLoss configurations
    • Added deLevel config (allows you to keep your level after death if false)
    • Added "expLossByTotal" to lose based off of total instead of level
    • Added "expBurn" (experience permanently lost upon death)
    v2.1.1 [Download]
    • Fixed "negative experience" bug.
    v2.1 [Download]
    • Streamlined Experience Command
      • Fixed bugs when setting experience with /exp
    • Added configurable "showTotal" when using /exp
    • Added configurable (basic) death loss percentage
      • Percent loss based on current "experience to next level"
        • eg:
          • Level 2, 0 exp, 30 experience total, 30 to next level
          • Percent: 50
          • Lose 15 experience. (30*(50/100))
          • New level: 1, 5 exp, 15 experience total.
      • Will add more options later! Including "no down-level" and "lose exp based on total experience"
    • Cleaned code.
    • More Awesomeness.
    v2.0
    v1.0 Tested on CB 1149

    • Players keep 100% experience on death
    • Opens up a path to new RPG usages! :eek:
     
  2. Offline

    MarkusE.s.

    I think its an Good idea. if the Orb laggs are fare away
     
  3. Offline

    Plague

    well this is the same as your other plugin post
     
  4. Offline

    feildmaster Retired Staff

    What's the same? This one is tidier. :eek:

    Oh wait. I'm missing a few items. I can clean this one as well.

    @Plague Tidied.

    Oh.. forgot change log. -adds-

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  5. Offline

    feildmaster Retired Staff

    This is now outdated, will update to new dev build of CraftBukkit soon.

    I've been plugging a lot lately. :3
     
  6. Offline

    Liam Allan

    This would work nicely with ThatOtherRPGplugin :D
     
  7. Offline

    feildmaster Retired Staff

    Sadly the new RB broke the code! It used to work... when i tested it anyway.

    I'll look for the reason. :3
     
  8. Offline

    Liam Allan

    Ok, Good luck . .
     
  9. Offline

    feildmaster Retired Staff

    I like that plugin. You need to put
    Code:
    if(!(sender instanceof Player)) return;
    under onCommand though.
     
  10. Offline

    feildmaster Retired Staff

    Last edited by a moderator: May 19, 2016
  11. Offline

    Liam Allan

    I think this could work well with ThatOtherRPGplugin
     
  12. Offline

    feildmaster Retired Staff

    Yes... You've said that already. It probably would work well.
     
  13. Offline

    Liam Allan

    Yeah, sorry :D
     
  14. Offline

    feildmaster Retired Staff

    It's alright. Have you tried it? :)
     
  15. Offline

    Liam Allan

    Yeah, works like a charm.
     
  16. Offline

    feildmaster Retired Staff

    I'm glad someone likes it. ^^

    EDIT: By the way, I need ideas. :)
     
  17. Offline

    Liam Allan

    Ok, I don't really have ideas for this, It's what it is. :D

    No actually, Why don't you grow up and stop 'trying' to troll? Hmm

    Grow up. Just because things didn't go the way you planned.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  18. Offline

    feildmaster Retired Staff

    @Plague : I see you don't like accepting my threads. :p
    ------
    Also, I'll be adding in configurable experience loss on death soon. ^^

    After that, configurable by "type" of death.
     
  19. Offline

    Plague

    No, but sometims there are 20+ alerts waiting for me and the "new" color goes away once opened, so the can get "lost". And until I then do a manual browse through submissions you are forgotten ;)
     
  20. Offline

    feildmaster Retired Staff

    Aww... lovely me can be forgotten. That sucks. :( :p
     
  21. Offline

    HWei

    Strongly demand :
    Add a config to allow losing experience on death. Players should be afraid of death![creeper]
    Please display total experience too. Or make it configurable.

    Optional suggestion:
    If a player continuously kills several mobs in one type, it is a combo kill, and can get more exp.
    But if he killed too many in a certain time, reduce exp he will get, to prevent players killing mobs all day long.
    (Because I want to use another plugin to let player buy abilities (permissions) with exp orbs! :p)

    Other tip:
    The only way to set total experience to totalExp correctly is:
    Code:
    player.setExperience(0);
    player.setTotalExperience(0);
    player.setLevel(0);
    player.setExperience(totalExp);
    Your code is missing one line. That may help solve your glitch.
     
  22. Offline

    feildmaster Retired Staff

    Coming soon. :p What do you mean by display total experience? Display all your level experience? I could... I suppose... Don't see the point. :p

    Hmm...

    what? There's no glitches. o.o I thoroughly tested this.
    Oh wait, you mean on respawn? That's a minecraft display bug. Because you aren't supposed to have experience on respawn. :p
     
  23. Offline

    HWei

    A Player object has 3 properties about experience: TotalExperience, Experience, Level. [skeleton]
    Please try to dump out all the 3 properties when your plugin changing a player's experience:[pig]
    Code:
    System.out.println(this.player.getTotalExperience());
    System.out.println(this.player.getExperience());
    System.out.println(this.player.getLevel());
    And try this in server console:[spider]
    exp player 5
    exp player 0

    You will see Experience and Level are 0, which is correct, but TotalExperience becomes -5.[tnt]
    So, your plugin is messing up the TotalExperience value. :(

    Because your plugin never display TotalExperience, so no one realized what happened. [creeper]

    Please fix this and let players know their TotalExperience... [sheep]


    Forget to say: There is an error when use "exp player +5".
    (I am just expecting to use this plugin in our server. ;))
     
  24. Offline

    feildmaster Retired Staff

    Maybe I am missing a code... That's odd. I was sure I tested this thoroughly.

    Is there an error from that? I probably already fixed that.

    I'll do the other fixes now. Rather.

    I think the new death logic needs to be tested, because you lose a ton of experience. ;)

    Version 2.1 [Download]
    • Streamlined Experience Command
      • Fixed bugs when setting experience with /exp
    • Added configurable "showTotal" when using /exp
    • Added configurable (basic) death loss percentage
      • Percent loss based on current "experience to next level"
        • eg:
          • Level 2, 0 exp, 30 experience total, 30 to next level
          • Percent: 50
          • Lose 15 experience. (30*(50/100))
          • New level: 1, 5 exp, 15 experience total.
      • Will add more options later! Including "no down-level" and "lose exp based on total experience"
    • Cleaned code.
    • More Awesomeness.

    Okay... Version 2.1.1 [Download]
    • Fixed "negative experience" bug.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 19, 2016
  25. Offline

    feildmaster Retired Staff

    Version 2.2 [Download]

    • Fixed name Requires you to move old config to new folder! Or Remake your config.yml
    • Added more expLoss configurations
    • Added deLevel config (allows you to keep your level after death if false)
    • Added "expLossByTotal" to lose based off of total instead of level
    • Added "expBurn" (experience permanently lost upon death)
     
  26. Offline

    HWei

    Thank you for update. :)

    But there is a bug in craftbukkit: skeletons never drop experience orbs. :(
     
  27. Offline

    feildmaster Retired Staff

    Version 2.2.1 [Download]
    • Fixed "drop experience" bug.
     
  28. Offline

    matix931

    Please add support 1.9 pre 5
     
  29. Offline

    feildmaster Retired Staff

    I can't. The API doesn't exist.
     
  30. Offline

    matix931

Share This Page