Weapon Modules
All configuration sections you can add to your weapons
Last updated
All configuration sections you can add to your weapons
Last updated
New to the wiki? This page contains important information about config! Read this first!
All weapons have a unique "weapon title" in config. It is the name at the top of the file, like:
In the image above, the weapon title is AK_47
. To get the weapon in your server, use /wm get AK_47
.
The names of files are completely ignored. We suggest matching them with your weapon title (e.g., AK_47.yml
), but this is optional and does not affect the plugin.
Your weapon title (And ALL OTHER config options) should never use any character other then a->z, A->Z, 0->9, and underscores _
. Do NOT use periods or dashes.
All weapons use modules. A "Module" is a fancy way of saying a section in your config. For example, the Shoot module is required for all weapons. It goes under your weapon name in the config with 2 spaces. Let's look at an example of the AK_47
:
Most modules can also have sections inside. For example:
Here is the complete list of modules (You can also see this on the sidebar on the left of this page!):
Firemode -> Requires WeaponMechanicsPlus
Cosmetics -> Requires WeaponMechanicsCosmetics
Trails -> Requires WeaponMechanicsCosmetics
Show Time -> Requires WeaponMechanicsCosmetics
The Info and Shoot modules are the only required modules. Most config options are optional and can be omitted from your config file.