### Start Forge Server (Specific Java Path)
Source: https://minecraft.wiki/w/Tutorial%3ASetting_up_a_Minecraft_Forge_server
Use this command if the 'java' command is not recognized, by providing the full path to the Java executable. This example uses a typical Windows installation path for Java 7.
```bash
"C:\Program Files (x86)\Java\jre7\bin\java.exe" -Xmx1G -Xms1G -jar FORGE_FILE_NAME.jar --nogui
PAUSE
```
--------------------------------
### Generic Home Directory Creation Example
Source: https://minecraft.wiki/w/Tutorial%3ACreate_a_Mac_OS_X_startup_daemon
A generalized example of creating a user home directory and setting ownership, useful for understanding the process.
```bash
cd /Users
sudo mkdir UserFolder
sudo chown UserName:GroupName UserFolder
ls -la
```
--------------------------------
### Example Usage
Source: https://minecraft.wiki/w//fog
Examples demonstrating how to push and pop fog settings using the /fog command.
```APIDOC
## Examples
`/fog @p push minecraft:fog_basalt_deltas test:fog`
Gives the nearest player the basalt deltas fog.
`/fog @p pop test:fog` or `/fog @p remove test:fog`
Removes this fog from the nearest player.
```
--------------------------------
### Install JDK and Minecraft on OpenBSD
Source: https://minecraft.wiki/w/Tutorial%3AOpenBSD_startup_script
Use `doas pkg_add` to install the Java Development Kit and the Minecraft installer. Run `minecraft` to complete the setup.
```bash
$ doas pkg_add jdk minecraft
```
--------------------------------
### SimpleNavbox Template Example
Source: https://minecraft.wiki/w/Special%3AEditPage/Template%3ANavbox_event
An example of how to use the SimpleNavbox template to create a navigation box, with a specific section for 'Installments'.
```WikiText
{|{{SimpleNavbox|''[[Minecraft]]'' events|navbar=Template:Navbox event}} |- |colspan="2" |
{|style="border: 0" {{SimpleNavbox|Installments|class={{#switch: {{lc:{{{1}}}}} |installments= |all=|collapsed }}}} |- ! [[MINECON]] | * '''2010''' ** [[MINECON 2010|May]] ** [[MinecraftCon 2010|August]] * [[MINECON 2011|2011]] * [[MINECON 2012|2012]] * [[MINECON 2013|2013]] * [[MINECON 2015|2015]] * [[MINECON 2016|2016]] |- ! ''[[Minecraft Live]]'' | * [[MINECON Earth 2017|2017]] * [[MINECON Earth 2018|2018]] * [[MINECON Live 2019|2019]] * [[Minecraft Live 2020|2020]] * [[Minecraft Live 2021|2021]] * [[Minecraft Live 2022|2022]] * [[Minecraft Live 2023|2023]] * [[Minecraft Live 2024|2024]] * '''2025''' ** [[Minecraft Live – March 2025|March]] ** [[Minecraft Live – September 2025|September]] * '''2026''' **[[Minecraft Live – March 2026|March]] **[[Minecraft Live – TwitchCon May 2026|May]] |- !''[[TwitchCon]]'' | * [[TwitchCon 2025|San Diego 2025]] * [[TwitchCon Europe 2026|Europe 2026]] |- ![[Event servers]] | * [[Server Test]] * [[2022 Boss Vote Event|2022 Boss Vote]] * [[2022 Mob Vote Event|2022 Mob Vote]] * [[Minecraft Legends Live Event|Minecraft Legends]] * [[Trails & Tales Event|Trails & Tales]] * [[2023 Mob Vote Event|2023 Mob Vote]] * [[Universal Studios Event|Universal Studios]] * [[MCC x Minecraft 15th Anniversary Party]] * [[Eerie Mojang Office Party]] * [[A Minecraft Movie Live Event|A Minecraft Movie]] * [[Capture the Flag (server)|Capture the Flag]] |- ![[MC Championship]] | * [[Ender Cup]] * [[Colour the World]] * [[The Copper Crown]] * [[Project G.L.O.P.]] |- !Miscellaneous | * [[Mojam]] * [[ModJam]] * [[Minecraft Creator Summit|Creator Summit]] * ''[[Minecraft Festival]]'' * [[Community Celebration]] * [[15 Days of Minecraft]] * [[Minecraft Experience]] ** [[Minecraft Experience: Villager Rescue|Villager Rescue]] ** [[Minecraft Experience: Moonlight Trail|Moonlight Trail]] * [[Expect the unexpected]] * [[Chinese prediction poll]] |}
|- |colspan="2" | {|style="border: 0" {{SimpleNavbox|Segments|class={{#switch: {{lc:{{{1}}}}} |segments= |all=|collapsed }}}} |- !Bookends | *Openings ** [[The Evolution of Minecraft|2011]] ** [[Official Minecon Intro 2012|2012]] ** [[Minecon Orlando 2013 - OFFICIAL Opening Video!|2013]] ** {{SkinLink|id=Prisoner Alex|Minecon 2015 Opening Ceremony Animation|2015}} *Endings ** [[Minecon Finale Video|2011]] |- !Panels | * {{CharacterLink|id=Queen|Great London Robbery!!}} |- !Short films | * {{EnvLink|id=spruce|Can a Mojang Employee Survive the Night in a REAL Forest?|Can a Mojang Employee Survive}} * {{BlockLink|id=Azure Bluet|The Super Duper Minecraft Musical}} |- !Cinematics | * {{ItemLink|Mojang Presents... An Update Aquatic|Mojang Presents|id=Nautilus Shell}} * {{EntityLink|Villager (and Pillager?) News|id=Fox}} * {{EntityLink|id=Hoglin|The Nether Update Encore}} * {{EnvLink|id=Music|Minecraft Live 2021: Caves & Cliffs: The Musical|Caves & Cliffs: The Musical}} * {{BlockLink|id=redstone torch|Introducing New Default Skins!}} * {{EntityLink|id=Warden|A Warden's Song}} * {{EntityLink|id=Camel|A Tale of Two Friends}
```
--------------------------------
### Example /me Command Usage
Source: https://minecraft.wiki/w/Commands/me
This example demonstrates how to use the /me command to describe an action. The output will include the player's name.
```minecraft_command
/me was eaten by a grue
```
--------------------------------
### Get String Length
Source: https://minecraft.wiki/w/Commands/data
Demonstrates how to get the length of a string stored in the wiki:example storage. The output is the number of characters in the string.
```minecraft
/data get storage wiki:example String
```
--------------------------------
### Example Usage
Source: https://minecraft.wiki/w/Commands/deop
An example of how to use the /deop command.
```APIDOC
## Example
To remove Steve from the list of operators:
`deop Steve`
```