From 3c6c623481491c3fd45683dbcef8ea56868ad52d Mon Sep 17 00:00:00 2001 From: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:16:07 -0500 Subject: [PATCH 1/7] fixes --- .../api/examples/BorderApiExample.java | 2 +- docs/developers/events.mdx | 26 +++++++++---------- docs/developers/options.mdx | 6 ++--- docs/downloads.mdx | 2 +- docs/internals/protocol-buffers.mdx | 4 +-- docs/introduction.mdx | 4 +-- docs/server-owners/commands.mdx | 1 + docs/server-owners/config.mdx | 2 +- 8 files changed, 24 insertions(+), 23 deletions(-) diff --git a/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java b/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java index 1df60349..ced68f5a 100644 --- a/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java +++ b/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java @@ -48,7 +48,7 @@ public void displayBorderExample(Player viewer) { .cancelEntry(true) .cancelExit(true) .canShrinkOrExpand(false) - .color(Color.RED) + .color(Color.BLACK) .bounds(Cuboid2D.builder() .minX(-50) .minZ(-50) diff --git a/docs/developers/events.mdx b/docs/developers/events.mdx index 29da98b5..f577add6 100644 --- a/docs/developers/events.mdx +++ b/docs/developers/events.mdx @@ -11,7 +11,7 @@ Apollo provides its own listener based event system, similar to the existing eve
ApolloRegisterPlayerEvent -#### ApolloRegisterPlayerEvent +### ApolloRegisterPlayerEvent _Called when the player joins the server using Lunar Client._ @@ -24,7 +24,7 @@ _Called when the player joins the server using Lunar Client._
ApolloUnregisterPlayerEvent -#### ApolloUnregisterPlayerEvent +### ApolloUnregisterPlayerEvent _Called when the player leaves the server using Lunar Client._ @@ -37,7 +37,7 @@ _Called when the player leaves the server using Lunar Client._
ApolloPlayerHandshakeEvent -#### ApolloPlayerHandshakeEvent +### ApolloPlayerHandshakeEvent _Called when the client sends a PlayerHandshakeMessage._ @@ -52,7 +52,7 @@ _Called when the client sends a PlayerHandshakeMessage._
Minecraft Version Information -##### All `MinecraftVersion minecraftVersion` Versions +#### All `MinecraftVersion minecraftVersion` Versions - V1_7 - V1_8 @@ -85,7 +85,7 @@ _Called when the client sends a PlayerHandshakeMessage._
Lunar Client Version Information -##### How `LunarClientVersion lunarClientVersion` Works +#### How `lunarClientVersion` Works This returns all the attributes about the version of Lunar Client the player is using. @@ -100,7 +100,7 @@ This returns all the attributes about the version of Lunar Client the player is
LunarClientMod (Installed Mods) Information -##### How `List installedMods` Works +#### How `installedMods` Works This returns a list of each mod, and its respective attributes. @@ -129,7 +129,7 @@ This returns a list of each mod, and its respective attributes.
ApolloReceivePacketEvent -#### ApolloReceivePacketEvent +### ApolloReceivePacketEvent _Called when the Apollo player receives an Apollo packet from Lunar Client._ @@ -143,7 +143,7 @@ _Called when the Apollo player receives an Apollo packet from Lunar Client._
ApolloSendPacketEvent -#### ApolloSendPacketEvent +### ApolloSendPacketEvent _Called when the Apollo player sends an Apollo packet to Lunar Client._ @@ -159,7 +159,7 @@ _Called when the Apollo player sends an Apollo packet to Lunar Client._
ApolloUpdateOptionEvent -#### ApolloUpdateOptionEvent +### ApolloUpdateOptionEvent _Called when an option is updated._ @@ -177,7 +177,7 @@ _Called when an option is updated._
ApolloPlayerChatCloseEvent -#### ApolloPlayerChatCloseEvent +### ApolloPlayerChatCloseEvent _Called when the player closes their chat._ @@ -191,7 +191,7 @@ _Called when the player closes their chat._
ApolloPlayerChatOpenEvent -#### ApolloPlayerChatOpenEvent +### ApolloPlayerChatOpenEvent _Called when the player opens their chat._ @@ -205,7 +205,7 @@ _Called when the player opens their chat._
ApolloPlayerAttackEvent -#### ApolloPlayerAttackEvent +### ApolloPlayerAttackEvent _Called when the player attacks another player._ @@ -221,7 +221,7 @@ _Called when the player attacks another player._
ApolloPlayerUseItemEvent -#### ApolloPlayerUseItemEvent +### ApolloPlayerUseItemEvent _Called when the player uses an item (1.16.1+)._ diff --git a/docs/developers/options.mdx b/docs/developers/options.mdx index cc73e9b1..bdd38300 100644 --- a/docs/developers/options.mdx +++ b/docs/developers/options.mdx @@ -3,8 +3,8 @@ Options are used by the Apollo modules to manage any settings they may have to use on the server or send to the client. Many options set by the modules can be modified from the configuration, which will be generated when you start Apollo for the first time. -Alongside changing options globally, options can be modified to only effect a specific player. This can be useful for setting a unique list of waypoints the player can see when they join for example. -While a specific player has an option set on them, it will ignore any changes made to the options global value. You can remove the option from the specific player to make them use the global value again. +Alongside changing options globally, options can be modified to only effect a specific player. This can be useful for setting a unique list of waypoints the player can see when they join, for example. +While a specific player has an option set on them, it will ignore any changes made to the option's global value. You can remove the option from the specific player to make them use the global value again. ## Integration @@ -19,7 +19,7 @@ public void setTntCountdownOptionExample(Player viewer) { ``` ### Options Methods -`.get(Option)` retrives the global value of the option, or the options default value if it was not set. +`.get(Option)` retrieves the global value of the option, or the options default value if it was not set. ```java .get(TntCountdownModule.TNT_TICKS) diff --git a/docs/downloads.mdx b/docs/downloads.mdx index b80f6218..31b6bd98 100644 --- a/docs/downloads.mdx +++ b/docs/downloads.mdx @@ -8,7 +8,7 @@ import router from "next/router"; - Below you can download the latest release of Apollo for Bukkit, BungeeCord and Velocity. + Below you can download the latest release of Apollo for Bukkit, BungeeCord, and Velocity. Need just the essentials? [Lightweight](/apollo/developers/lightweight/introduction) allows you to use Apollo features without the full plugin! -### Useful Links +## Useful Links 🔗 [Lunar Client Website](https://www.lunarclient.com/)
🔗 [Lunar Client Developers Discord](https://discord.gg/3T9Atyb6pf)
diff --git a/docs/server-owners/commands.mdx b/docs/server-owners/commands.mdx index 68977aa2..0ef14e28 100644 --- a/docs/server-owners/commands.mdx +++ b/docs/server-owners/commands.mdx @@ -18,6 +18,7 @@ Apollo comes with some built-in commands to make your life easier. * Description: Forcefully updates Apollo to the latest version. * Permission: `apollo.command` +## LunarClient Command * `/lunarclient ` * Description: The command to check whether the player is using Lunar Client. diff --git a/docs/server-owners/config.mdx b/docs/server-owners/config.mdx index 833c6093..4fdd7459 100644 --- a/docs/server-owners/config.mdx +++ b/docs/server-owners/config.mdx @@ -14,7 +14,7 @@ The settings in the `mods.yml` will override the mod options for players on Luna ## Mod Configuration Example - The following example is not a complete list of mod settings or guaranteed to be up to date. + The following example is not a complete list of mod settings or guaranteed to be up-to-date. You should refer to the mods documentation ([example](/apollo/developers/mods/2ditems)) for the latest mod settings. From e1491bfc246be4685d1a290a371621e8b06b130b Mon Sep 17 00:00:00 2001 From: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:19:22 -0500 Subject: [PATCH 2/7] remove unnecessary headers --- docs/developers/events.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/developers/events.mdx b/docs/developers/events.mdx index f577add6..860343cd 100644 --- a/docs/developers/events.mdx +++ b/docs/developers/events.mdx @@ -52,7 +52,7 @@ _Called when the client sends a PlayerHandshakeMessage._
Minecraft Version Information -#### All `MinecraftVersion minecraftVersion` Versions +**All `MinecraftVersion minecraftVersion` Versions** - V1_7 - V1_8 @@ -85,7 +85,7 @@ _Called when the client sends a PlayerHandshakeMessage._
Lunar Client Version Information -#### How `lunarClientVersion` Works +**How `lunarClientVersion` Works** This returns all the attributes about the version of Lunar Client the player is using. @@ -100,7 +100,7 @@ This returns all the attributes about the version of Lunar Client the player is
LunarClientMod (Installed Mods) Information -#### How `installedMods` Works +**How `installedMods` Works** This returns a list of each mod, and its respective attributes. From 8db73240221f238c8e64f77f06e197c3341fb96a Mon Sep 17 00:00:00 2001 From: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:26:27 -0500 Subject: [PATCH 3/7] remove unnecessary headers from beam module --- docs/developers/modules/beam.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/developers/modules/beam.mdx b/docs/developers/modules/beam.mdx index 75a4e4c8..709fc57c 100644 --- a/docs/developers/modules/beam.mdx +++ b/docs/developers/modules/beam.mdx @@ -129,7 +129,7 @@ Custom colors can be created from any RGB values using `new Color(int red, int g -### Displaying a Beam +**Displaying a Beam** ```java public void displayBeamExample(Player viewer) { @@ -143,7 +143,7 @@ public void displayBeamExample(Player viewer) { } ``` -### Removing a Beam +**Removing a Beam** ```java public void removeBeamExample(Player viewer) { @@ -155,7 +155,7 @@ public void removeBeamExample(Player viewer) { } ``` -### Resetting all Beams +**Resetting all Beams** ```java public void resetBeamsExample(Player viewer) { @@ -168,7 +168,7 @@ public void resetBeamsExample(Player viewer) { -### Displaying a Beam +**Displaying a Beam** ```java public void displayBeamExample(Player viewer) { @@ -184,7 +184,7 @@ public void displayBeamExample(Player viewer) { } ``` -### Removing a Beam +**Removing a Beam** ```java public void removeBeamExample(Player viewer) { @@ -196,7 +196,7 @@ public void removeBeamExample(Player viewer) { } ``` -### Resetting all Beams +**Resetting all Beams** ```java public void resetBeamsExample(Player viewer) { From 6cddfd4f7eff604fb991b16f8480ed5af60fd600 Mon Sep 17 00:00:00 2001 From: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:51:42 -0500 Subject: [PATCH 4/7] remove unnecessary headers --- docs/developers/modules/border.mdx | 12 ++++++------ docs/developers/modules/chat.mdx | 8 ++++---- docs/developers/modules/coloredfire.mdx | 12 ++++++------ docs/developers/modules/cooldown.mdx | 16 ++++++++-------- docs/developers/modules/entity.mdx | 16 ++++++++-------- docs/developers/modules/glow.mdx | 12 ++++++------ docs/developers/modules/hologram.mdx | 12 ++++++------ docs/developers/modules/limb.mdx | 16 ++++++++-------- docs/developers/modules/modsetting.mdx | 12 ++++++------ docs/developers/modules/nametag.mdx | 12 ++++++------ docs/developers/modules/nickhider.mdx | 8 ++++---- docs/developers/modules/notification.mdx | 8 ++++---- docs/developers/modules/richpresence.mdx | 8 ++++---- docs/developers/modules/serverrule.mdx | 12 ++++++------ docs/developers/modules/staffmod.mdx | 6 +++--- docs/developers/modules/stopwatch.mdx | 12 ++++++------ docs/developers/modules/title.mdx | 12 ++++++------ docs/developers/modules/tntcountdown.mdx | 18 +++++++++--------- docs/developers/modules/transfer.mdx | 8 ++++---- docs/developers/modules/vignette.mdx | 8 ++++---- docs/developers/modules/waypoint.mdx | 12 ++++++------ 21 files changed, 120 insertions(+), 120 deletions(-) diff --git a/docs/developers/modules/border.mdx b/docs/developers/modules/border.mdx index 98f70da1..84b9dc6b 100644 --- a/docs/developers/modules/border.mdx +++ b/docs/developers/modules/border.mdx @@ -157,7 +157,7 @@ Custom colors can be created from any RGB values using `new Color(int red, int g -### Displaying a Border +**Displaying a Border** ```java public void displayBorderExample(Player viewer) { @@ -176,7 +176,7 @@ public void displayBorderExample(Player viewer) { } ``` -### Removing a Border +**Removing a Border** ```java public void removeBorderExample(Player viewer) { @@ -188,7 +188,7 @@ public void removeBorderExample(Player viewer) { } ``` -### Resetting all Borders +**Resetting all Borders** ```java public void resetBordersExample(Player viewer) { @@ -201,7 +201,7 @@ public void resetBordersExample(Player viewer) { -### Displaying a Border +**Displaying a Border** ```java public void displayBorderExample(Player viewer) { @@ -220,7 +220,7 @@ public void displayBorderExample(Player viewer) { } ``` -### Removing a Border +**Removing a Border** ```java public void removeBorderExample(Player viewer) { @@ -232,7 +232,7 @@ public void removeBorderExample(Player viewer) { } ``` -### Resetting all Borders +**Resetting all Borders** ```java public void resetBordersExample(Player viewer) { diff --git a/docs/developers/modules/chat.mdx b/docs/developers/modules/chat.mdx index b73d70c4..74bf0db2 100644 --- a/docs/developers/modules/chat.mdx +++ b/docs/developers/modules/chat.mdx @@ -54,7 +54,7 @@ public void removeLiveChatMessageExample() { -### Displaying a Live Chat Message +**Displaying a Live Chat Message** ```java private int countdown = 5; @@ -76,7 +76,7 @@ public void displayLiveChatMessageExample() { } ``` -### Removing a Live Chat Message +**Removing a Live Chat Message** ```java public void removeLiveChatMessageExample() { @@ -92,7 +92,7 @@ public void removeLiveChatMessageExample() { -### Displaying a Live Chat Message +**Displaying a Live Chat Message** ```java private int countdown = 5; @@ -114,7 +114,7 @@ public void displayLiveChatMessageExample() { } ``` -### Removing a Live Chat Message +**Removing a Live Chat Message** ```java public void removeLiveChatMessageExample() { diff --git a/docs/developers/modules/coloredfire.mdx b/docs/developers/modules/coloredfire.mdx index 5a70cbaf..1db9444c 100644 --- a/docs/developers/modules/coloredfire.mdx +++ b/docs/developers/modules/coloredfire.mdx @@ -62,7 +62,7 @@ public void resetColoredFiresExample(Player viewer) { -### Override a Fire Color +**Override a Fire Color** ```java public void overrideColoredFireExample(UUID burningPlayer) { @@ -75,7 +75,7 @@ public void overrideColoredFireExample(UUID burningPlayer) { } ``` -### Removing a Fire Color +**Removing a Fire Color** ```java public void resetColoredFireExample(UUID burningPlayer) { @@ -87,7 +87,7 @@ public void resetColoredFireExample(UUID burningPlayer) { } ``` -### Resetting all Fire Colors +**Resetting all Fire Colors** ```java public void resetColoredFiresExample(Player viewer) { @@ -100,7 +100,7 @@ public void resetColoredFiresExample(Player viewer) { -### Override a Fire Color +**Override a Fire Color** ```java public void overrideColoredFireExample(UUID burningPlayer) { @@ -113,7 +113,7 @@ public void overrideColoredFireExample(UUID burningPlayer) { } ``` -### Removing a Fire Color +**Removing a Fire Color** ```java public void resetColoredFireExample(UUID burningPlayer) { @@ -125,7 +125,7 @@ public void resetColoredFireExample(UUID burningPlayer) { } ``` -### Resetting all Fire Colors +**Resetting all Fire Colors** ```java public void resetColoredFiresExample(Player viewer) { diff --git a/docs/developers/modules/cooldown.mdx b/docs/developers/modules/cooldown.mdx index e0bf5edc..3567967e 100644 --- a/docs/developers/modules/cooldown.mdx +++ b/docs/developers/modules/cooldown.mdx @@ -114,7 +114,7 @@ public void resetCooldownsExample(Player viewer) { -### Displaying a Cooldown with an item +**Displaying a Cooldown with an item** ```java public void displayCooldownItemExample(Player viewer) { @@ -128,7 +128,7 @@ public void displayCooldownItemExample(Player viewer) { } ``` -### Displaying a Cooldown with a resource +**Displaying a Cooldown with a resource** ```java public void displayCooldownResourceExample(Player viewer) { @@ -142,7 +142,7 @@ public void displayCooldownResourceExample(Player viewer) { } ``` -### Removing a Cooldown +**Removing a Cooldown** ```java public void removeCooldownExample(Player viewer) { @@ -154,7 +154,7 @@ public void removeCooldownExample(Player viewer) { } ``` -### Resetting all Cooldowns +**Resetting all Cooldowns** ```java public void resetCooldownsExample(Player viewer) { @@ -167,7 +167,7 @@ public void resetCooldownsExample(Player viewer) { -### Displaying a Cooldown with an item +**Displaying a Cooldown with an item** ```java public void displayCooldownItemExample(Player viewer) { @@ -181,7 +181,7 @@ public void displayCooldownItemExample(Player viewer) { } ``` -### Displaying a Cooldown with a resource +**Displaying a Cooldown with a resource** ```java public void displayCooldownResourceExample(Player viewer) { @@ -195,7 +195,7 @@ public void displayCooldownResourceExample(Player viewer) { } ``` -### Removing a Cooldown +**Removing a Cooldown** ```java public void removeCooldownExample(Player viewer) { @@ -207,7 +207,7 @@ public void removeCooldownExample(Player viewer) { } ``` -### Resetting all Cooldowns +**Resetting all Cooldowns** ```java public void resetCooldownsExample(Player viewer) { diff --git a/docs/developers/modules/entity.mdx b/docs/developers/modules/entity.mdx index 6ca479ba..0bbeaff1 100644 --- a/docs/developers/modules/entity.mdx +++ b/docs/developers/modules/entity.mdx @@ -100,7 +100,7 @@ public void resetFlippedEntityExample(Player viewer) { -### Override Sheep rainbow state +**Override Sheep rainbow state** ```java public void overrideRainbowSheepExample(Player viewer) { @@ -116,7 +116,7 @@ public void overrideRainbowSheepExample(Player viewer) { } ``` -### Reset Sheep rainbow state +**Reset Sheep rainbow state** ```java public void resetRainbowSheepExample(Player viewer) { @@ -132,7 +132,7 @@ public void resetRainbowSheepExample(Player viewer) { } ``` -### Override Entity flip state +**Override Entity flip state** ```java public void flipEntityExample(Player viewer) { @@ -150,7 +150,7 @@ public void flipEntityExample(Player viewer) { } ``` -### Reset Entity flip state +**Reset Entity flip state** ```java public void resetFlippedEntityExample(Player viewer) { @@ -172,7 +172,7 @@ public void resetFlippedEntityExample(Player viewer) { -### Override Sheep rainbow state +**Override Sheep rainbow state** ```java public void overrideRainbowSheepExample(Player viewer) { @@ -188,7 +188,7 @@ public void overrideRainbowSheepExample(Player viewer) { } ``` -### Reset Sheep rainbow state +**Reset Sheep rainbow state** ```java public void resetRainbowSheepExample(Player viewer) { @@ -204,7 +204,7 @@ public void resetRainbowSheepExample(Player viewer) { } ``` -### Override Entity flip state +**Override Entity flip state** ```java public void flipEntityExample(Player viewer) { @@ -222,7 +222,7 @@ public void flipEntityExample(Player viewer) { } ``` -### Reset Entity flip state +**Reset Entity flip state** ```java public void resetFlippedEntityExample(Player viewer) { diff --git a/docs/developers/modules/glow.mdx b/docs/developers/modules/glow.mdx index 38952b2d..7138bc39 100644 --- a/docs/developers/modules/glow.mdx +++ b/docs/developers/modules/glow.mdx @@ -66,7 +66,7 @@ public void resetGlowEffectsExample(Player viewer) { -### Override a Glow Effect +**Override a Glow Effect** ```java public void overrideGlowEffectExample(UUID glowingPlayer) { @@ -79,7 +79,7 @@ public void overrideGlowEffectExample(UUID glowingPlayer) { } ``` -### Removing a Glow Effect +**Removing a Glow Effect** ```java public void resetGlowEffectExample(UUID glowingPlayer) { @@ -91,7 +91,7 @@ public void resetGlowEffectExample(UUID glowingPlayer) { } ``` -### Resetting all Glow Effects +**Resetting all Glow Effects** ```java public void resetGlowEffectsExample(Player viewer) { @@ -104,7 +104,7 @@ public void resetGlowEffectsExample(Player viewer) { -### Override a Glow Effect +**Override a Glow Effect** ```java public void overrideGlowEffectExample(UUID glowingPlayer) { @@ -117,7 +117,7 @@ public void overrideGlowEffectExample(UUID glowingPlayer) { } ``` -### Removing a Glow Effect +**Removing a Glow Effect** ```java public void resetGlowEffectExample(UUID glowingPlayer) { @@ -129,7 +129,7 @@ public void resetGlowEffectExample(UUID glowingPlayer) { } ``` -### Resetting all Glow Effects +**Resetting all Glow Effects** ```java public void resetGlowEffectsExample(Player viewer) { diff --git a/docs/developers/modules/hologram.mdx b/docs/developers/modules/hologram.mdx index 36259a35..5cc88206 100644 --- a/docs/developers/modules/hologram.mdx +++ b/docs/developers/modules/hologram.mdx @@ -125,7 +125,7 @@ public void resetHologramsExample(Player viewer) { -### Displaying a Hologram +**Displaying a Hologram** ```java public void displayHologramExample() { @@ -157,7 +157,7 @@ public void displayHologramExample() { } ``` -### Removing a Hologram +**Removing a Hologram** ```java public void removeHologramExample() { @@ -169,7 +169,7 @@ public void removeHologramExample() { } ``` -### Resetting all Holograms +**Resetting all Holograms** ```java public void resetHologramsExample(Player viewer) { @@ -182,7 +182,7 @@ public void resetHologramsExample(Player viewer) { -### Displaying a Hologram +**Displaying a Hologram** ```java public void displayHologramExample() { @@ -213,7 +213,7 @@ public void displayHologramExample() { } ``` -### Removing a Hologram +**Removing a Hologram** ```java public void removeHologramExample() { @@ -225,7 +225,7 @@ public void removeHologramExample() { } ``` -### Resetting all Holograms +**Resetting all Holograms** ```java public void resetHologramsExample(Player viewer) { diff --git a/docs/developers/modules/limb.mdx b/docs/developers/modules/limb.mdx index a05d10c4..93afc8e9 100644 --- a/docs/developers/modules/limb.mdx +++ b/docs/developers/modules/limb.mdx @@ -122,7 +122,7 @@ public void resetBodyExample(Player viewer, Player target) { -### Hide Armor Pieces +**Hide Armor Pieces** ```java public void hideArmorExample(Player viewer, Player target) { @@ -135,7 +135,7 @@ public void hideArmorExample(Player viewer, Player target) { } ``` -### Reset Armor Pieces +**Reset Armor Pieces** ```java public void resetArmorExample(Player viewer, Player target) { @@ -148,7 +148,7 @@ public void resetArmorExample(Player viewer, Player target) { } ``` -### Hide Body Parts +**Hide Body Parts** ```java public void hideBodyExample(Player viewer, Player target) { @@ -161,7 +161,7 @@ public void hideBodyExample(Player viewer, Player target) { } ``` -### Reset Body Parts +**Reset Body Parts** ```java public void resetBodyExample(Player viewer, Player target) { @@ -178,7 +178,7 @@ public void resetBodyExample(Player viewer, Player target) { -### Hide Armor Pieces +**Hide Armor Pieces** ```java public void hideArmorExample(Player viewer, Player target) { @@ -196,7 +196,7 @@ public void hideArmorExample(Player viewer, Player target) { } ``` -### Reset Armor Pieces +**Reset Armor Pieces** ```java public void resetArmorExample(Player viewer, Player target) { @@ -214,7 +214,7 @@ public void resetArmorExample(Player viewer, Player target) { } ``` -### Hide Body Parts +**Hide Body Parts** ```java public void hideBodyExample(Player viewer, Player target) { @@ -232,7 +232,7 @@ public void hideBodyExample(Player viewer, Player target) { } ``` -### Reset Body Parts +**Reset Body Parts** ```java public void resetBodyExample(Player viewer, Player target) { diff --git a/docs/developers/modules/modsetting.mdx b/docs/developers/modules/modsetting.mdx index 7afb5de3..d20f98fe 100644 --- a/docs/developers/modules/modsetting.mdx +++ b/docs/developers/modules/modsetting.mdx @@ -59,7 +59,7 @@ public void broadcastDisableLightingModExample(Player viewer) { -### Disable Lighting Mod +**Disable Lighting Mod** ```java public void disableLightingModExample(Player viewer) { @@ -71,7 +71,7 @@ public void disableLightingModExample(Player viewer) { } ``` -### Reset Lighting Mod to it's default value +**Reset Lighting Mod to it's default value** ```java public void rollbackLightingModEnabledState(Player viewer) { @@ -84,7 +84,7 @@ public void rollbackLightingModEnabledState(Player viewer) { } ``` -### Broadcast Disable Lighting Mod the an entire server +**Broadcast Disable Lighting Mod the an entire server** ```java public void broadcastDisableLightingModExample() { @@ -100,7 +100,7 @@ public void broadcastDisableLightingModExample() { -### Disable Lighting Mod +**Disable Lighting Mod** ```java public void disableLightingModExample(Player viewer) { @@ -112,7 +112,7 @@ public void disableLightingModExample(Player viewer) { } ``` -### Reset Lighting Mod to it's default value +**Reset Lighting Mod to it's default value** ```java public void rollbackLightingModEnabledState(Player viewer) { @@ -125,7 +125,7 @@ public void rollbackLightingModEnabledState(Player viewer) { } ``` -### Broadcast Disable Lighting Mod the an entire server +**Broadcast Disable Lighting Mod the an entire server** ```java public void broadcastDisableLightingModExample() { diff --git a/docs/developers/modules/nametag.mdx b/docs/developers/modules/nametag.mdx index bace711d..58451baa 100644 --- a/docs/developers/modules/nametag.mdx +++ b/docs/developers/modules/nametag.mdx @@ -101,7 +101,7 @@ public void resetNametagsExample(Player viewer) { -### Override a Nametag +**Override a Nametag** ```java public void overrideNametagExample(Player target) { @@ -128,7 +128,7 @@ public void overrideNametagExample(Player target) { } ``` -### Reset a Nametag +**Reset a Nametag** ```java public void resetNametagExample(Player target) { @@ -140,7 +140,7 @@ public void resetNametagExample(Player target) { } ``` -### Resetting all Nametags +**Resetting all Nametags** ```java public void resetNametagsExample(Player viewer) { @@ -153,7 +153,7 @@ public void resetNametagsExample(Player viewer) { -### Override a Nametag +**Override a Nametag** ```java public void overrideNametagExample(Player target) { @@ -180,7 +180,7 @@ public void overrideNametagExample(Player target) { } ``` -### Reset a Nametag +**Reset a Nametag** ```java public void resetNametagExample(Player target) { @@ -192,7 +192,7 @@ public void resetNametagExample(Player target) { } ``` -### Resetting all Nametags +**Resetting all Nametags** ```java public void resetNametagsExample(Player viewer) { diff --git a/docs/developers/modules/nickhider.mdx b/docs/developers/modules/nickhider.mdx index 4122158b..3b0cbe7c 100644 --- a/docs/developers/modules/nickhider.mdx +++ b/docs/developers/modules/nickhider.mdx @@ -39,7 +39,7 @@ public void resetNickExample(Player viewer) { -### Override a Nick +**Override a Nick** ```java public void overrideNickExample(Player viewer) { @@ -51,7 +51,7 @@ public void overrideNickExample(Player viewer) { } ``` -### Reset a Nick +**Reset a Nick** ```java public void resetNickExample(Player viewer) { @@ -64,7 +64,7 @@ public void resetNickExample(Player viewer) { -### Override a Nick +**Override a Nick** ```java public void overrideNickExample(Player viewer) { @@ -76,7 +76,7 @@ public void overrideNickExample(Player viewer) { } ``` -### Reset a Nick +**Reset a Nick** ```java public void resetNickExample(Player viewer) { diff --git a/docs/developers/modules/notification.mdx b/docs/developers/modules/notification.mdx index 81ed896d..ad3dface 100644 --- a/docs/developers/modules/notification.mdx +++ b/docs/developers/modules/notification.mdx @@ -109,7 +109,7 @@ If this field is left empty (null) it'll display a generic info icon, as display -### Displaying a Notification +**Displaying a Notification** ```java public void displayNotificationExample(Player viewer) { @@ -133,7 +133,7 @@ public void displayNotificationExample(Player viewer) { } ``` -### Resetting all Notifications +**Resetting all Notifications** ```java public void resetNotificationsExample(Player viewer) { @@ -146,7 +146,7 @@ public void resetNotificationsExample(Player viewer) { -### Displaying a Notification +**Displaying a Notification** ```java public void displayNotificationExample(Player viewer) { @@ -170,7 +170,7 @@ public void displayNotificationExample(Player viewer) { } ``` -### Resetting all Notifications +**Resetting all Notifications** ```java public void resetNotificationsExample(Player viewer) { diff --git a/docs/developers/modules/richpresence.mdx b/docs/developers/modules/richpresence.mdx index a144b6a7..51fecbff 100644 --- a/docs/developers/modules/richpresence.mdx +++ b/docs/developers/modules/richpresence.mdx @@ -120,7 +120,7 @@ public void resetServerRichPresenceExample(Player viewer) { -### Override Rich Presence +**Override Rich Presence** ```java public void overrideServerRichPresenceExample(Player viewer) { @@ -139,7 +139,7 @@ public void overrideServerRichPresenceExample(Player viewer) { } ``` -### Reset Rich Presence +**Reset Rich Presence** ```java public void resetServerRichPresenceExample(Player viewer) { @@ -152,7 +152,7 @@ public void resetServerRichPresenceExample(Player viewer) { -### Override Rich Presence +**Override Rich Presence** ```java public void overrideServerRichPresenceExample(Player viewer) { @@ -171,7 +171,7 @@ public void overrideServerRichPresenceExample(Player viewer) { } ``` -### Reset Rich Presence +**Reset Rich Presence** ```java public void resetServerRichPresenceExample(Player viewer) { diff --git a/docs/developers/modules/serverrule.mdx b/docs/developers/modules/serverrule.mdx index 7f1d6143..fb4e8fd0 100644 --- a/docs/developers/modules/serverrule.mdx +++ b/docs/developers/modules/serverrule.mdx @@ -56,7 +56,7 @@ public void setNametagRenderDistanceExample(int value) { -### Toggle Anti Portal Traps +**Toggle Anti Portal Traps** ```java public void setAntiPortalTraps(boolean value) { @@ -68,7 +68,7 @@ public void setAntiPortalTraps(boolean value) { } ``` -### Override Nametag Render Distance +**Override Nametag Render Distance** ```java public void setOverrideNametagRenderDistance(Player viewer, boolean value) { @@ -80,7 +80,7 @@ public void setOverrideNametagRenderDistance(Player viewer, boolean value) { } ``` -### Broadcast Nametag Render Distance +**Broadcast Nametag Render Distance** ```java public void setNametagRenderDistanceExample(int value) { @@ -96,7 +96,7 @@ public void setNametagRenderDistanceExample(int value) { -### Toggle Anti Portal Traps +**Toggle Anti Portal Traps** ```java public void setAntiPortalTraps(boolean value) { @@ -108,7 +108,7 @@ public void setAntiPortalTraps(boolean value) { } ``` -### Override Nametag Render Distance +**Override Nametag Render Distance** ```java public void setOverrideNametagRenderDistance(Player viewer, boolean value) { @@ -120,7 +120,7 @@ public void setOverrideNametagRenderDistance(Player viewer, boolean value) { } ``` -### Broadcast Nametag Render Distance +**Broadcast Nametag Render Distance** ```java public void setNametagRenderDistanceExample(int value) { diff --git a/docs/developers/modules/staffmod.mdx b/docs/developers/modules/staffmod.mdx index 1be7c8af..73f1bad9 100644 --- a/docs/developers/modules/staffmod.mdx +++ b/docs/developers/modules/staffmod.mdx @@ -77,7 +77,7 @@ public void enableStaffModsExample(Player viewer) { } ``` -### Disable Staff Mods +**Disable Staff Mods** ```java public void disableStaffModsExample(Player viewer) { @@ -93,7 +93,7 @@ public void disableStaffModsExample(Player viewer) { -### Enable Staff Mods +**Enable Staff Mods** ```java public void enableStaffModsExample(Player viewer) { @@ -114,7 +114,7 @@ public void enableStaffModsExample(Player viewer) { } ``` -### Disable Staff Mods +**Disable Staff Mods** ```java public void disableStaffModsExample(Player viewer) { diff --git a/docs/developers/modules/stopwatch.mdx b/docs/developers/modules/stopwatch.mdx index 9412318b..e3528e25 100644 --- a/docs/developers/modules/stopwatch.mdx +++ b/docs/developers/modules/stopwatch.mdx @@ -57,7 +57,7 @@ public void resetStopwatchExample(Player viewer) { -### Start Stopwatch +**Start Stopwatch** ```java public void startStopwatchExample(Player viewer) { @@ -66,7 +66,7 @@ public void startStopwatchExample(Player viewer) { } ``` -### Stop Stopwatch +**Stop Stopwatch** ```java public void stopStopwatchExample(Player viewer) { @@ -75,7 +75,7 @@ public void stopStopwatchExample(Player viewer) { } ``` -### Reset Stopwatch +**Reset Stopwatch** ```java public void resetStopwatchExample(Player viewer) { @@ -88,7 +88,7 @@ public void resetStopwatchExample(Player viewer) { -### Start Stopwatch +**Start Stopwatch** ```java public void startStopwatchExample(Player viewer) { @@ -99,7 +99,7 @@ public void startStopwatchExample(Player viewer) { } ``` -### Stop Stopwatch +**Stop Stopwatch** ```java public void stopStopwatchExample(Player viewer) { @@ -110,7 +110,7 @@ public void stopStopwatchExample(Player viewer) { } ``` -### Reset Stopwatch +**Reset Stopwatch** ```java public void resetStopwatchExample(Player viewer) { diff --git a/docs/developers/modules/title.mdx b/docs/developers/modules/title.mdx index 21209901..78649ac8 100644 --- a/docs/developers/modules/title.mdx +++ b/docs/developers/modules/title.mdx @@ -133,7 +133,7 @@ public void resetTitlesExample(Player viewer) { -### Displaying a Title +**Displaying a Title** ```java public void displayTitleExample(Player viewer) { @@ -156,7 +156,7 @@ public void displayTitleExample(Player viewer) { } ``` -### Displaying a Interpolated Title +**Displaying a Interpolated Title** ```java public void displayTitleInterpolatedExample(Player viewer) { @@ -181,7 +181,7 @@ public void displayTitleInterpolatedExample(Player viewer) { } ``` -### Resetting all Titles +**Resetting all Titles** ```java public void resetTitlesExample(Player viewer) { @@ -194,7 +194,7 @@ public void resetTitlesExample(Player viewer) { -### Displaying a Title +**Displaying a Title** ```java public void displayTitleExample(Player viewer) { @@ -217,7 +217,7 @@ public void displayTitleExample(Player viewer) { } ``` -### Displaying a Interpolated Title +**Displaying a Interpolated Title** ```java public void displayTitleInterpolatedExample(Player viewer) { @@ -242,7 +242,7 @@ public void displayTitleInterpolatedExample(Player viewer) { } ``` -### Resetting all Titles +**Resetting all Titles** ```java public void resetTitlesExample(Player viewer) { diff --git a/docs/developers/modules/tntcountdown.mdx b/docs/developers/modules/tntcountdown.mdx index 18a2f598..ec36f708 100644 --- a/docs/developers/modules/tntcountdown.mdx +++ b/docs/developers/modules/tntcountdown.mdx @@ -66,7 +66,7 @@ public void clearTntCountdownOptionExample() { -### Set TNT Countdown Ticks Option +**Set TNT Countdown Ticks Option** ```java public void setTntCountdownExample() { @@ -78,7 +78,7 @@ public void setTntCountdownExample() { } ``` -### Spawn TNT with Custom Tick amount +**Spawn TNT with Custom Tick amount** ```java private static Method entityGetter; @@ -127,7 +127,7 @@ public void overrideTntCountdownExample(Player viewer) { } ``` -### Reset TNT Countdown Ticks Options +**Reset TNT Countdown Ticks Options** ```java public void clearTntCountdownOptionExample() { @@ -139,7 +139,7 @@ public void clearTntCountdownOptionExample() { } ``` -### Modify Fuse Ticks on TNT Spawn +**Modify Fuse Ticks on TNT Spawn** ```java @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) @@ -173,7 +173,7 @@ private void onTntSpawn(EntitySpawnEvent event) { -### Create TNT Countdown Message +**Create TNT Countdown Message** ```java private JsonObject createTNTCountdownMessage(Entity entity, int ticks) { @@ -185,7 +185,7 @@ private JsonObject createTNTCountdownMessage(Entity entity, int ticks) { } ``` -### Set TNT Countdown Ticks Option +**Set TNT Countdown Ticks Option** ```java public void setTntCountdownExample() { @@ -197,7 +197,7 @@ public void setTntCountdownExample() { } ``` -### Spawn TNT with Custom Tick amount +**Spawn TNT with Custom Tick amount** ```java private static Method entityGetter; @@ -241,7 +241,7 @@ public void overrideTntCountdownExample(Player viewer) { } ``` -### Reset TNT Countdown Ticks Options +**Reset TNT Countdown Ticks Options** ```java public void clearTntCountdownOptionExample() { @@ -253,7 +253,7 @@ public void clearTntCountdownOptionExample() { } ``` -### Modify Fuse Ticks on TNT Spawn +**Modify Fuse Ticks on TNT Spawn** ```java @EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true) diff --git a/docs/developers/modules/transfer.mdx b/docs/developers/modules/transfer.mdx index 088a5602..8a279dd6 100644 --- a/docs/developers/modules/transfer.mdx +++ b/docs/developers/modules/transfer.mdx @@ -162,7 +162,7 @@ public void pingExample(Player viewer) { -### Transfer Player +**Transfer Player** ```java public void transferExample(Player player) { @@ -198,7 +198,7 @@ public void transferExample(Player player) { } ``` -### Ping Servers +**Ping Servers** You can provide up to `10` different addresses per ping packet. @@ -250,7 +250,7 @@ public void pingExample(Player player) { This example is not implemented. -### Transfer Player +**Transfer Player** ```java public void transferExample(Player player) { @@ -258,7 +258,7 @@ public void transferExample(Player player) { } ``` -### Ping Servers +**Ping Servers** ```java public void pingExample(Player player) { diff --git a/docs/developers/modules/vignette.mdx b/docs/developers/modules/vignette.mdx index 3a0db638..cda4e17b 100644 --- a/docs/developers/modules/vignette.mdx +++ b/docs/developers/modules/vignette.mdx @@ -60,7 +60,7 @@ public void resetVignetteExample(Player viewer) { -### Display Vignette +**Display Vignette** ```java public void displayVignetteExample(Player viewer) { @@ -73,7 +73,7 @@ public void displayVignetteExample(Player viewer) { } ``` -### Reset Vignette +**Reset Vignette** ```java public void resetVignetteExample(Player viewer) { @@ -86,7 +86,7 @@ public void resetVignetteExample(Player viewer) { -### Display Vignette +**Display Vignette** ```java public void displayVignetteExample(Player viewer) { @@ -99,7 +99,7 @@ public void displayVignetteExample(Player viewer) { } ``` -### Reset Vignette +**Reset Vignette** ```java public void resetVignetteExample(Player viewer) { diff --git a/docs/developers/modules/waypoint.mdx b/docs/developers/modules/waypoint.mdx index 560cd1ac..74fc948a 100644 --- a/docs/developers/modules/waypoint.mdx +++ b/docs/developers/modules/waypoint.mdx @@ -148,7 +148,7 @@ Custom colors can be created from any RGB values using `new Color(int red, int g Make sure the server is sending the world name to the client as show in the [Player Detection](/apollo/developers/lightweight/protobuf/player-detection) example. -### Displaying a Waypoint +**Displaying a Waypoint** ```java public void displayWaypointExample(Player viewer) { @@ -164,7 +164,7 @@ public void displayWaypointExample(Player viewer) { } ``` -### Removing a Waypoint +**Removing a Waypoint** ```java public void removeWaypointExample(Player viewer) { @@ -176,7 +176,7 @@ public void removeWaypointExample(Player viewer) { } ``` -### Resetting all Waypoints +**Resetting all Waypoints** ```java public void resetWaypointsExample(Player viewer) { @@ -193,7 +193,7 @@ public void resetWaypointsExample(Player viewer) { Make sure the server is sending the world name to the client as show in the [Player Detection](/apollo/developers/lightweight/protobuf/player-detection) example. -### Displaying a Waypoint +**Displaying a Waypoint** ```java public void displayWaypointExample(Player viewer) { @@ -211,7 +211,7 @@ public void displayWaypointExample(Player viewer) { } ``` -### Removing a Waypoint +**Removing a Waypoint** ```java public void removeWaypointExample(Player viewer) { @@ -223,7 +223,7 @@ public void removeWaypointExample(Player viewer) { } ``` -### Resetting all Waypoints +**Resetting all Waypoints** ```java public void resetWaypointsExample(Player viewer) { From 55f927d935ed40fb865a3cbf39cca916333cf823 Mon Sep 17 00:00:00 2001 From: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:54:33 -0500 Subject: [PATCH 5/7] test --- docs/developers/modules/beam.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/modules/beam.mdx b/docs/developers/modules/beam.mdx index 709fc57c..eaa20379 100644 --- a/docs/developers/modules/beam.mdx +++ b/docs/developers/modules/beam.mdx @@ -129,7 +129,7 @@ Custom colors can be created from any RGB values using `new Color(int red, int g -**Displaying a Beam** +

Displaying a Beam

```java public void displayBeamExample(Player viewer) { From 7ac842f03cde3943a5262c254faca01ebf0aa186 Mon Sep 17 00:00:00 2001 From: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:59:17 -0500 Subject: [PATCH 6/7] use bold instead of header --- docs/developers/modules/beam.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developers/modules/beam.mdx b/docs/developers/modules/beam.mdx index eaa20379..709fc57c 100644 --- a/docs/developers/modules/beam.mdx +++ b/docs/developers/modules/beam.mdx @@ -129,7 +129,7 @@ Custom colors can be created from any RGB values using `new Color(int red, int g -

Displaying a Beam

+**Displaying a Beam** ```java public void displayBeamExample(Player viewer) { From b910df11eb77592a39b2ac7285fe0f0b8c843a65 Mon Sep 17 00:00:00 2001 From: TrentinTheKid <25537885+TrentinTheKid@users.noreply.github.com> Date: Thu, 19 Dec 2024 11:12:01 -0500 Subject: [PATCH 7/7] update border color --- .../apollo/example/api/examples/BorderApiExample.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java b/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java index ced68f5a..1df60349 100644 --- a/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java +++ b/bukkit-example/src/main/java/com/lunarclient/apollo/example/api/examples/BorderApiExample.java @@ -48,7 +48,7 @@ public void displayBorderExample(Player viewer) { .cancelEntry(true) .cancelExit(true) .canShrinkOrExpand(false) - .color(Color.BLACK) + .color(Color.RED) .bounds(Cuboid2D.builder() .minX(-50) .minZ(-50)