MWEPS | Custom Weapon Maker | 100% Free 1.5.2

Create your own custom weapons and tools with this free plugin! Designed for Minecraft @ UW

  1. catocatocato
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.16
    [​IMG]
    MWEPs is a plugin that lets you create your own custom weapons and tools in Minecraft!

    Want a stick that shoots 500 tridents or a fully automatic machinegun which uses up ammo? How about a grenade which makes it rain 500 arrows? MWEPs can 100% do all of that!

    Video Demonstrations:
    [​IMG]

    https://streamable.com/mhrhcq

    Features:

    - 2 Default weapons which showcases possible features
    - An in-game editor to create, modify and delete MWEPs
    - An in-game instruction booklet to using the editor
    - The ability to spawn any entity with NBT, velocity, count and much more!
    - Sound effects on weapons!
    - Ammo usage system!
    - Weapon recoil / weapons that launch players!
    - Apply effects to players in a radius with particle trails
    - Apply effects to yourself
    - Shoot players with effects!

    /mweps generate <mwep> <count> - generates an MWEP

    /mweps give <player> <mwep> <count> - gives an MWEP to the player

    /mweps reload - reloads weapons.yml and config.yml

    /mweps editor help - gives an instruction booklet to using the editor

    /mweps editor new <name> - creates a new mwep

    /mweps editor modify <path> <data> - modifies an exisiting mwep path

    /mweps editor list - lists all mweps

    /mweps editor delete <path> - deletes an mwep path

    /mweps editor inject <path> <value> - adds in a new path and value to weapons.yml

    /mweps editor view <mwep> - shows all paths for a given mwep

    /mweps editor copy <old> <new> - copies all paths under old to new

    MWEPs are stored in the weapons.yml file in the MWEPs folder and have the structure of:

    Code (Text):
    ATrident:
      Ammo: ARROW
      AmmoName: ammo
      AmmoUse: 0
      Data: '{Enchantments:[{id:"loyalty",lvl:3},{id:"unbreaking",lvl:1000},{id:"sharpness",lvl:1000}]}'
      Weapon: TRIDENT
      Consumable: false
      UseTime: 0
      RightClick:
        Sound:
          Name: ENTITY_ARROW_SHOOT
          Pitch: 1
          Volume: 1
        Spawn:
          Name: SPECTRAL_ARROW
          Count: 100
          Name: SPECTRAL_ARROW
          Velocity: 5
          Data: '{damage:10,pickup:2,life:1180}'
          Spread: 5
      LeftClick:
        Sound:
          Name: ITEM_TRIDENT_THROW
          Pitch: 10
          Volume: 1
        Spawn:
          Name: TRIDENT
          Count: 100
          Name: TRIDENT
          Velocity: 5
          Data: '{sharpness:10,pickup:2,life:1180}'
          Spread: 5
    ASign:
      Consumable: false
      Data: '{Enchantments:[{id:"knockback",lvl:10}]}'
      Weapon: OAK_SIGN
      UseTime: 50
      RightClick:
        Sound:
          Name: ENTITY_DRAGON_FIREBALL_EXPLODE
          Pitch: 1
          Volume: 1
        Launch:
          Velocity: 3.0
    Asign and ATrident are the names of the MWEP

    Consumable determines if the MWEP is used up per use

    Data is the NBT data to add to the MWEP

    Weapon is the item to generate the MWEP to

    UseTime is how fast the MWEP can be used in ticks

    RightClick and LeftClick are what to do when a player right or left clicks

    Ammo specifies what ammo to use up (must be held in offhand)

    AmmoUse specifies how much ammo to use per shot

    AmmoName specifies what name the ammo needs to be for it to be used

    You can access the in-game editor with the command /mweps editor <help/new/modify/delete/list/inject/view/copy>


    help - gives you an instruction booklet

    new <name> - creates a blank MWEP template

    modify <path> <data>- modifies existing values in an MWEP. Use inject for non-existing values

    delete <name/path> - deletes either an entire MWEP or path
    ex:
    /mweps editor delete ATrident will delete ATrident but /mweps editor delete ATrident.Data will delete data values

    list - lists all mweps

    inject <path> <data> - allows you to put any value you want into weapons.yml

    view <name> - allows you to view all values for an MWEP

    copy <existing> <new> - copies over a path or MWEP

    cato.mweps.generate - gives permission to the /mweps generate command

    cato.mweps.give - gives permission to the /mweps give command

    cato.mweps.editor - gives permission to /mweps editor

    cato.mweps.editor.new - gives permission to /mweps editor new

    cato.mweps.editor.modify - gives permission to /mweps editor modify

    cato.mweps.editor.delete - gives permission to /mweps editor delete

    cato.mweps.editor.list - gives permission to /mweps editor list

    cato.mweps.editor.inject - gives permission to /mweps editor inject

    cato.mweps.editor.view - gives permission to /mweps editor view

    cato.mweps.editor.copy - gives permission to /mweps editor copy

    cato.mweps.reload - gives permission to /mweps editor

    cato.mweps.weapon.[Weapon Name] - grants permission for players
    to use an MWEP if the setting is enabled in configs

    Default Config values:

    Disable-IFrames: true
    Require-Perms-to-Use-MWEP: false
    Add-Owner-to-Projectiles: true
    Disable-Projectiles-Breaking-Hanging-Entities: true


    Disable-IFrames - Removes invincibility ticks for entities damaged by an MWEP, allowing them to be hit successively akin to 0 tick pvp.

    Require-Perms-to-Use-MWEP - Requires players to have cato.mweps.weapon.[Name] permission to use an MWEP

    Add-Owner-to-Projectiles - Adds the user of an MWEP as the owner of the projectile they shoot from it.

    Disable-Projectiles-Breaking-Hanging-Entities - Prevents MWEP projectiles from breaking item frames

    Code (Text):
    Laser-Pistol:
      Data: ''
      Weapon: GOLDEN_SHOVEL
      Consumable: false
      RightClick:
        UseTime: 10.0
        Ammo:
          Type: ARROW
          Use: 1
          Name: Fusion-Cell
        Sound:
          Name: ENTITY_FIREWORK_ROCKET_BLAST
          Pitch: 4
          Volume: 3
        Effect:
          Other:
            Aim:
              Type: HARM
              Amplifier: 1.0
              Duration: 1
              Icon: false
              Particles: false
              Range: 100.0
              Ray:
                Particle: TOTEM
                Density: 1
              Hit:
                Particle: FLASH
                Density: 1.0
    Beamer:
      Weapon: SUNFLOWER
      Consumable: false
      RightClick:
        Effect:
          Other:
            Sphere:
              Type: HARM,POISON
              Amplifier: 1,1
              Duration: 1,200
              Icon: true
              Particles: false
              Radius: 10.0
              Ray:
                Particle: DRIP_LAVA
                Density: 1
      LeftClick:
        Effect:
          Other:
            Sphere:
              Type: HEAL,REGENERATION
              Amplifier: 1,1
              Duration: 1,200
              Icon: true
              Particles: false
              Radius: 10.0
              Ray:
                Particle: DRIP_WATER
                Density: 1



    Entities names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/EntityType.html

    Sounds names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html

    Item names: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html


    Potion names:
    https://hub.spigotmc.org/javadocs/spigot/org/bukkit/potion/PotionEffect.html


    Particle names:
    https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html


    Any suggestions or bug reports are highly encouraged! This is my very first public plugin!

Recent Updates

  1. Another Bug fix
  2. Emergency Bug Fix
  3. Major update - new features & bug fixes

Recent Reviews

  1. Neeft
    Neeft
    5/5,
    Version: 1.5.1
    Easy to understand and use. Works wonderfully on 1.16.3. Some pages of the instruction/tutorial book had text cut off near the bottom of the page, but you get how it works regardless of that.
    1. catocatocato
      Author's Response
      Thanks a lot! Could you tell me exactly what got cut off?