Giter Site home page Giter Site logo

deathswap's Introduction

DeathSwap (Spigot plugin for version 1.17.1)

This plugin recreates the well-known game of Death Swap, and has a bunch of extra features to make the game more balanced!

This spigot plugin provides the tools needed to play Death Swap with you and your friends. When the game starts, all players will be teleported to completely random locations, millions of blocks away. Then, players can cook food, gear up, and most importantly, put themselves in a dangerous situation. Every so often, all players will swap locations with another player. You can use the swap to kill other players that get teleported to your location. When a player runs out of lives, they lose. The last one standing wins the game!

Installation

Simply download the .jar file from the releases page and drag and drop it into your Spigot server's plugin folder.

Setup

Setup is quite easy:

  1. Optional: Configure any settings you wish to change using /deathswap <setting> <on|off|number>. More information below in the commands section.
  2. Next, make sure everyone is ready to start the game and in survival mode. Run /deathswap start. This will clear everyone's inventory, health, and hunger and start the game.

Commands

  • deathswap start: Starts the game of DeathSwap, where everyone currently in survival mode will be part of the game.
  • deathswap stop: Ends the game of DeathSwap.
  • deathswap swaptime <minimum> <maximum>: Sets the amount of minutes between swaps. The time will be a random time between the selected range.
  • deathswap countdown <seconds>: Sets the amount of seconds the countdown timer will tick down before a swap.
  • deathswap fallkills <on|off>: If off, players will be immune to fall damage after a swap until they hit the ground.
  • deathswap firedamage <on|off>: If off, players will have permanent fire resistance.
  • deathswap allownether <on|off>: If off, players will not be able to travel to the nether.
  • deathswap lives <amount>: Sets the amount of lives each player has before they are eliminated.
  • deathswap settings: Displays all settings currently configured, as well as defaults.
  • deathswap help: Displays this help menu.

All these commands require the permission deathswap.setup to use.

Config file (nerdy stuff)

You can also change the tracking settings in the config file located at YourServer/plugins/DeathSwap/config.yml. Default config:

# swapTimer: Random delay time between each swap
# countdownTimer: Number of seconds in the countdown before a swap
# fallKills: If false, players will be immune to fall damage until they hit the ground after a swap
# netherEnabled: If false, players cannot portal to the nether
# fireDamage: If false, players will have permanent fire resistance
# lives: Sets the amount of lives each player has before they lose
swapTimer:
  minMinutes: 5
  maxMinutes: 10
countdownTimer: 10
fallKills: true
netherEnabled: true
fireDamage: true
lives: 1

Note: If settings are changed using the /deathswap commands, it will automatically update the config file

FAQ

Q: What happens when a player dies when they still have lives remaining? A: They will keep their inventory and respawn in a new random location.

More will be added if needed

Please reach out to me if you have any issues through the GitHub Issues page or on discord at okay#2996, thank you :)

deathswap's People

Contributors

okay1204 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.