KillStreak
KillStreak
Get potion effects for kill streaks!
A kill streak is a continuous set of kills without dying. If you achieve X kills without dying (as defined in the configuration), you get a predefined potion effect.
Configuration
Option | Defaut Value | Description |
KillStreak.updater-enabled | true | Whether to notify admins of updates |
KillStreak.update-available | Not defined | Whether an update is available (do not modify!) |
KillStreak.reset-on-disconnect | false | Whether to reset a player's killstreak on disconnect |
KillStreak.streaks.5 | See below | The killstreak a player needs to reach before they get the powerup |
KillStreak.streaks.5.potion | SPEED | The potion effect the player gets for achieving a killstreak of 5 (can be found here) |
KillStreak.streaks.5.level | 1 | The level of the potion to be applied |
KillStreak.messages.broadcast-on-powerup | true | Whether to broadcast when a player gets a powerup |
KillStreak.messages.message-tag | '&f[&aKillStreak&f] ' | The prefix for all KillStreak chat messages |
KillStreak.messages.killstreak-color | '&c' | The color of the streak shown in messages |
KillStreak.messages.username-color | '&e' | The color of the username shown in messages |
PlayerStreaks | Not defined | Where killstreaks are stored |
More chat colors can be found here.
Commands
Command | Parameters | Description | Permissions |
/killstreak [username] | [username] (optional) - The player's username to check. | Shows your, or someone else's current killstreak | No permissions needed |
/killstreak | reload | Reloads the configuration for KillStreak. | killstreak.reload |
Potions
Potion name | Max level |
REGEN | 2 |
SPEED | 2 |
FIRE_RESISTANCE | 1 |
POISON | 2 |
INSTANT_HEAL | 2 |
NIGHT_VISION | 1 |
WEAKNESS | 1 |
STRENGTH | 2 |
SLOWNESS | 1 |
INSTANT_DAMAGE | 2 |
INVISIBILITY | 1 |
Statistics
May the source be with you.
Ouch.. Please add killstreak for mobs, plz.
I have to say, this is freakin cool. I will now try it out.
Maybe you can add money reward support? :)
@JasonLasse I see what you mean. I've added a reload command as per request
@jackwilsdon
/reload doesn't work with plugins like PEX. And it's generally bad for larger servers.
@ECRONCraft Can I ask why this would be needed? A server-wide /reload does just the same
@jackwilsdon
Yup
@ECRONCraft What should this command do exactly? Should it just reload the config.yml?
Could you add /killstreak reload command?
Could you please add Support for multiple worlds? :/
Could you add configurable messages when typing /ks or when a player is killed?
Also when a player is killed can it say "you just killed <player>."
Could you make it so we can make world groups that share the killstreaks?
example:
group1 (shares killstreaks)
-Nether
-World
-End
group2 (shares killstreaks)
-PVP
And maybe so we can disable killstreaks in certain worlds?
Because Survival Games doesn't actually let the players die and thats why death events might not be cought and this plugin wouldn't maybe work correctly.
@S1lverK3y Sounds good :) I don't see why it wouldn't work.
@stadvert I will add this feature shortly :)
Has any1 tried this plugin yet with the SurvivalGames Plugin? would be cool to also have buffs and boosts on streaks :)
Oh.. So you only get the buffs for pvp kills? If that's the case can you add the ability to count zombie kills? We setup a zombie outbreak group play and I was hoping to give buffs/rewards to people to help them out.
@stadvert Are you sure you have achieved a kill streak of 20 players without dieing? You can use /ks to see your current kill streak. Also, do /pl and see if the plugin is loaded correctly
I have the plugin configured as such below. It does not display Killstreaks or award buffs. Do I have it configured wrong, or am I missing something?
KillStreak:
reset-on-disconnect: false
streaks:
20:
potion: SPEED
level: 1
30:
potion: SPEED
level: 2
40:
potion: STRENGTH
level: 2
50:
potion: INSTANT_HEAL
level: 2
65:
potion: INSTANT_DAMAGE
level: 2
messages:
broadcast-on-powerup: true
tell-player-on-powerup: true
message-tag: '&f[&aKillStreak&f]'
killstreak-color: '&c'
username-color: '&e'
PlayerStreaks:
@S1lverK3y I believe the configuration file is fine for now. I will see what I can do with potion durations. Also, PlayerStreaks is not cleared on start, as it saves streaks through reboots.