Sueta

Gravity Tubes | 1.9 - 1.17 |

1.11.4

A new innovative transportation alternative featuring cool animations and functionality!

·Plugin


Gravity Tubes (GT) is a new visually appealing alternative to convenient vertical transportation. GT allows you to create vertical tubes in which gravity is inverted. Tubes can be customized with particle color, height, speed/power, and more! You may descend in a tube simply by sneaking!

Test Server: 142.44.222.241:25602



Above are two short showcase GIFs. The first one demonstrates using a gravity tube - simply enter it to go up; hold shift to go down. The other GIF showcases how easy it is to create and customize gravity tubes in-game via the built-in command editor.

  • Lightweight.
  • Visually pleasing.
  • Easy vertical movement.
  • Create an unlimited amount of gravity tubes.
  • Usable on almost any type of server and hubs.
  • Built-in easy to use in-game gravity tube configurator.
  • Ability to disable fall damage for players if they descend by shifting.
  • A gravity tube may be higher than the world's height limit of 256 blocks!
BossBars


German Plugin Tutorial
YouTube
Created by @Doppelblock - Plugin version 1.10.0 on Spigot 1.15.2.

More Videos

Russian Plugin Tutorial
YouTube
Created by @DarkSumrak - Plugin version 1.10.5 on Spigot 1.13.2.


/gravitytubes:
Aliases: [gravitytube, gravity, gtube, gtubes, gt]
All commands below require the gravitytubes.commands permission alongside the individual command permission.

  • /gt [help]
    Alias: [h]
    Prints the help menu. The help menu is clickable and contains hover messages with instructions.
    Permission:
    • gravitytubes.commands.help
  • /gt create [height] [power]
    Alias: [cr, c]
    Creates a gravity tube at the location you're looking at. The location has to be a block.
    Height is the height in blocks - default is the distance to the top of the world.
    Power is the levitation speed - default is 5.
    Permission:

    • gravitytubes.commands.create
  • /gt settings <setting> [value...]
    Alias: [set, s]
    Set/Change/Reset various settings on a particular gravity tube. Look at the source of the gravity tube and execute the command. All settings are listed in the in-game hover message in the /gt help message.
    Leave the value parameter empty to set the value to the built-in default.
    Permission:
    • gravitytubes.commands.settings (Grants permission to all settings)
    • Sub Permissions: (Grants permission to specific settings)
      • gravitytubes.commands.settings.height
      • gravitytubes.commands.settings.height.<max_height>
      • gravitytubes.commands.settings.power
      • gravitytubes.commands.settings.color
      • gravitytubes.commands.settings.type
  • /gt delete
    Alias: [del, d, remove, rem, r]
    Deletes the gravity tube you're looking at. You have to look at the source of the tube i.e. the block it was created on.
    Permission:
    • gravitytubes.commands.delete
  • /gt info
    Alias: [inf, i]
    Prints info about the gravity tube you're looking at. You have to look at the source of the tube i.e. the block it was created on.
    Permission:
    • gravitytubes.commands.info

/gravitytubesadmin:
Aliases: [gravitytubeadmin, gravityadmin, gtubeadmin, gta]
All commands below require the gravitytubes.admin permission.

  • /gta [help]
    Alias: [h]
    Prints the help menu. The help menu is clickable and contains hover messages with instructions.
  • /gta list [page]
    Aliases: [li, l]
    Shows a list of all configured gravity tubes and their info. Use the page parameter to open a specific page in the list.
  • /gta info
    Aliases: [inf, i]
    Displays version info and offers quick links for new versions and support.
  • /gta reload
    Alias: [rel, r]
    Reloads all configuration files.

Other permissions:

  • gravitytubes.use
    Players with this permission are allowed to use gravity tubes.
  • gravitytubes.update
    Players with this permission are notified of new updates.


Some files might contain more options due to new updates.

