SchemImporter
SpigotMCImport a schematic from a download URL into the FAWE/WORLDEDIT schematics folder
5 downloads
latest vv1.0.0 SpigotMC
SchemImporter
Import schematics from URLs directly into your FAWE schematics folder.
Import schematics from URLs directly into your FAWE schematics folder.
Features
- Import schematics from HTTP/HTTPS URLs
- URL rewriting for schematic sharing sites (IntellectualSites, schem.sn, BuiltByBit, ...)
- Host whitelist with bypass permission
- File size limits and download timeouts
- Overwrite protection with bypass permission
- Custom filename support
- Async downloads to prevent server lag
- Logging to console on successful imports
- Config reload command
- All messages are fully customizable
- Supports .schem, .schematic, and .nbt extensions
[HR][/HR]
Permissions
- schemimporter.import — Allows using /import to download schematics
- schemimporter.import.other — Allows importing schematics on behalf of other players (reserved for future features)
- schemimporter.bypass.whitelist — Allows downloading from any host, bypassing the whitelist
- schemimporter.bypass.overwrite — Allows overwriting existing schematic files
- schemimporter.reload — Allows reloading the SchemImporter config via /import reload
Commands
- /import <url> — Downloads and imports a schematic from the given URL
- /import reload — Reloads the plugin configuration
Configuration
The config.yml gives you full control over:
- Schematic directory — Supports FAWE, vanilla WorldEdit, or a custom path
- Host whitelist — Pre-configured with Discord CDN, GitHub, Google Drive, Dropbox, and more
- Download limits — Max file size (default 50 MB) and timeout (default 15 seconds)
- Overwrite behavior — Disable overwriting by default, bypass via permission
- Messages — Every user-facing message is editable with color codes and placeholders
Code (YAML):
# ─────────────────────────────────────────────────────────────────────────────
# SchemImporter — config.yml
# Plugin by DippyCoder
# ─────────────────────────────────────────────────────────────────────────────
schematic-directory : "plugins/FastAsyncWorldEdit/schematics"
whitelist:
enabled : true
hosts :
- "schem.intellectualsites.com"
- "cdn.discordapp.com"
- "media.discordapp.net"
- "github.com"
- "raw.githubusercontent.com"
- "objects.githubusercontent.com"
- "drive.google.com"
- "dropbox.com"
- "dl.dropboxusercontent.com"
- "paste.gg"
- "transfer.sh"
limits:
max-file-size-bytes : 52428800
download-timeout-seconds : 15
allow-overwrite : false
permissions:
import : "schemimporter.import"
bypass-whitelist : "schemimporter.bypass.whitelist"
bypass-overwrite : "schemimporter.bypass.overwrite"
reload : "schemimporter.reload"
messages:
prefix : "&8[&5SchemImporter&8] &r"
usage : "&cUsage: &f/import <url> &7| &f/import reload"
no-permission : "&cYou do not have permission to do that."
player-only : "&cThis command can only be used by players."
download-start : "&7Downloading schematic from &f{url}&7..."
download-success : "&aSuccessfully imported &f{filename} &ainto the schematics folder!"
download-failed : "&cDownload failed: &f{reason}"
invalid-url : "&cInvalid URL: &f{url}&c. Make sure it starts with https:// or http://"
host-blocked : "&cThe host &f{host} &cis not whitelisted. Ask an admin to add it."
file-too-large : "&cDownload aborted: file exceeds the maximum allowed size of &f{max_mb} MB&c."
file-exists : "&cA schematic named &f{filename} &calready exists. Delete it first or rename the file."
schem-dir-missing : "&cThe schematics directory does not exist and could not be created. Check your config and server file permissions."
timeout : "&cDownload timed out. The host may be slow or unreachable."
reloaded : "&aConfiguration reloaded successfully."
invalid-extension : "&cThe URL does not point to a valid schematic file (.schem / .schematic / .nbt)."
Requires PaperMC
Comments 0
No comments yet. Be the first to share your thoughts.