-
Notifications
You must be signed in to change notification settings - Fork 26
Installation and First Setup
Please make sure to read this before reporting "plugin not working" issues...
You need:
- one supported BedWars plugin
- Vault
- PlaceholderAPI
- PacketEvents
- WorldEdit or FastAsyncWorldEdit
What each dependency is used for:
- Vault: economy and permission handling
- PlaceholderAPI: placeholders in menus and messages
- PacketEvents: preview and packet related handling
- WorldEdit / FAWE: island topper schematics
- Install your BedWars plugin.
- Install the required dependencies other than PacketEvents.
- Drop the BedWars Cosmetics jar into
plugins/. - Start the server once. If PacketEvents is missing, the plugin will download and load the latest PacketEvents release automatically.
- Let the plugin generate its config and category files.
- Stop the server or reload carefully after editing.
Main files:
config.ymlMainMenu.yml- category files like
DeathCries.yml,KillMessages.yml,Sprays.yml,ShopKeeperSkins.yml, and the rest
Important directories created by the plugin:
Glyphs/IslandToppers/- your spray directory, which defaults to
Sprays/
There are two preview locations used by cosmetic previews:
- player preview location
- cosmetic preview location
Set them with:
/bwc setupPlayerLocation
/bwc setupPreviewLocation
If you do not set them, previews will fail and throw errors.
Island toppers need manual location setting for every arena and every team.
Use:
/bwc setIslandTopperPosition <teamName>
Example:
/bwc setIslandTopperPosition Red
Make sure you are in the setup mode for the arena and use valid team names.
You can use:
- SQLite (default)
- MySQL
- MariaDB
- PostgreSQL
- MongoDB
The storage backend is selected with:
database:
type: "SQLITE"Supported values:
SQLITEMYSQLMARIADBPOSTGRESQLMONGODB
Use SQLite if:
- you run a single normal server
- you do not need shared storage
- you want the easiest setup
Use MySQL if:
- you run proxy mode
- you want shared data
- you know what you are doing
Use MariaDB if:
- you already run MariaDB instead of MySQL
Use PostgreSQL if:
- your stack already uses Postgres
- you want a proper SQL backend that is not MySQL or MariaDB
Use MongoDB if:
- you want document storage
- you already have Mongo in your stack
Proxy mode does not support SQLite. The plugin explicitly blocks that setup.
Current storage keys are under database.*.
database:
type: "SQLITE"database:
mysql:
enabled: false
host: "localhost"
port: 3306
database: "name"
username: "root"
password: "none"
use-ssl: false
max-pool-size: 50
max-lifetime: 1024database:
mariadb:
host: "localhost"
port: 3306
database: "name"
username: "root"
password: "none"
use-ssl: false
max-pool-size: 50
max-lifetime: 1024database:
postgresql:
host: "localhost"
port: 5432
database: "name"
username: "postgres"
password: "none"
use-ssl: false
max-pool-size: 50
max-lifetime: 1024database:
mongodb:
uri: "mongodb://localhost:27017"
database: "bwcosmetics"If you want to avoid issues please follow this order:
- Install dependencies.
- Start the server.
- Configure
database.typeand the matching storage section. - Configure preview locations.
- Configure island topper positions if you use island toppers.
- Configure categories and menus.
- Configure language keys.
- Reload with
/bwc reloador restart.
After setup, verify:
-
/bwc menuopens - previews work
- a player can select a default cosmetic
- a player can buy a cosmetic if they have money
- shopkeeper skins spawn correctly
- sprays and glyphs have real image files
If you face any issues, that are not covered within this wiki feel free to reach out to me on any platform (SpigotMC, GitHub, or my Discord server).
But please note, DM support will not be provided for non-critical issues. I check the discord server every so often, so do not worry, I will address your issue as soon as I am able to. Pinging for me critical issues is okay but do not ping me excessively. Thank you for understanding.