📥 Installation
Step-by-step guide to install and set up WeaponSkin on your Minecraft server.
📋 Requirements
Before installing WeaponSkin, make sure your server meets the following requirements:
| Requirement | Details |
|---|---|
| Minecraft Server | 1.21 or higher (API version 1.21) |
| PacketEvents | Required dependency for equipment packet handling |
| Oraxen Optional | Only needed if using provider: oraxen |
| item_model Provider | Requires Minecraft 1.21.4+ for built-in resource pack system |
The item_model provider (built-in resource pack system) requires Minecraft 1.21.4 or
higher. If you're running an older version, you'll need to use Oraxen as the provider.
🚀 Installation Steps
Download the latest WeaponSkin.jar from the GitHub
Releases page.
Download PacketEvents from the official releases page. This is a required dependency.
Place both JAR files in your server's plugins/ folder:
Start your Minecraft server. The plugin will automatically generate configuration files
in plugins/WeaponSkin/.
Edit the configuration files to customize the plugin:
config.yml- Main configuration (provider, sounds, host settings)skins.yml- Skin definitionslangs/en.yml- Language file (English)langs/vi.yml- Language file (Vietnamese)
Run the following command to generate and host the resource pack:
/weaponskin pack build
Or use the alias:
/ws pack build
✅ Post-Installation
After completing the installation:
- Players will automatically receive the resource pack when joining (if
host.enabled: true) - Use
/ws giveto give skin items to players - Use
/ws removeto give Skin Remover items - Use
/ws listto see all registered skins
🔧 Building from Source
If you want to build the plugin from source:
git clone https://github.com/k4han/WeaponSkin.git
cd WeaponSkin
./gradlew build
The compiled JAR will be available at build/libs/WeaponSkin-*.jar.
🔧 Troubleshooting
Make sure PacketEvents is installed. Check the server console for any error messages.
Check that host.enabled: true in config.yml and the port specified in
host.self-host.port is open and accessible from the internet.
Make sure you've run /ws pack build after adding skins. Check that model_id in
skins.yml matches a key in items.yml.
Change the port in host.self-host.port to an available port. Make sure to update
your firewall rules accordingly.