Sueta

WorldsBack

1.4

Plugin for /back command with worlds/global support

·Plugin

1-INSTRODUCTION.png

This plugin saves your previous location into a each player <uuid>.yml file in a folder "userdata" inside the directory plugin folder.

WorldsBack plugin came up because there is not any plugin that support /back command by worlds groups. This plugin its perfect for a server that prettends to be/act like a network or have different modalities

2-FEATURES.png

  • Allows players to teleport to their previous location (supports back on death)
  • Support global and shareds across worlds (Groups related worlds together)
    • If a world is not listed on config and per-world-back is on true, then will have their own previous location data
    • You can convert globals locations to shareds across worlds later with /wback convert
  • Check if your back location is safe
    • When a back location is unsafe will block teleport to avoid players diying or will ask a confirmatio and teleport if teleport-unsafe-locations is enabled.
  • Customizable command cooldown
  • Customizable delay before being teleported
  • Customizable messages
  • Full UUID Support

3-INSTALLATION.png

  • Download WorldsBack.
  • Shut down your server.
  • Move WorldsBack.jar to your server plugins folder.
  • Start the server and let the plugins generate config files.
  • Shut down again the server.
  • Change settings, messages and values from config files.
  • Start your server again
  • Done

Commands

Spoiler
  • /back
  • /wback help
  • /wback version
  • /wback reload
  • /wback convert (Only console command)
    • Convert all players global locations to per world (works with yours worlds groups).

Permissions

Spoiler
  • worldsback.use
    • /back
  • worldsback.admin
    • /wback help
    • /wback version
    • /wback reload
  • worldsback.teleport.delay.bypass
    • Allow bypass the teleport delay
  • worldsback.teleport.move.bypass
    • Allows you to move while you are being teleported

4-CONFIGURATION.png

config.yml
#           #####################################
#           #            WorldsBack             #
#           #          By KechuFonzo            #
#           #####################################
#
cmd-cooldown: 3
  # The cmd-cooldown affects to /sethome, /home and /delhome.
  # Time its on seconds, 0 = no cooldown.
 
teleport-delay: 3
  # The teleport-delay only affects the /home command.
  # Time its on seconds, 0 = no delay.
teleport-unsafe-locations: true
    # Unsafe location is a location that is dangerous for players (there is lava, player could suffocate, or could drown).
    # Its recomended leave this option on false.
    # If true then when a location isnt safe, WorldsBack would wait until a confirmation from the player
    # and if confirm would send to the location even if isnt safe.
per-world-back: false
  # If true then player /back locations will be saved by worlds groups.
  # If false then will be saved as global.
 
groups:
  group1:
   - world1
  - world2
  group2:
   - world3
  - world4
  # Groups are the group of worlds that you want to share the same /back locations from every player.
  # All worlds not listed will have their own data if per-world-back is on true.
message.yml
Messages:
  help:
     - '&6-----WorldsBack-----'
    - '&f/wback help'
    - '&f/wback version'
    - '&f/wback reload'
    - '&f/wback convert'
    version: '&aYou are using WorldsBack %version%.'
    reload: '&aThe config and messages files has been reloaded.'
    no-permission: '&4You dont have permission to execute this command!'
    only-players: '&cOnly players may execute this command.'
    only-console: '&cOnly console may execute this command.'
    cmd-cooldown: '&cYou need to wait %sec-left% seconds before using this command!'
    teleport-delay: '&cYou will be teleported on %sec-left% seconds! Please dont move.'
    teleport-cancel: '&cYou moved! Teletransportation canceled!'
    no-lastloc: '&cYou dont have back location!'
    not-safe: '&cYour /back location has been corrupted and isnt safe!'
    safe-not-found: '&cThere isnt near safe location!'
    is-safe: '&aSafe location found!'
    still-waiting-confirm: '&cYou have to confirm or deny your previous teletransportation first!'
    not-waiting-confirm: '&cYou are not waiting a teletransportation'
    confirm-needed: '&aDo /back confirm if you want to teleport to a near location'
    confirm-succed: '&aConfirm succeded!'
    confirm-canceled: '&cConfirm canceled!'
    confirm-expire: '&cConfirmation expired! Teletransportation canceled'
    on-death: '&aYou can teleport to your death location using /back.'
    success: '&aSuccessfully teleported!'
    usage: '&cUsage: /back'

6-SUPPORT.png

If you need any kind of help you cand send me a message here or via discord, or leave yout problem on discussion section! I do spanish and english support.

FAQ

  • Do you have discord?
    • Yes, my DiscordID is kechufonzo#9197.

7-DONATE.png

I have spent many hours making WorldsBack. if you want to support me, leave a review, or give me a little tip to cheer me up and motivate me to keep updating this resource.

Donatebutton.png

Disclaimer: This plugin could contain bugs, if you find one please report it in discussion section, or pm me.

Similar projects

Plugin →