Available Movement Items
Trident
A teleporting trident that teleports players to where it lands. How it works: Throw the trident, and you’ll instantly teleport to its landing position. The trident automatically returns to your inventory.config.yml
hubbly.use.trident
The trident includes special void protection - if it falls into the void, it automatically returns to your inventory.
Aspect of the End (AOTE)
A sword that teleports you forward 10 blocks on right-click. How it works: Right-click with the sword to instantly teleport 10 blocks in the direction you’re looking.config.yml
hubbly.use.aote
Grappling Hook
A fishing rod that pulls you to where the hook lands. How it works: Cast the fishing rod, and when it hits a block or reaches max distance, you’ll be pulled toward it with velocity-based movement.config.yml
hubbly.use.grappling_hook
Enderbow
A bow that teleports you to where the arrow lands. How it works: Shoot an arrow, and you’ll teleport to where it lands with an enderman teleport sound effect.config.yml
hubbly.use.enderbow
When Enderbow is enabled, players are automatically given an arrow in slot 17 on join and after each shot.
Configuration Options
material
material
The Minecraft material type for the item.Type: Material (Bukkit Material enum)
Note: Some items (Trident, Bow, Fishing Rod) should not be changed as they rely on specific mechanics.
Note: Some items (Trident, Bow, Fishing Rod) should not be changed as they rely on specific mechanics.
enabled
enabled
Whether the movement item is enabled on the server.Type: Boolean
Default: Varies per item
Default: Varies per item
name
name
The display name of the item. Supports RGB color codes using
Example:
<#RRGGBB> format.Type: StringExample:
"<#40E0D0>Trident"cooldown
cooldown
Cooldown in seconds between uses of the item.Type: Integer
Default: 1-3 seconds depending on item
Default: 1-3 seconds depending on item
Giving Items to Players
You can give movement items to players using the Hubbly menu system or through custom item configuration.Example: Movement Menu Item
items.yml
Implementation Details
Trident Mechanics
The trident system uses several listeners and managers:TridentListener.java
AOTE Teleportation
The AOTE calculates the forward position using vector mathematics:AoteListener.java
Grappling Hook Velocity
The grappling hook pulls players with velocity-based movement:RodListener.java
Cooldown System
All movement items use a unified cooldown system managed byCooldownManager. The cooldown types include:
CooldownType.TRIDENTCooldownType.AOTECooldownType.GRAPPLING_HOOKCooldownType.ENDER_BOW
Best Practices
Balance cooldowns
Adjust cooldowns based on your server’s gameplay. AOTE typically has a shorter cooldown (1s) since it only moves 10 blocks.
Test in your hub
Test each movement item in your hub environment to ensure they work well with your layout and don’t allow access to restricted areas.
Use RGB colors
Take advantage of RGB color codes to create visually appealing item names that match your server’s theme.
Disabled Worlds
Movement items automatically respect the disabled worlds configuration and won’t function in worlds listed indisabled-worlds.
config.yml
Related Features
- Double Jump - Another movement enhancement feature
- Launchpads - Block-based movement mechanics