Custom Kill Streaks

Discussion in 'Plugin Requests' started by H1DD3NxGames, Feb 27, 2015.

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

    H1DD3NxGames

    Name: CustomeKillStreaks

    What i want: I know there is a lot of kill streak plugins out there but i want a custom Kill streak plugin that i can give people whatever i want to give them each kill streak. I have KitPvP in my server and i would like to make custom kill streaks. I would like a config where I can write how big of a kill streak till you get something. In the config i can either set a command in the config so the player can get something like Diamonds, or armor, or i can just write what they want like a potion (number code compatible).
    - It GIVES the player everything, the potions don't automatically give them the effect.
    - Enchant Compatible so people can get armor with enchants on it.
    - When people leave the server they either loose or keep their kill streak. (change in config encase people complain)
    - See your K/D with command

    Kill streak Rewards:
    Money
    Items

    Example (Config):
    2 kill streak: 373:16389 (Potion Splash of healing)
    5 Kill streak: 373:16457 (potion splash of strength)
    10 Kill streak: DIAMOND_SWORD Sharpness 2
    15 Kill streak: DIAMOND_HELMET protection 2
    16 Kill streak: DIAMOND_CHESTPLATE protection 2
    17 Kill streak: DIAMOND_LEGGINGS protection 2
    18 Kill streak: DIAMOND_BOOTS protection 2
    ETC. I can add more killstreaks

    Messages: (You May Choose the colors if you can make them look nicer)
    You are on a <killstreak> kill streak
    Broadcast: <Player> is on a <killstreak> kill streak.
    IMPORTANT: I am only having this plugin in my KitPvP world (maybe Factions) I would appreciate if you could only enable the broadcast in the current world that the killstreak was accomplished in. Meaning i don't want to have a broadcast in my Creative world saying <player> is on a <killstreak> kill streak

    Commands:

    /CKS reload - reload config
    /killstreak - See your current Killstreak
    /killstreak <player> - see other players killstreak
    /KD - see your KD

    Permissions:
    CKS.Reload - Reload config
    CKS.Killstreak - access to /killstreak
    CKS.Killstreak.other - access to /killstreak <player>
    CKS.KS - access to /kd

    When would i like this done by: ASAP

    Thank you and i hope someone can please make me this plugin. :D
     
    Last edited: Mar 16, 2015
  2. Offline

    Ruptur

  3. Offline

    Acoustics

    I also need this. I made a post similar to this except a gui to select the items and each kill is 1 point.
    if you do this you think i could useit also? :)
     
  4. Offline

    H1DD3NxGames

  5. Offline

    GrandmaJam

    You will be able to use it as the creator must publicly post it in this thread once he's done making it.
     
  6. Offline

    Acoustics

    Awesome :)
     
  7. Offline

    H1DD3NxGames

    @Ruptur are u making the plugin for me?
     
  8. Offline

    Ruptur

    @H1DD3NxGames
    Yeah, sorry i'm taking so long its because i have a full schedule
    Hopefully i'd be done soon
     
  9. Offline

    H1DD3NxGames

  10. Offline

    Acoustics

    Cant wait for this also :)
     
  11. Offline

    Acoustics

    Wondering if you have finished this yet? :)
     
  12. Offline

    H1DD3NxGames

    @Ruptur are u almost done with it?
     
  13. If he don't finish it i can do it .
     
  14. Offline

    H1DD3NxGames

    @MaTaMoR_ if he doesn't say anything for a little while can you please make it :D
     
  15. Offline

    Acoustics

    Might need this plugin really soon
     
  16. Offline

    Acoustics

    So is this plugin being done? or nah
     
  17. Offline

    H1DD3NxGames

    @Ruptur are u almost done with the plugin?

    and @Acoustics you have to Tahg user so they know you are talking to them, or they will never know you asked them the questions you asked
     
  18. Offline

    Ruptur

    @H1DD3NxGames
    So sorry, I've been so bust all week with a over packed schedule.
    My laptop where i had complied & had most of the plugin done broke so i had to take it in for repairs.
    I wont wait for the to get fixed so i have started again on a new one.
    Again sorry for taking so long, hopefully i'd be finished by tomorrow.
     
  19. Offline

    H1DD3NxGames

    @Ruptur It's ok, please get It done soon please
     
  20. Offline

    Ruptur

    @H1DD3NxGames

    Alas, i finished your plugin
    Ill upload tomorrow morning
     
  21. Offline

    H1DD3NxGames

  22. Offline

    Ruptur

    @H1DD3NxGames
    @Acoustics
    Commands:
    Code:
    commands:
        cks:
            usage: Type /cks to view help
            decription: CKS admin command
            aliases: [customkillstreaks, streaks]
        killstreak :
            decription: Finds your current killstreak
            usage: Type /killstreak to view your current streak
            aliases: [ks, kills]
        kd:
            description: Finds your kill death ratio.
            usage: Type /kd to find your kill death ratio.
    
    Permissions:
    Code:
    permissions:
        cks.reload:
            description: Reload config
            default: op
        cks.killstreak.others:
            description: Check killstreak of other players
            default: op
            children:
                - cks.killstreak
        cks.killstreak:
            description: Check own killstreak
            default: op
        cks.best.others:
            description: Check best streak of other players
            default: op
            children:
                - cks.best
        cks.best:
            description: Check own best streak
            default: op
        cks.kd.others:
            description: Check best streak of other players
            default: op
            children:
                - cks.kd
        cks.kd:
            description: Check own kd
            default: op
        cks.reset.others:
            description: Reset stats of other players
            default: op
            children:
                - cks.reset
        cks.reset:
            description: Reset own stats
            default: op
        cks.help:
            description: Show the help menu of the plugin
            default: op
    
    Template killstreak configuaration
    Code:
    
    # Please use this format when adding new streaks etc
        my kill streak name: # Streak name
            milestone: 3 # When to get this streak [3 kills]
    
            commands:
                runasconsole:
                    - 'eco give [user] 500'
    
                runasuser:
                    - 'say &c&lhellworld'
    
            rewards: # Rewards on this milestone streak
                my reward name: # Name of the reward [Not important! can just be a: b: c:]
                    type: 297 # The type of this reward [Bread]
                    name: '&cMy name' # The name of the item [{Red} my name]
                    lore: # The lore to be given to the item
                        - "Lore of my first killstreak reward"
                        - "Line 2"
                        - "Line 3"
                    amount: 1 # The amount of this item to be given to the player
                    stacked: true
                    # Default <> stacked: true
                    # true - The item would be stacked into a single stack
                    # false - The item will be left unstack if possible
    
                my other reward name:
                    type: diamond_helmet # The type of the other item (can be in bukkit names as well as id) [Diamond helmet]
                    name: '&cMy other name' # The item name [{Red} My other name]
                    lore: # The lore to be given to the item
                        - "Lore of my other killstreak reward"
                        - "Line 2"
                        - "Line 3"
                    amount: 5
                    stacked: false
                    enchantments:
                        - KNOCKBACK, 1
                        - 16, 2
                        - DAMAGE_ALL, 5
    
    Features:
    - Give awards on milestone
    - Run commands as console or user on certain milestones
    - See kills/deaths of players
    - Sounds on killstreak
    - Restricted plugin commands in worlds
    - Broadcast to only to certain worlds

    EDIT WITH JDK7!
    Download link : https://www.dropbox.com/s/wvd4k8m07ms1mtd/CustomKillStreaks.jar?dl=0

    ==================================
    Tahg me if you need any help with a feature or you spotted a bug (unlikely)
    Ruptur -
     
    Last edited: Mar 18, 2015
    Acoustics and H1DD3NxGames like this.
  23. Offline

    H1DD3NxGames

    @Ruptur thank you so much, I'll test it when I get better

    @Ruptur

    [Server] INFO org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/ruptur/CKS/CKS : Unsupported major.minor version
    [Server] ERROR Could not load 'plugins/CustomKillStreaks.jar' in folder 'plugins'

    Is there a reason why this happens with the plugins you make for me?

    Is the plugins set for java 7? and 1.7.10

    I dont know why it doesnt work for my main server, but it works on my test server, 1.7.10 and 1.8 spigot server

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 10, 2016
  24. Offline

    Ruptur

    @H1DD3NxGames
    I use
    Code:
    C:\Users\Ruptur>java -version 
    java version "1.8.0_31"
    Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed)
    
    Works perfectly fine for me ..
     
  25. Offline

    H1DD3NxGames

    @Ruptur
    maybe change it to java version 1.7, that would work maybe,
    and i am testing it on my test server and every time i execute a command from your plugin /cks it says
    "[CKS] Sorry That command is disabled in that world"
    and i don't even have multiworld in this test server
     
  26. Offline

    Ruptur

    @H1DD3NxGames
    Reload the server, is there a config file?
    Any errors in console?
     
  27. Offline

    H1DD3NxGames

    @Ruptur
    No errors, looks nice in the control panel, and config looks nice too
    I looked in the config and seen the worlds area, so i changes to the name the world is in so it should work now
     
  28. Offline

    Ruptur

    @H1DD3NxGames
    Redownload the jar file (same link)
    Made some changes, stopped it from spaming the chat
     
  29. Offline

    H1DD3NxGames

    @Ruptur Plugin works great, i just dont know why it wont work on my main server
     
  30. Offline

    Ruptur

    @H1DD3NxGames
    What version are you using. Whats the stacktrace (in full)
    I just uploaded a newer version (same link), see if this one makes any difference
     
Thread Status:
Not open for further replies.

Share This Page