Giter Site home page Giter Site logo

2a5f / homeorback Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1.03 MB

A minecraft plugin,show a gui when you respawn to choose how respawn

Home Page: https://www.spigotmc.org/resources/homeorback.72029/

License: MIT License

Scala 100.00%
minecraft minecraft-plugin spigot-plugin spigot bukkit bukkit-plugin plugin home-or-back home back

homeorback's Introduction

HomeOrBack

Show a GUI interface after you die, letting you choose whether to respawn at spawn location or back to the location of death

Features:

  • Auto respawn (optional)
  • Auto back to death location (optional)
  • Display GUI to choose respawn mode (optional)
  • Back to the death location (optional)
  • Back to the vicinity of the death location (optional)
  • Show the location of death (optional)
  • Try not in water (optional)
  • Try not under leaves (optional)
  • Use /back to back the death location (optional)
  • Storge the death location (optional)
  • Kill self command (optional)
  • Support random teleport of cave world like world_nether
  • Support for generating uniform ring random location

Images

Choose how to respawn Respawn at the respawn location Respawn near the death location Commands Show death location

Config

# Language; English: en, 简体普通话: cmn_Hans, 简体文言文: lzh_Hans
lang: en

# Will not display the death screen
auto_respawn: true
# Set to true to auto back to the place of death after the player dies
auto_back: false

# Back to the random ground near the place of death
back_random:
  enable: true
  # Must > 0
  min: 8
  # Must > min
  max: 32
  # The maximum number of try to generate a random location
  # Must >= 10
  max_try: 100
  # The number of times a player can retry after a failure
  # Must >= 1
  max_retry: 3
  # Generate uniformly random location
  uniform: true
  # Generate random location on land as much as possible
  try_to_land: true
  # Never generate random location in the water
  never_water: false
  # Try generate under the tree
  try_not_leaves: true

# Use /back to back at any time
back_command: true
# show 'you can use /back' message
# require {back_command:true}
show_back_command_msg: false
# Will not display the respawn GUI
# require {back_command: true}
no_gui: false

# Show death location
show_death_loc: false

# Store the location of the death
store_location: true

# Use /killself to kill self
kill_self_command: true
  • If you want to add a cave world like world_nether, just add or modify the "world_name: true" in worlds.yml. However, the default will automatically judge, based on whether the top layer has bedrock and random sampling

homeorback's People

Contributors

2a5f avatar imgbotapp avatar

Stargazers

 avatar

Watchers

 avatar  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.