DeathSwap Core
Quote from SethBling:DeathSwap is a PvP minigame that pits you against an opponent in survival Minecraft. After random intervals, you and your opponent will swap positions. Whoever dies first loses.
- Fully automatic DeathSwap games
- Multiple games at once
- Customizable time between swaps
- Lobby based or play with friends
- Automatically creates game when 2 people join lobby
- Random spawn location for each player
- Make a join sign (pic)
command | permission | description | |
---|---|---|---|
/ds join | deathswap.join | Join the lobby! | |
/ds leave | deathswap.leave | Leave the lobby/game! | |
/ds set <lobby/end> | deathswap.set | Set lobby and end spawn! | |
/ds duel <player> | deathswap.duel | Play with a friend! | |
Admin permission node: | deathswap.bypass | Allow breaking of blocks in lobby |
Name | Link | Author | Purpose | |
---|---|---|---|---|
DeathSwap Payout | http://dev.bukkit.org/bukkit-plugins/deathswap-payout/ | JOPHESTUS | Rewards |
1. Set lobby and end spawn locations with /ds set <lobby/end>
2. Each player use /ds join the game or /ds duel <player> to play with a friend
3. Each player is teleported to a random location
4. On a customizable interval between 20 and 120 seconds, the player swaps locations
5. There is a 5 second protection period after each swap
6. Each player attempts to set up a trap so when the other player swaps they die
7. Whoever dies first loses!
This plugin has an extensive API, create your own extension and let hawkfalcon know to be featured here!
This uses metrics to keep track of stats. This plugin works best with some others, that we suggest you consider using alongside it! You can find more information on that here.
File a ticket or leave your suggestion in the comments!
@hawkfalcon
Thanks!
@celtics88
Oh. Yeah looks like I call the NewGameEvent before I wipe inventory. I'll more it to after, ten you can do this. :-)
Is there any way to make the plugin not clear your inventory on the start of the game? I set up a shop for people to buy items they can use in-game, however it clears your inventory so it doesn't work.
@GlenxD
This can happen if it runs out of places to teleport to. I have yet to implement a check to determine whether it can't find any more places. Try increasing the radius or regenning your world.
hey, once every few games my server completely shuts down at the start of a game without an error message. Everything completely freezes. Could you please help me with this?
@Travisvv
Make countdown false for now, I'll fix soon.
@hi11279
Yep, there are infinite games. :-)
Is it possible to have multiple games running at once for big servers?
Just noticed a glitch with the plugin, when multiple people are playing, or a game is going, and two new people join the game, it sometimes will countdown (if enabled) and go down to 2 sec. It will not teleport you, and one of the two players has to log out to fix it. When that player logs back in they will both be teleported, but they will no longer be in the game.
Edit: Just had some players have this, and then I started a game with someone else, and two things happened... The timer counted down 10, 7, 4, 1 in a mater of 4 sec. And then we spawned in the same location...
Edit 2: Just thought of another idea so that the distance between the players doesn't mater... Make the players invisible if they are in a game...
Thanks!
@RealThinknoodles
Thats the minimum. Its hardly ever that close. I think in 1.5 I'm going to make the min distance configurable.
@hawkfalcon
Thanks for the reasoning. Just something to point out, if you'd like to keep it as near to the original game as possible, the players should be teleported 2000 blocks away from each other. Seems that 100 blocks apart, it would be really easy to encounter one another??
@RealThinknoodles
Previous comment asked something similar. Due to the design of the plugin and my intent to keep it near the original game, there are two things I will not be making this plugin do:
1. Generate new world (see below for reason)
2. Have more than 2 players at one time (to keep near original game)
Anyways, the reason for #1 is this:
The way it is designed, it does not need a rollback. By default, with the random_spawn_radius: 10000, there are 10000^2*4/100 possibilites of spawn location (minus water/lava) That is 4 million possible spawn locations. I don't think you are going to need to rollback any time soon. I will in the future add a distance_between_spawns option (default is 100 blocks apart). If you changed it to say, 1000, you would still have 400,000 possibilities.
Although.... I added an API to the last version, so you could technically have an extension which rolls back on a win event very 100 or so games if you wish :)
I am currently using this plugin: http://dev.bukkit.org/bukkit-plugins/gmfreakys_deathswap/
I'm not sure if it's compatible with 1.6 yet because I haven't upgraded my server, but I really like what this one does, it automatically spawns a new world each time my friend and I play.
The reason I like this is because we nearly always end up coming across something new and cool - temples, villages, mineshafts, I even stumbled on a stronghold!
In case it's not compatible, is there a way to simulate a similar behavior with this plugin? Or, is there a way to increase the radius of random spawn large enough that it would be the equivalent of a new world?
Finally, with this plugin, is there any functionality for more than 1v1 Deathswap? Like if 3-4 people wanted to play against one another all in a sequential (or random) swap with one another?
@Vivi_Coral
When you use /ds set, it saves the world you are in too, so it supports multiworld.
Does this plugin work on a Multi-world server? As when I tried to use DeathSwap on my server previously it teleported people from it's own DeathSwap world I made specifically for the mini-game and back into the Overworld world.
NEWS:
I've uploaded 1.4! Yay! 1.6 Compatible!
It does not have stats or stat signs. However, it has an API.
This will allow people to create extensions to the plugin that will allow for stats and stat signs.
See http://dev.bukkit.org/bukkit-plugins/deathswapcore/pages/death-swap-api/.
Let me know if you do this and I shall add you to the page!
Fixed some random bugs as well, most notably the shutdown bug. Also, the prefix is now configureable. (Thanks @LaxWasHere)
Let me know what you think!
@SpikeyAussie56
I have multiple games going on in the same world. Works perfectly fine for me. All you have to do is make sure that there is a pair of players for each game and you're good to go. Every two players that join in are paired up.
How do i do multiple games at once. I want each world have its own ds game!
Check your perms for that world.
@hawkfalcon
When will the new version be out?
i can almost bet screwed this up myself somehow but i cant place down my crafting table.. if anyone can tell me if its a bug(Even tough i bet it isnt) or just me screwing something up again how to fix it that would be awesome -thanks