### ClipboardConnect Setup Wizard
Source: https://context7.com/intellectualsites/documentation/llms.txt
Initiates the ClipboardConnect setup wizard in-game. This is the preferred method for automated setup, which includes generating a docker-compose.yml file.
```bash
/clipboardconnect setup
```
--------------------------------
### Install Redis Server System Package
Source: https://context7.com/intellectualsites/documentation/llms.txt
Installs the Redis server package using apt-get and enables/starts the systemd service.
```bash
sudo apt-get update && sudo apt-get install -y redis-server
sudo systemctl enable redis-server && sudo systemctl start redis-server
```
--------------------------------
### VoxelTrees Brush - Starting Height Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the initial height of the tree. A value of '5' will make the tree start 5 meters above the ground.
```minecraft-commands
sh#[whole number]
```
--------------------------------
### Create and Start Redis Docker Compose
Source: https://context7.com/intellectualsites/documentation/llms.txt
Sets up a Redis service using Docker Compose and starts it in detached mode.
```bash
cat > docker-compose.yml << 'EOF'
version: '3'
services:
redis:
image: redis:latest
restart: always
ports:
- "6379:6379"
volumes:
- redis-data:/data
volumes:
redis-data:
EOF
docker-compose up -d # Start Redis
```
--------------------------------
### Install Redis Server on Ubuntu
Source: https://github.com/intellectualsites/documentation/blob/main/clipboardconnect/Setup.md
Installs the Redis server package on Ubuntu systems using apt-get. Ensure your package list is updated before installation.
```bash
sudo apt-get update
sudo apt-get install redis-server
```
--------------------------------
### FAWE Installation and Configuration
Source: https://context7.com/intellectualsites/documentation/llms.txt
Install FAWE by dropping the jar into the plugins folder; it replaces WorldEdit. Ensure Java 17+ is used for version 6.0.0+. Enable disk and database logging in config.yml for advanced features.
```bash
# Download from Modrinth
# https://modrinth.com/plugin/fastasyncworldedit
plugins/
FastAsyncWorldEdit.jar # Drop here; do NOT also include WorldEdit.jar
# Restart the server — FAWE auto-generates:
# plugins/FastAsyncWorldEdit/config.yml
# plugins/FastAsyncWorldEdit/worlds.yml
```
```yaml
# plugins/FastAsyncWorldEdit/config.yml
use-disk: true
use-database: true
```
--------------------------------
### Extrude Brush Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Entity-Brushes.md
Example demonstrating the extrude brush to push stone and wood blocks outwards in a 10-block radius disk, 5 blocks high.
```plaintext
/b ex /vh 5 /b 10 /vl 1 5 *left click with gunpowder*
```
--------------------------------
### ClipboardConnect Cross-Server Workflow Example
Source: https://context7.com/intellectualsites/documentation/llms.txt
Demonstrates the typical workflow for sharing WorldEdit clipboards between servers using ClipboardConnect.
```bash
# Typical cross-server workflow:
# 1. On Server-A: //copy → /gsave
# 2. Connect to Server-B
# 3. On Server-B: /gload → //paste
```
--------------------------------
### Maven Setup for PlotSquared Core
Source: https://github.com/intellectualsites/documentation/blob/main/plotsquared/api/api-documentation.md
Configure your Maven project to use PlotSquared Core with this XML snippet. This setup includes the necessary repositories and dependency management.
```xml
papermc
https://repo.papermc.io/repository/maven-public/
com.intellectualsites.bom
bom-newest
1.56
import
pom
com.intellectualsites.plotsquared
plotsquared-core
provided
```
--------------------------------
### Gradle Setup for FAWE Core
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncworldedit/API/api-usage.md
Configure your Gradle project to include the FAWE Core dependency. Ensure the necessary repositories are added.
```kotlin
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://maven.enginehub.org/repo/")
}
dependencies {
implementation(platform("com.intellectualsites.bom:bom-newest:1.56")) // Ref: https://github.com/IntellectualSites/bom
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core")
}
```
--------------------------------
### VoxelTrees Brush - Minimum Roots Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the minimum number of roots to generate.
```minecraft-commands
minr#[whole number]
```
--------------------------------
### Display FAWE Version
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncworldedit/commands/administrative/administrative.md
Use this command to display the currently installed version of FastAsyncWorldEdit.
```plaintext
/fawe version
```
--------------------------------
### Gradle Setup for FAWE Bukkit and Core
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncworldedit/API/api-usage.md
Configure your Gradle project to include both FAWE Core and FAWE Bukkit dependencies. Ensure the necessary repositories are added.
```kotlin
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://maven.enginehub.org/repo/")
}
dependencies {
implementation(platform("com.intellectualsites.bom:bom-newest:1.56")) // Ref: https://github.com/IntellectualSites/bom
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core")
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit") { isTransitive = false }
}
```
--------------------------------
### VoxelTrees Brush - Minimum Height Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the minimum height of the tree.
```minecraft-commands
minh#[whole number]
```
--------------------------------
### Maven Setup for FAWE Core
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncworldedit/API/api-usage.md
Configure your Maven project to include the FAWE Core dependency. Ensure the necessary repositories and dependency management are set up.
```xml
papermc
https://repo.papermc.io/repository/maven-public/
enginehub
https://maven.enginehub.org/repo/
com.intellectualsites.bom
bom-newest
1.56
import
pom
com.fastasyncworldedit
FastAsyncWorldEdit-Core
provided
```
--------------------------------
### VoxelTrees Brush - Root Length Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Determines the length of the generated roots.
```minecraft-commands
rl#[whole number]
```
--------------------------------
### VoxelTrees Brush - Branch Length Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Determines the length of the generated branches.
```minecraft-commands
bl#[whole number]
```
--------------------------------
### Getting a Plugin Instance
Source: https://context7.com/intellectualsites/documentation/llms.txt
This snippet shows how to check for the PlotSquared plugin and obtain a PlotAPI handle in your Bukkit plugin's onEnable method.
```APIDOC
## Getting a Plugin Instance
### Description
Check for the PlotSquared plugin at `onEnable` and obtain a `PlotAPI` handle to access all PlotSquared functionality.
### Usage
```java
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
import com.plotsquared.core.PlotAPI;
public class MyAddon extends JavaPlugin {
private PlotAPI plotAPI;
@Override
public void onEnable() {
if (Bukkit.getPluginManager().getPlugin("PlotSquared") == null) {
getLogger().warning("PlotSquared not found — disabling addon.");
getServer().getPluginManager().disablePlugin(this);
return;
}
this.plotAPI = new PlotAPI();
getLogger().info("PlotSquared integration active.");
// Register your event listener with PlotSquared's EventBus
this.plotAPI.registerListener(new MyPlotListener());
}
}
```
```
--------------------------------
### Maven Setup for FAWE Bukkit and Core
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncworldedit/API/api-usage.md
Configure your Maven project to include both FAWE Core and FAWE Bukkit dependencies. Ensure the necessary repositories and dependency management are set up, including exclusions for the Bukkit dependency.
```xml
papermc
https://repo.papermc.io/repository/maven-public/
enginehub
https://maven.enginehub.org/repo/
com.intellectualsites.bom
bom-newest
1.56
import
pom
com.fastasyncworldedit
FastAsyncWorldEdit-Core
provided
com.fastasyncworldedit
FastAsyncWorldEdit-Bukkit
provided
FastAsyncWorldEdit-Core
*
```
--------------------------------
### VoxelTrees Brush - Maximum Roots Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the maximum number of roots to generate, creating a random amount between minr# and maxr#.
```minecraft-commands
maxr#[whole number]
```
--------------------------------
### Gradle Setup for PlotSquared Core
Source: https://github.com/intellectualsites/documentation/blob/main/plotsquared/api/api-documentation.md
Use this Gradle configuration to include PlotSquared Core in your project. Ensure your toolchain points to Java 17 or higher.
```kotlin
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
implementation(platform("com.intellectualsites.bom:bom-newest:1.56"))
compileOnly("com.intellectualsites.plotsquared:plotsquared-core")
}
```
--------------------------------
### Gradle Setup for PlotSquared Core and Bukkit
Source: https://github.com/intellectualsites/documentation/blob/main/plotsquared/api/api-documentation.md
This Gradle configuration includes both PlotSquared Core and the Bukkit module. It's recommended for Bukkit-based projects. Ensure your toolchain points to Java 17 or higher.
```kotlin
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
implementation(platform("com.intellectualsites.bom:bom-newest:1.56"))
compileOnly("com.intellectualsites.plotsquared:plotsquared-core")
compileOnly("com.intellectualsites.plotsquared:plotsquared-bukkit") { isTransitive = false }
}
```
--------------------------------
### VoxelTrees Brush - Trunk Thickness Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Determines the thickness of the tree trunk. A value of '2' creates a 2x2 trunk, '1' a 1x1 trunk, etc.
```minecraft-commands
tt#[whole number]
```
--------------------------------
### Maven Setup for PlotSquared Core and Bukkit
Source: https://github.com/intellectualsites/documentation/blob/main/plotsquared/api/api-documentation.md
This Maven configuration includes both PlotSquared Core and the Bukkit module, suitable for Bukkit-based plugins. It manages dependencies and repositories.
```xml
papermc
https://repo.papermc.io/repository/maven-public/
com.intellectualsites.bom
bom-newest
1.56
import
pom
com.intellectualsites.plotsquared
plotsquared-core
provided
com.intellectualsites.plotsquared
plotsquared-bukkit
provided
plotsquared-core
*
```
--------------------------------
### PlotSquared World Configuration
Source: https://context7.com/intellectualsites/documentation/llms.txt
Example configuration for PlotSquared worlds, defining plot dimensions, biomes, blocks, roads, economy, and world settings.
```yaml
# plugins/PlotSquared/config/worlds.yml
configuration_version: v5
worlds:
myplotworld:
plot:
height: 62 # Road/plot ground level (Y)
size: 42 # Plot side length in blocks
biome: minecraft:forest
filling: minecraft:stone # Block below the floor
floor: minecraft:grass_block # Top surface block
bedrock: true # Bedrock layer at Y=0
auto_merge: false
create_signs: true
sign_material: OAK_WALL_SIGN
wall:
height: 62
block: minecraft:stone_slab # Unclaimed border
block_claimed: minecraft:sandstone_slab # Claimed border
filling: minecraft:stone
place_top_block: true
road:
width: 7
height: 62
block: minecraft:quartz_block
flags:
pvp: true # Road-level flags
home:
default: side # Teleport to side (or: center, x,y,z)
nonmembers: side
schematic:
on_claim: true # Auto-paste on claim
specify_on_claim: false # Let players choose schematic
file: 'my_starting_schematic' # Default schematic name
schematics:
- schematic_a
- schematic_b
economy:
use: true
prices:
claim: 500
merge: 100
sell: 250
world:
gamemode: creative
max_height: 320
min_height: -63
max_gen_height: 319
min_gen_height: -64
border: true # Dynamic world border around claimed plots
natural_mob_spawning: false
mob_spawner_spawning: false
flags:
use: "oak_door,lever,oak_button" # Default flags for every plot
pvp: false
```
--------------------------------
### FAWE Gradle Dependency Setup
Source: https://context7.com/intellectualsites/documentation/llms.txt
Add FAWE as a compileOnly dependency using the IntellectualSites BOM for version alignment. Java 21 is required at development time.
```kotlin
// build.gradle.kts
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
maven("https://maven.enginehub.org/repo/")
}
dependencies {
// BOM aligns all IntellectualSites artifact versions
implementation(platform("com.intellectualsites.bom:bom-newest:1.56"))
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Core")
// Also include Bukkit module if you need Bukkit-specific APIs:
compileOnly("com.fastasyncworldedit:FastAsyncWorldEdit-Bukkit") { isTransitive = false }
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}
```
--------------------------------
### Configure Plot Component Presets
Source: https://github.com/intellectualsites/documentation/blob/main/plotsquared/customization/plot-component-presets.md
Define custom component presets in `components.yml`. This example shows a 'Disco Floor' preset with a cost, custom name, icon, and description. Permissions can be set to restrict access.
```yaml
presets:
- component: floor
cost: 0.0
pattern: '##wool'
name: Disco Floor
icon: yellow_wool
description:
- Spice up your plot floor
permission: ''
```
--------------------------------
### VoxelTrees Brush - Wood Type Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the data value for the log blocks. '0' for oak, '1' for pine/spruce, '2' for birch, and '3' for jungle.
```minecraft-commands
wt#[data value]
```
--------------------------------
### ClipboardConnect Load Command
Source: https://context7.com/intellectualsites/documentation/llms.txt
Loads a WorldEdit clipboard from Redis. Requires the 'clipboardconnect.command.load' permission.
```bash
# Load your clipboard from Redis (e.g. after switching servers)
/clipboardconnect load # Aliases: /gload
# → Restores the clipboard stored under your player UUID
```
--------------------------------
### FAWE Basic Selection Commands
Source: https://context7.com/intellectualsites/documentation/llms.txt
Utilize FAWE's `//` prefixed commands to define regions for editing. Commands include setting positions by coordinates or crosshair, and changing selection modes.
```bash
# Default cuboid selection (two corner points)
//pos1 # Set position 1 to your current location
//pos2 # Set position 2 to your current location
//pos1 100,64,200 # Set position 1 to explicit coordinates
//1 # Alias for //pos1
//2 # Alias for //pos2
//hpos1 # Set pos1 to the block in your crosshair
//hpos2 # Set pos2 to the block in your crosshair
# Change selection type
//sel cuboid # Default rectangular box
//sel poly # Free-form polygon (unlimited points)
//sel ellipsoid # Ellipsoid centered on pos1
//sel sphere # Sphere (pos1=center, pos2=radius)
//sel cyl # Vertical cylinder
//sel fuzzy # Selects all connected blocks of the same type (flood-fill)
//sel -d cuboid # Change your default selection type permanently
```
--------------------------------
### VoxelTrees Brush - Root Float Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Controls whether the roots 'float' above the surface.
```minecraft-commands
rf#[true or false]
```
--------------------------------
### Default Configuration Settings
Source: https://github.com/intellectualsites/documentation/blob/main/clipboardconnect/configuration/config.yml.md
Sets the server name and the duration for which clipboard data is stored in memory. Adjust 'duration' using time units like 'h' for hours or 'd' for days.
```yaml
# The Server Message to announce to other servers
servername: 'Server-A'
# The duration how long the redis will keep a clipboard inside of the memory
# Examples:
# 6h = 6 Hours
# 1d = 24h
# 7d = 7 Days
# 14d = 2 Weeks
duration: '6h'
```
--------------------------------
### VoxelTrees Brush - Minimum Leaf Node Size Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the minimum size of the leaf nodes (balls) that will be generated.
```minecraft-commands
minl#[whole number]
```
--------------------------------
### VoxelTrees Brush - Maximum Height Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the maximum height of the tree, creating a random height between minh# and maxh#.
```minecraft-commands
maxh#[whole number]
```
--------------------------------
### FAWE Patterns with //set
Source: https://context7.com/intellectualsites/documentation/llms.txt
Basic usage of //set command with block names, hand, or hotbar slots to fill selections.
```bash
//set stone
```
```bash
//set 50%stone,50%dirt
```
```bash
//set hand
```
```bash
//set slot3
```
--------------------------------
### Plot Administration Commands
Source: https://context7.com/intellectualsites/documentation/llms.txt
Administrative commands for plot management, including setup, creation, ownership transfer, clearing, deletion, and purging.
```bash
/plot setup
```
```bash
/plot area create myworld type:plotsquared
```
```bash
/plot setowner Alice
```
```bash
/plot clear
```
```bash
/plot delete
```
```bash
/plot done
```
```bash
/plot continue
```
```bash
/plot purge world:plotworld
```
```bash
/plot condense plotworld start 5
```
```bash
/plot trim plotworld
```
```bash
/plot reload
```
```bash
/plot database sqlite
```
```bash
/plot debugpaste
```
```bash
/plot cluster create MyCluster 0;0 5;5
```
```bash
/plot cluster invite Alice
```
--------------------------------
### Visualize Brush Changes
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncworldedit/advanced-features/brushes.md
Enable visualization to see how the brush will affect blocks. Options include no visualization, single point, or all block changes.
```bash
/br vis <0-2>
```
--------------------------------
### Get PlotSquared Plugin Instance
Source: https://github.com/intellectualsites/documentation/blob/main/plotsquared/api/event-api.md
Obtain an instance of the PlotSquared plugin to interact with its API. This is typically done in your plugin's onEnable method.
```java
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;
public class MyPlotPlugin extends JavaPlugin {
public static MyPlotPlugin THIS;
@Override
public void onEnable() {
MyPlotPlugin.THIS = this;
if (Bukkit.getPluginManager().getPlugin("PlotSquared") != null) {
// Do something
}
}
}
```
--------------------------------
### Equip a Brush
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncworldedit/advanced-features/brushes.md
Bind a brush to your currently held item. Use 'primary' for right-click and 'secondary' for left-click.
```bash
/br
```
```bash
/br primary
```
```bash
/br secondary
```
--------------------------------
### Set Global FAWE Transform
Source: https://context7.com/intellectualsites/documentation/llms.txt
Sets a global transform that affects all block placements. Example shows offsetting all placements by one block upwards.
```bash
# Set a global transform
//gtransform #offset[0][1][0] # Shift all placements 1 block up
```
--------------------------------
### PlotSquared Gradle Dependency Setup
Source: https://context7.com/intellectualsites/documentation/llms.txt
Configures Gradle to include PlotSquared as a `compileOnly` dependency. Recommends using Java 17 toolchain and specifies repositories and dependencies.
```kotlin
// build.gradle.kts
repositories {
mavenCentral()
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
implementation(platform("com.intellectualsites.bom:bom-newest:1.56"))
compileOnly("com.intellectualsites.plotsquared:plotsquared-core")
// Include Bukkit module only if needed:
compileOnly("com.intellectualsites.plotsquared:plotsquared-bukkit") { isTransitive = false }
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
```
--------------------------------
### Full FAWE Transform List
Source: https://context7.com/intellectualsites/documentation/llms.txt
Provides a comprehensive list of available FAWE transforms, including offset, rotate, scale, pattern, linear, linear3d, and spread, with their parameters and usage.
```bash
# Full transform list:
# #offset [transform] — shift block placement
# #rotate [transform] — rotate around initial position
# #scale [transform] — scale changes
# #pattern [transform] — always use a specific pattern
# #linear — cycle transforms sequentially
# #linear3d — cycle by X/Y/Z coordinate
# #spread [transform] — random offset transform
```
--------------------------------
### VoxelTrees Brush - Leaf Type Example
Source: https://github.com/intellectualsites/documentation/blob/main/fastasyncvoxelsniper/Environment-brushes.md
Sets the data value for the leaf blocks. '0' for oak, '1' for pine/spruce, '2' for birch, and '3' for jungle.
```minecraft-commands
lt#[data value]
```