Giter Site home page Giter Site logo

levelhead's Introduction

General Information

Levelhead is a Minecraft Mod created for the Hypixel Network mc.hypixel.net to show a player's network level or other stats above their head.

Configuration

/levelhead - Primary configuration command. Opens configuration GUI

/levelhead dumpcache - Dumps local cache for players’ levels. Reloads from servers.

/levelhead reauth - Refreshes the current purchase data for your player

Gui

MasterToggle - Toggle mod on and off

Offset - Shifts the head displays further upwards (only for above head)

Text / Level configuration

Show self - Show your own level above your head

Type - Stat shown for a given player

Prefix - Allows users to specify a custom prefix instead of Level

Colors

Dropdown - Color presets based on Minecraft's chat colors. Includes RGB and Chroma for above head and tab

Color Picker - Full color picker which allows for direct control over the rgb values of the color. (Only for above head and tab)

Technical Information

Due to the nature of the mod, millions of requests are sent to my server every day. As a result, heavy caching rules are in place. All levels are cached for a minimum of 2 days on Cloudflare’s network. The cache time on my website is based on how many requests it is receiving. Less requests will result is shorter cache times. On average, levels are cached for 4 days on my website. When a cache update is called, the player’s level is retrieved from the Hypixel Public Api and updated across Cloudflare’s network.

Support the project

You can support the project by purchasing a custom Levelhead message. More information and purchase details can be found here: https://sk1er.club/customlevelhead

Analytics

This mod tracks who uses it. General information is sent to my analytic servers. This information includes: Minecraft UUID, Minecraft Version, Mod Version and Minecraft Forge Version

All analytics can be viewed here: https://sk1er.club/graphs/level_head

Yourkit

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler YourKit .NET Profiler andYourKit YouMonitor

levelhead's People

Contributors

erouax avatar falsehonesty avatar rdil avatar sk1er avatar sychic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

levelhead's Issues

Chat Display no longer works

Hypixel appears to have changed the command that's run on click from using uuid to username. We should no longer rely on this and instead run off of the username in the chat message itself.

Incompatibility with SBA entity outlines

Hi all,

I'm hoping to fix an incompatibility between SBA's entity outlines and this mod. The problem occurs because SBA calls Minecraft.getMinecraft().getRenderManager().renderEntityStatic() for players inside Hypixel Skyblock Dungeons. This then eventually fires the RenderPlayerEvent.Pre event that Level head subscribes to here. The result is that the level head display (above player heads) is outlined along with the rest of the entity.

Looking at the level head code, I don't see a way to prevent rendering outlines around the level head display from SBA's end. But I think there might be a simple way to do it on Level head's end.

There are two potential fixes. The first is #18 , which changes the event subscription to one that only fires when nametags are rendered (nametag rendering is disabled when rendering entity outlines). The second is adding an extra check for RendererLivingEntity.renderOutlines. Unfortunately the second option likely involves access transformers or mixins, as the field is protected and there are no getters that I could find.

Thanks for your help!

Edit: I got some help from @DJtheRedstoner, who reviewed my PR #18 and gave me some patches to apply. According to DJ, the PR works in 1.8.9, but they were unable to test it in 1.12 because of "other issues."

Crash on opening GUI

Forge: 11.15.1.2318
MC: 1.8.9
Launcher: PolyMC 1.4.1 (Flatpak)
Only Levelhead is present in mods folder

Reproduce: type /levelhead, instead of opening GUI it crashes the game.

https://mclo.gs/bZsVpqC

I can't use this MOD in China

@Sk1er I can't use this MOD in China, and I can't access your website in China. If I use this MOD, I can't access the server. Can you fix this problem? pls

Incorrect colour coding using mediamod

Playing a song on Spotify using mediamod with '&' causes the following text's colours to be altered based on Minecraft colour codes. Foreign characters also do not display correctly. Mediamod's player displays correctly.

Eg. original text: Bülow: You & Jennifer
Result:
image

An issue with 6.2 of Levelhead...

Alright, so I tried out Levelhead 6.2 and I'm still crashing, but with a different error while the mod is in my mods folder. Here's my issue with the mod:

So I launch Minecraft. Completely normal.
I click on 'Multiplayer' and go to Hypixel.
Then when I join the server, it crashes after a split second saying "Error whilst rendering entity."

This might be my end, but I'm not sure. I have multiple crash reports from a few days ago with this crash.
I put them all in a gist:

https://gist.github.com/OPAmqericaHPE/b6d523ca89d7bc8faf11f9c15c5bdc72

Levels not showing.

Hey,
I have tried everything, changing settings to try and see if i can fix it. But with no luck, i can't seem to get it working. The Gui comes up, but it is not showing any levels.

I have optifine, and messed around with some settings. Are there settings that need to be active to ensure the mod works?

I really need some help, thx.

The level is behind.

Levelhead sometimes shows my level 2 times behind of what it really is. Is there a patch for this?

LevelHead Inaccurate

I have the latest version but im a lvl 153 and it says im lvl 36 on my head, pls fix

Multiple reports of crashes when joining servers

Multiple people have reported issues with levelhead in discord and the crash reports all seem to reference this line in levelhead.java: https://github.com/sk1erllc/Levelhead/blob/873ba23f9152ba42a32ad4f93693676322800e8c/src/main/java/club/sk1er/mods/levelhead/Levelhead.java#L210

I've added all the crash reports from discord into a gist for you:
https://gist.github.com/GamingGeek/c86b77beeb8a0e91055bbb12c70a800a

Thought I'd make an issue here since there's been a few people with the same issue

Custom backgrounds

Option to change background color, including opacity.

Currently, it's impossible to have a transparent background. It would be very nice if that was possible.

I'll PR myself if I get time.

Levels not showing properly

hi.
I updated to the latest version earlier today and ever since the levels above people's heads have not been showing properly. I have tried removing my texture pack and seeing if it works but it does not. I cannot seem to find why it does this.
When I change it off Normal mode(below), the Level part can become normal but the rest is still broken with a weird question mark, I believe this is related to the color prefixes Minecraft uses?

I am running MultiMC5, Forge Mod Loader version 11.15.1.2318 for Minecraft 1.8.9
Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_281, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_281
If you need any more info, please ask.

Never had this issue before I updated today. Thanks.

Image of it with the prefix off Normal mode:
image
Images of it normally:
image
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.