[Uncomplete] Evangelion (1.8 and 1.7 Tab Support)

Status
This thread has been locked.

kampai

Feedback score
8
Posts
361
Reactions
187
Resources
0
Basically this is a mix of some of the things in kraken and other sources I found, but my interpretation of it.

So it's a kraken/other source adaptation.

It works (kind of) except on 1.8 it doesn't put the string in the order you want it to and it also doesn't put the string in the order you want it to. I will be working to fix these in the next few days so be on the look out for any updates, but if you want to contribute just feel free to.

(A lot of this isn't FULLY my code)

https://github.com/kamerondev/Evangelion
Credits to Kraken & other found sources

Known Bugs:
  • On 1.8 it doesn't correctly put your strings in the correct place.
Potential Bugs:
  • When players join it may mess with the tab on 1.8 (not tested just guessing)
  • String longer then 16 wont work (not tested just guessing)
How to use example:
Code:
    public void onEnable() {
        Evangelion evan = new Evangelion(this, true);
        Bukkit.getPluginManager().registerEvents(this, this);
    }

    @EventHandler
    public void onMove(PlayerMoveEvent event) {
        if (event.getTo().getBlockX() != event.getFrom().getBlockX()
                || event.getTo().getBlockY() != event.getFrom().getBlockY()) {

            AsukaTab tab = AsukaTab.getAsukaTab(event.getPlayer());
            if(tab != null) {
                tab.put1_8(0, String.valueOf(event.getTo().getBlockX()) + " X");
                //tab.put(1, 1, String.valueOf(event.getTo().getBlockY()) + " Y");
            }
           
           
        }
    }

}
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

kampai

Feedback score
8
Posts
361
Reactions
187
Resources
0
! Reserved Comment !
 

Travis Scott

nasa
Premium
Feedback score
17
Posts
126
Reactions
50
Resources
0
Tested
what I got was tab full of steve and alex heads
and 1.7 just did not work
good try tho
 

kampai

Feedback score
8
Posts
361
Reactions
187
Resources
0
Tested
what I got was tab full of steve and alex heads
and 1.7 just did not work
good try tho
.... It works for me? And as I said before 1.8 is buggy but it should work. What's your problem? How it works is it fills the tab with random uuids and empty string so there no surprise that you got a tab full of steve and alex heads. Did no text show up?

I'm really concerned if there are more problems to this api or not.

The bug currently is when you set the tab on 1.8 it's random but I could probably fix it soon.
Is this a tab plugin?
This is a tab api.
 
Status
This thread has been locked.
Top