1. Welcome to the Site!


    Please feel free to register for an account for the site
    It provides you access to many different features and the ability to post your own threads.
    Come join and while you are at it make some money and meet other traders.

DsGuns - Addon For DeadSociety Zombie Apocalypse 4.0

Have you Ever Wanted an amazing guns addon for dead society, well now you do

  1. Geek1243
    [​IMG]
    Requirements
    • Java 8 and above required. (Important) Same for your Hosting Website!

    • Always latest build of Vault! Can be found here: > https://dev.bukkit.org/projects/vault/files

    • Make sure to download a plugin to register to Vault! i.e Essentials, EssentialsX etc.
    TexturePack Suggestions
    • The Official Texture Pack is included in the DsGuns Extras Pack
    Other Guides

    Getting started
    ▒▒ Gun Folder and Configurations

    First of all, before you create a gun, you have to make sure that guns folder exists inside DSGuns plugin folder. If guns folder does not exist, you create it.

    To create a gun, the only thing you have to do is, create a yml file by the guns name inside guns folder. For example glock17.yml.

    There will be gun examples that you can download and paste them before you start the server.

    Download default gun examples:
    The Default gun file is included in the DsGuns Extras Pack

    (This Will Eventually Be Included With The Plugin)
    Available Gun Examples:



      • python
      • m9
      • glock17
      • g36
      • m16a4
      • ak47
      • flaregun
      • rpg
      • barrett50cal
    ▒▒ Gun information
    information:
    item-name: <name>
    item-type: <material>
    item-durability: <amount>
    item-lore: <line1>|<line2>|<line3>|<line4> ...>

    item-name:

    The item's display name - the name that the players will see when selecting this item.

    Example: By using the color-code for red &c, you can color an item's name: "&c red display name", you can add as many colors you want.

    item-type:

    The Material of the item's type. For example, if you would like the item to be a Diamond Pickaxe, you would put item-type: DIAMOND_PICKAXE

    item-durability:

    The durability of the item's time(or data). For example, if your item is a Diamond Pickaxe and your custom textured gun is with another value of this type, you would put item-durability: <amount>.

    item-lore:

    The item's description. This is what players will see when hovering their mouse over the item. To indicate a new line, use a vertical bar |.

    Example: item-lore: "&aThis is line one.|&bThis is line two.|&cThis is line three."

    Also has a box character/symbol -> ▉ as a gun description about its statistics if need to. A box can be taken by doing: %box[value]%, e.g if someone wants to have 5 boxes with gray color and 5 other boxes with dark gray color: &7 %box5% &8 %box5%, &7 = Gray, &8 = Dark Gray.

    ▒▒ Shooting
    shooting:
    projectile-damage: <amount>
    projectile-type: <type>
    projectile-distance-removal: <amount | ticks>
    projectile-amount: <amount>
    projectile-speed: <amount>
    projectile-delay-between-shots: <ticks>
    shooting-default-sound: <sound>-<volume>-<pitch>
    shooting-custom-sound: <custom-sound>

    projectile-damage:

    The amount of damage each bullet or other type will deal.

    projectile-type:

    There are three values that you can input: snowball, flare, rocket.




      • Snowballs are highly recommended for ordinary projectiles.
      • Flares, travel in a relatively straight line and burn upon impact. Mostly for Flareguns.
      • Rockets, travel in a relatively straight line and explode upon impact. Mostly for Rocket Launchers.
    projectile-distance-removal

    Set the amount of the distance you want to remove a projectile. Flares and Rockets have different type of a distance removal. The difference between is that snowballs are having ticks. For example, projectile-distance-removal: 50 this is for Flares and Rockets, projectile-distance-removal: 10this is for snowballs. You can also check in the game the difference.

    projectile-amount

    The number of projectiles that are launched per shot.

    projectile-speed:

    The speed of the fired projectile. A value from 0.1 - 10 is recommended(3-4 recommended) for snowballs, and 0.1 - 4 for Flares and Rockets(1-2 recommended). Projectiles with a high speed will begin to show signs of path warping due to a visual bug on Minecraft's side.

    projectile-delay-between-shots

    The delay in ticks that the player must wait before the next shot can be fired.

    shooting-default-sound

    The sound played whenever the gun is fired. Example, ENTITY_WITHER_DEATH-1-1.

    shooting-custom-sound

    The custom sound played whenever the gun is fired. Example, note.m4_shoot, note.ak47_shoot.

    ▒▒ Reload
    reload:
    starting-amount: <amount>
    reload-amount: <amount>
    reload-cooldown-delay: <ticks>
    reload-remove-type-amount: <amount>
    reload-type: <material>
    reload-default-sound: <sound>-<volume>-<pitch>
    reload-custom-sound: <custom-sound>

    starting-amount

    The amount of ammo the weapon starts with when it is first spawned. For example, if reload-amount is set to 40, and start-amount is set to 20, then the weapon will start off with 20 out of 40 ammo.

    reload-amount

    This value essentially determines the magazine capacity of the weapon. In other words, how many bullets can this weapon hold and fire before a reload is required? And how many bullets will be restored to the weapon upon a reload?

    reload-cooldown-delay

    The amount of time in ticks it will take to completely reload the weapon. Before you set any amount, it already has a delay of 2 seconds.

    reload-remove-type-amount

    The amount of ammo when the weapon needs to be reloaded. For example, if reload-type is FLINT, and reload-remove-type-amount is set to 1, then the weapon will remove 1 FLINT from your inventory to reload the weapon. If you want your weapon to be infinite, you would put reload-remove-type-amount: 0. Do not remove reload-type.

    reload-type

    The Material to reload a weapon. For example, if you would like the material to be a Flint, you would put reload-type: FLINT

    reload-default-sound

    The sound played whenever the gun is reloading. Example, ENTITY_WITHER_DEATH-1-1.

    reload-custom-sound

    The custom sound played whenever the gun is reloading. Example, note.assault_rifle_reload

    Creating a Gun Signshop
    I have to infrom you to not set the price with dots or any other type that is not just a single number.

    To apply a gun name, the name should look the same like from guns.yml configuration file.

    [​IMG]

    [​IMG]

    Commands
    Default

    DeadSocietyGuns Aliases: /DeadSocietyGuns, /Dsg

    DeadSocietyGunsPermissions Aliases: /DeadSocietyGunsPermissions, /DsgPermissions, /DsgPerms

    DeadSocietyGunsReload Aliases: /DeadSocietyGunsReload, /DsgReload




      • /Dsg - Shows all available commands.
      • /DsgPerms- Shows all available permissions.
      • /DsgReload - Reload all data related to guns.yml and config.yml configuration files.
    Guns



      • /Guns [give | list] - Give or get the list of all the available guns.
    Guns Upgrade



      • /Upgrade - An option to upgrade guns on the next stage. Gives infinite ammunition and flame powered bullets.



      • Infinite Ammunition
      • Poison-Powered Bullets.
    Permissions
    Default




      • dsg.use - Use /Dsg command.
      • dsg.permissions - Use /DsgPerms command.
      • dsg.reload - Use /DsgReload command.
    Guns



      • dsg.[gun] - Use a specific gun type.
      • dsg.guns.* - Use all the guns.
      • dsg.gunscmd - Use /Guns command.
    Guns Signshop



      • dsg.signshop.use - Purchase guns.
      • dsg.signshop.create - Create signshops.
      • dsg.signshop.break - Break signshops.
      • dsg.signshop.* - Use all the permissions.
    Guns Upgrade



      • dsg.upgrade - Use /Upgrade command.
    All Permissions



      • dsg.* - Use all the permissions.
    TOS
    1. Don't Decompile this Plugin
    2. Ask for support in my discord not the comments https://discord.gg/6dXZJ6t
    3. I Don't Do Custom Stuff
    4. Check out geek1243.cf for cool stuff
    smeths likes this.

Recent Updates

  1. Lang update
  2. A Official Resource Pack
Loading...