Development Assistance giving mod items

Discussion in 'Plugin Help/Development/Requests' started by King V, Jan 25, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    King V

    the title really says it all, i want to give players guns from the flans mod :)
    im using a forge server with sponge & bukkit api mod.
    how do i import the items into my plugin? i already tried:
    import com.flansmod.*;
    but the guns still dont popup as a Material
    (i want to use the modern warfare 1.8 content pack)
    thx in advance :D
     
  2. Offline

    pie_flavor

    @King V What do you mean, they don't pop up as a Material?
     
  3. Offline

    King V

    i ment the items dont show up in the auto complete for material
    bump
     
  4. Offline

    pie_flavor

    @King V Well, duh. There's no way to make that happen. You need to use Material.valueOf or Material.matchMaterial.
     
Thread Status:
Not open for further replies.

Share This Page