Extending Scoreboard 16-char limit

Discussion in 'Plugin Development' started by DinosaurKappa, Feb 6, 2017.

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

    DinosaurKappa

    Yeah, I realize there are many threads out there but none seem to really work.

    Have tried shortening Gamemode to Mode but it's fairly obvious that will still be 20 > 16. Please let me know an effective method of bypassing this aside from using 1.8, as I believe that rids of the limit.
    Code:
    Score gm = o.getScore(ChatColor.GRAY + "Gamemode: " + ChatColor.GREEN + p.getGameMode());
    Thanks.

    Note: Current kick-error is 24 > 16 (for ref.)
     
  2. @DinosaurKappa
    The problem is that the client won't accept longer scoreboard entries than 16 characters, and there's absolutely nothing you can do about that.

    But I don't see why you are sitting around using lower versions than 1.8, as the newer versions have tonnes of bug fixes and new features to work with.
     
    Zombie_Striker likes this.
  3. Online

    timtower Administrator Administrator Moderator

    @DinosaurKappa Don't think that you can.
    How about making it multiline?
     
  4. Offline

    mine-care

    Or scrolling
    (@DinosaurKappa Note i dont recomend the tutorial above just use it to give you an idea)
     
  5. Offline

    Zombie_Striker

    @DinosaurKappa
    I may make a *thread* explaining why to no longer use pre-1.8, but as of know, all you have to know is no one should be using 1.8 anymore. Some plugins are even being built know that specifically work work in anything lower than 1.9 to try forcing members to update.
     
    Last edited: Feb 6, 2017
    Rayzr522 likes this.
  6. Offline

    DinosaurKappa

    I'm working on coding an HCF core, which is, in summary, the "backbone" of a hardcore factions server. For numerous slightly obvious reasons, 1.7 is much more preferred than 1.8 for these intensely pvp-based servwrs/plugins. To be honest, I've always been pretty confused about whether or not I can use a 1.8 API/plugin for a 1.7.10 server, but logic would say no. I'm sort-of forced to stay Pre-1.8 @Zombie_Striker
    Not a bad idea, may consider. Chances are it would look pretty unappealing though.
     
  7. Offline

    Zombie_Striker

    Nope, you're not forced. You can still have 1.8/1.7 combat in higher versions, so the PVP is not actually the reason 1.7 and 1.8 are preferred. As far as combat, the only things that 1.7 and 1.8 have in common that are not the same in 1.9+ is that those versions allow mods and hacks. There are dozens of mods hacks out there for those versions that allow players to win at combat (Kill aura, Invincibility hacks, better targeting hacks). 1.9+ don't have these hacks since mc's internal code had some modifications and most servers now have better anti-hacks. The only reason why most servers are still on anything older than 1.9 is because they want to support players who these hacks.

    Again, I would highly recommend you update your server.
     
  8. Offline

    DinosaurKappa

    The stability of the 1.8 client is a lot different than that of 1.7.10, knockback is different as well as hit registration. Along with that, you can't blockhit without certain mods
     
  9. Offline

    Rayzr522

    @DinosaurKappa
    Try out OldCombatMechanics, if you have problems with combat just make an issue on the GitHub page for OCM. The author is happy to add features if you are still unhappy with the combat.
     
  10. Offline

    Zombie_Striker

    Considering have not been any versions recently where the client crashes for no reason, I'm assuming you mean lag. Considering there has not been any real changes that require significantly more processors (The tickspeed is exactly the same. There have only been a few blocks, entities, and items added since then, so a few new things should not cause that much lag, MC even got mip-maps so it can reduce lag) and because of I have never noticed any lag while changing versions, any lag caused should be negligible.

    Are you referring to this?

    MC-52881
    – Knockback distance incorrect, depends on login order

    So, you're saying you want to use an older version because it had a broken feature/hack in it?

    Are you referring to blocking and hitting? The fact that this was removed should be a benefit. Your arguing that spamming the mouse click buttons as fast as you can is better then choosing whether to block or fight.
     
  11. Offline

    DinosaurKappa

    I don't mean to call you out and so; that's not what I'm trying to do, however you're being quite ignorant. 1.7.10 is a lot better for pvp and it is the CURRENT standard for hardcorefactions servers. I'm looking for a fix for 1.7.10- and I specifically said not updating to 1.8. Regardless, thank you for your efforts.
    That would not satisfy my needs unfortunately. I suppose I could update to 1.8 and backport to 1.7.10 I suppose
     
  12. Online

    timtower Administrator Administrator Moderator

    @DinosaurKappa Shall we not do thing that will lose support from here?
    To everybody on this thread: stay on topic please, it is about scoreboards, not pvp and versions.

    @DinosaurKappa What do you think that would be the best solution for you while keeping the 16 char limit?
     
  13. Offline

    DinosaurKappa

    I apologize.

    Anyways, I believe that the main idea would be to use multiline with spacers as you suggested, something like so:
    Code:
    <DisplayName>
    
    Username:
    Outfield
    
    Gamemode:
    Survival
    
    etc.
    Although not the most effective method, it gets ths job done. I'm not going to mark this thread as solved because I read somewhere you could use team prefixes. Once solved, I will leave a reply and mark as solved.
     
Thread Status:
Not open for further replies.

Share This Page