<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[I Made A Simple SessionInfo]]></title><description><![CDATA[<p dir="auto"><strong>Preview:</strong><br />
![SYS{6UUK~$5JZPUB6WB4~<a href="/assets/uploads/files/1666111862568-sys-6uuk-5jzpub6wb4-9.png">9.png</a></p>
<p dir="auto"><strong>Code</strong></p>
<pre><code>@ElementInfo(name = "Session")
class Session(x: Double = 15.0, y: Double = 10.0, scale: Float = 1F,
                  side: Side = Side(Side.Horizontal.LEFT, Side.Vertical.UP)
) : Element(x, y, scale, side) {

    private val radiusValue = FloatValue("Radius", 4.25f, 0f, 10f)
    private val bgredValue = IntegerValue("Bg-R", 255, 0, 255)
    private val bggreenValue = IntegerValue("Bg-G", 255, 0, 255)
    private val bgblueValue = IntegerValue("Bg-B", 255, 0, 255)
    private val bgalphaValue = IntegerValue("Bg-Alpha", 150, 0, 255)

    val lineValue = BoolValue("Line", true)
    private val redValue = IntegerValue("Line-R", 255, 0, 255)
    private val greenValue = IntegerValue("Line-G", 255, 0, 255)
    private val blueValue = IntegerValue("Line-B", 255, 0, 255)
    private val colorRedValue2 = IntegerValue("Line-R2", 0, 0, 255)
    private val colorGreenValue2 = IntegerValue("Line-G2", 111, 0, 255)
    private val colorBlueValue2 = IntegerValue("Line-B2", 255, 0, 255)

    val fontValue = FontValue("Font", Fonts.font35)

    override fun drawElement(): Border? {
        val fontRenderer = fontValue.get()

        val y2 = fontRenderer.FONT_HEIGHT * 5 + 11.0
        val x2 = 140.0

        var durationInMillis: Long = System.currentTimeMillis() - LiquidBounce.playTimeStart
        var second = durationInMillis / 1000 % 60
        var minute = durationInMillis / (1000 * 60) % 60
        var hour = durationInMillis / (1000 * 60 * 60) % 24
        var time: String
        time = String.format("%02dh %02dm %02ds", hour, minute, second)

        RenderUtils.drawRoundedRect(-2f, -2f, x2.toFloat(), y2.toFloat(), radiusValue.get(), Color(bgredValue.get(), bggreenValue.get(), bgblueValue.get(), bgalphaValue.get()).rgb)
      if(lineValue.get()) {
          RenderUtils.drawGradientSideways(
              2.44,
              fontRenderer.FONT_HEIGHT + 2.5 + 0.0,
              138.0 + -2.44,
              fontRenderer.FONT_HEIGHT + 2.5 + 1.16,
              Color(redValue.get(), greenValue.get(), blueValue.get()).rgb,
              Color(colorRedValue2.get(), colorGreenValue2.get(), colorBlueValue2.get()).rgb
          )
      }
        val autogg = LiquidBounce.moduleManager.getModule(AutoGG::class.java) as AutoGG?
        fontRenderer.drawCenteredString("Session Info", x2.toFloat() / 2f, 3f, Color.WHITE.rgb, true)
        fontRenderer.drawStringWithShadow("Play Time: $time", 2f, fontRenderer.FONT_HEIGHT + 8f, Color.WHITE.rgb)
        fontRenderer.drawStringWithShadow("Players Killed: " + CombatListener.killCounts,2f , fontRenderer.FONT_HEIGHT * 2 + 8f, Color.WHITE.rgb)
        fontRenderer.drawStringWithShadow("Win: " + autogg!!.getWin(), 2f, fontRenderer.FONT_HEIGHT * 3 + 8f, Color.WHITE.rgb)
        fontRenderer.drawStringWithShadow("Total: " + CombatListener.totalPlayed, 2f, fontRenderer.FONT_HEIGHT * 4 + 8f, Color.WHITE.rgb)
        return Border(-2f, -2f, x2.toFloat(), y2.toFloat())
    }
}
</code></pre>
<p dir="auto"><strong>Needed</strong></p>
<pre><code>object CombatListener : Listenable {
    var syncEntity: EntityLivingBase? = null
    var killCounts = 0
    var totalPlayed = 0
    var win = 0
    var startTime = System.currentTimeMillis()

    @EventTarget
    private fun onAttack(event: AttackEvent) { syncEntity = event.targetEntity as EntityLivingBase?
    }

    @EventTarget
    private fun onUpdate(event: UpdateEvent) {
        if(syncEntity != null &amp;&amp; syncEntity!!.isDead) {
            ++killCounts
            syncEntity = null
        }
    }

    @EventTarget(ignoreCondition = true)
    private fun onPacket(event: PacketEvent) {
        val packet = event.packet
        if (event.packet is C00Handshake) startTime = System.currentTimeMillis()

        if (packet is S45PacketTitle) {
            val title = packet.message.formattedText
            if(title.contains("Winner")){
                win++
            }
            if(title.contains("BedWar")){
                totalPlayed++
            }
            if(title.contains("SkyWar")){
                totalPlayed++
            }
        }
    }

    override fun handleEvents() = true

    init {
        LiquidBounce.eventManager.registerListener(this)
    }
}
</code></pre>
<p dir="auto"><strong>AutoGG</strong></p>
<pre><code>@ModuleInfo(name = "AutoGG", description = "End a game send GG", category = ModuleCategory.MISC,spacedName = "Auto GG")
public class AutoGG extends Module {
    private TextValue ggMessage = new TextValue("GGMessage", "[QingRanSense] GG try to buy QingRanSense");
    private TextValue winMessage = new TextValue("WinMessage", "Winner");
    private BoolValue play = new BoolValue("AutoPlay",true);
    private BoolValue disable = new BoolValue("AutoDisable",true);
    private ListValue mode = new ListValue("Mode", new String[] {"BedWars_1v1", "BedWars_2v2", "BedWars_3v3","BedWars_4v4", "SkyWars_Solo", "SkyWars_Solo_Insane","SkyWars_Solo_LuckyBlock","SkyWars_Team","SkyWars_Team_Insane","SkyWars_Team_LuckyBlock","SurivialGames_Solo","SurivialGames_Team","MiniWalls"}, "SkyWars_Solo");
    private IntegerValue delay = new IntegerValue("Delay", 3, 0, 5);
    public static boolean winning = false;
    private TimerUtil timer = new TimerUtil();
    private Timer timer1 = new Timer();
    private double time = 0.0;
    public int win = 0;
    int a;

    @Override
    public String getTag() {
        return mode.get();
    }

    @EventTarget
    public void onPacket(PacketEvent packetEvent) {
        Packet&lt;?&gt; packet = packetEvent.getPacket();
        if(packet instanceof S02PacketChat) {
            if(((S02PacketChat) packet).getChatComponent().getUnformattedText().contains(winMessage.get())) {
                mc.thePlayer.sendChatMessage(ggMessage.get());
                winning = true;
                int delay1 = delay.get();
                if(disable.get()) {
                    LiquidBounce.moduleManager.getModule(KillAura.class).setState(false);
                    LiquidBounce.moduleManager.getModule(ChestStealer.class).setState(false);
                    LiquidBounce.moduleManager.getModule(InvManager.class).setState(false);
                    LiquidBounce.moduleManager.getModule(ChestAura.class).setState(false);
                    win += 1;
                    LiquidBounce.hud.addNotification(new Notification("Will Send You to Next Game", Notification.Type.SUCCESS, delay1 * 1000 - 500));
                }
                if(play.get()) {
                    this.timer1.schedule(new TimerTask() {
                        public void run() {
                            switch (mode.get()) {
                                case "BedWars_1v1":
                                    mc.thePlayer.sendChatMessage("/play bedwars_eight_one");
                                    break;
                                case "BedWars_2v2":
                                    mc.thePlayer.sendChatMessage("/play bedwars_eight_two");
                                    break;
                                case "BedWars_3v3":
                                    mc.thePlayer.sendChatMessage("/play bedwars_four_three");
                                    break;
                                case "BedWars_4v4":
                                    mc.thePlayer.sendChatMessage("/play bedwars_four_four");
                                    break;
                                case "SkyWars_Solo":
                                    mc.thePlayer.sendChatMessage("/play solo_normal");
                                    break;
                                case "SkyWars_Solo_Insane":
                                    mc.thePlayer.sendChatMessage("/play solo_insane");
                                    break;
                                case "SkyWars_Solo_LuckyBlock":
                                    mc.thePlayer.sendChatMessage("/play solo_insane_lucky");
                                    break;
                                case "SkyWars_Team":
                                    mc.thePlayer.sendChatMessage("/play teams_normal");
                                    break;
                                case "SkyWars_Team_Insane":
                                    mc.thePlayer.sendChatMessage("/play teams_insane");
                                    break;
                                case "SkyWars_Team_LuckyBlock":
                                    mc.thePlayer.sendChatMessage("/play teams_insane_lucky");
                                    break;
                                case "SurivialGames_Solo":
                                    mc.thePlayer.sendChatMessage("/play blitz_solo_normal");
                                    break;
                                case "SurivialGames_Team":
                                    mc.thePlayer.sendChatMessage("/play blitz_teams_normal");
                                    break;
                                case "MiniWalls":
                                    mc.thePlayer.sendChatMessage("/play arcade_mini_walls");
                                    break;
                            }
                            winning = false;
                        }
                    }, (delay.get().longValue() * 10) * 100);
                }
            }
        }
    }

    @Override
    public void onDisable() {
        a = -40;
        winning = false;
    }

    public int getWin(){
        return win;
    }

}
</code></pre>
<p dir="auto"><strong>And Add this in your LiquidBounce.kt</strong></p>
<pre><code>    var playTimeStart: Long = 0
</code></pre>
]]></description><link>https://forum.liquidbounce.net/topic/7238/i-made-a-simple-sessioninfo</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 06:12:42 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/7238.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Oct 2022 16:54:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to I Made A Simple SessionInfo on Sat, 22 Oct 2022 07:57:50 GMT]]></title><description><![CDATA[<p dir="auto">怎么把码字弄上去</p>
]]></description><link>https://forum.liquidbounce.net/post/36817</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/36817</guid><dc:creator><![CDATA[wdsjxj8451]]></dc:creator><pubDate>Sat, 22 Oct 2022 07:57:50 GMT</pubDate></item><item><title><![CDATA[Reply to I Made A Simple SessionInfo on Wed, 19 Oct 2022 11:04:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cookiechinese" aria-label="Profile: CookieChinese">@<bdi>CookieChinese</bdi></a> AutoGG Module来自于SpaceKing</p>
]]></description><link>https://forum.liquidbounce.net/post/36807</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/36807</guid><dc:creator><![CDATA[YounKoo]]></dc:creator><pubDate>Wed, 19 Oct 2022 11:04:51 GMT</pubDate></item><item><title><![CDATA[Reply to I Made A Simple SessionInfo on Wed, 19 Oct 2022 10:17:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/cookiechinese" aria-label="Profile: CookieChinese">@<bdi>CookieChinese</bdi></a> 好的</p>
]]></description><link>https://forum.liquidbounce.net/post/36802</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/36802</guid><dc:creator><![CDATA[YounKoo]]></dc:creator><pubDate>Wed, 19 Oct 2022 10:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to I Made A Simple SessionInfo on Wed, 19 Oct 2022 05:28:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/younkoo" aria-label="Profile: YounKoo">@<bdi>YounKoo</bdi></a> AutoGG抄码子抄的不错，下次别抄了</p>
]]></description><link>https://forum.liquidbounce.net/post/36801</link><guid isPermaLink="true">https://forum.liquidbounce.net/post/36801</guid><dc:creator><![CDATA[CookieChinese]]></dc:creator><pubDate>Wed, 19 Oct 2022 05:28:45 GMT</pubDate></item></channel></rss>