config.yml
#####################################################################################
# +-------------------------------------------------------------------------------+ #
# |     ____                     _  _            _____        _                   | #
# |    / ___| _ __  __ _ __   __(_)| |_  _   _  |_   _|_   _ | |__    ___  ___    | #
# |   | |  _ | '__|/ _` |\ \ / /| || __|| | | |   | | | | | || '_ \  / _ \/ __|   | #
# |   | |_| || |  | (_| | \ V / | || |_ | |_| |   | | | |_| || |_) ||  __/\__ \   | #
# |    \____||_|   \__,_|  \_/  |_| \__| \__, |   |_|  \__,_||_.__/  \___||___/   | #
# |                                      |___/                                    | #
# | By: Benz56                                                                    | #
# +-------------------------------------------------------------------------------+ #
#####################################################################################


# Control if players should be able to descend by sneaking when inside a Gravity Tube.
SneakToFall: true

# Should fall damage in Gravity Tubes be disabled when players fall by sneaking?
DisableFallDamage: true

# Update Checker.
# false: All OPs are notified of a new update when they join.
# true: OPs are only notified if they have the gravitytubes.update permission as well.
# N.B. any user with the gravitytubes.update permission is notified; OP or not.
UpdateCheckerPermissionOnly: false
gravitytubes.yml
# This file contains all Gravity Tubes created on your server.
#
# Do not edit this file manually unless you know exactly what you're doing.


GravityTubes:
  world, 10, 65, 0:
    height: 25
    power: 7
    color: green
  world, 5, 78, -67:
    height: 128
    power: 15
    color: '&e'
messages.yml
# This is the Message file for all Gravity Tubes messages.
#
# All messages are fully customizable and support color codes, formatting and ASCII symbols.
# Set the Prefix and use %prefix% to add the corresponding prefix to a message.
# Leave a message blank ('') to disable it.
#
# You can also create messages with Hover and Click events. Syntax options: (Space between comma and quote is NOT allowed)
#  - ["Message","/Command"]
#  - ["Message","Hover"]
#  - ["Message","/Command","Hover"]
#  - ["Message","/Command","Suggest"]
#  - ["Message","/Command","Hover","Suggest"]
# You can add as many events to a message as you want. Example:
# '%prefix% &cInvalid arguments! ["&c&n&oHelp","/gravitytubes help","&aClick to get help!"]'
# The "Suggest" tag is used if the click event should suggest the command. Default is Run.


Prefix: '&7[&eGravity Tubes&7]'
Messages:
  General:
    InvalidPermission: '%prefix% &cYou do not have permission to do this!'
    NoCommands: Unknown command. Type "/help" for help.
    PlayerOnly: '%prefix% &cCommand can only be used as a Player!'
    InvalidArguments: '%prefix% &cInvalid arguments! ["&c&n&oHelp","/gravitytubes help","&aClick to get help!"]'
  GravityTubes:
    TubeCreated: '%prefix% &aGravity tube created!'
    TubeRemoved: '%prefix% &aGravity tube removed!'
    CantCreate: '%prefix% &cCan''t create a gravity tube here!'
    NoTube: '%prefix% &cNo gravity tube found at the targeted location!'
    SettingReset: '%prefix% &aThe setting was set to the default!'
    SettingSet: '%prefix% &aThe setting was successfully set to the specified value!'
  Admin:
    ConfigurationsReloaded: '%prefix% &aConfiguration files successfully reloaded!'


Installing Gravity Tubes is as simple as with any other plugin.

  1. Download Gravity Tubes.
  2. Drag and drop the plugin into your plugins folder.
  3. Start/Restart/Reload your server.
  4. Configure the plugin as you wish.
  5. Give the players/groups who should be able to use gravity tubes the "gravitytubes.use" permission.
  6. Start creating gravity tubes.


Gravity Tubes solely supports Spigot servers. That being said the plugin should work on Spigot forks such as PaperSpigot as well, however, I will only be fixing bugs occurring on pure Spigot servers unless very simple.

Confirmed working versions:

  • 1.9 - 1.17

Please note that the gravity tubes won't work for 1.8 clients if you're running a 1.9+ server with backward compatibility.

Supported AntiCheats:

  • NoCheatPlus
  • Matrix AntiCheat
  • AAC

(Send me a pm if you want another AntiCheat supported)

Support for 1.8 won't be added due to the main functionality being reliant on certain features added in version 1.9.

Similar projects

Plugin →