LobbyAPI
What is LobbyAPI
LobbyAPI was created to manage multiple worlds and allow players to teleport to those worlds using user friendly menu, while being able to be fully configurable.Just by using the commands /lobby or /hub, the player has access to all worlds specified in the menu, where when they click on the block the represents a world they are teleported to location given to that world. LobbyAPI has tons of configurable methods to change the color of the block in the menu, the amount of that block, what spot it is located, and the description of the world, who can see or go to a world, along with the methods for how the world will interact with other worlds.
How to create and manage worlds
If you a re new to LobbyAPI, you can find a guide how to set up worlds at this link:
https://dev.bukkit.org/projects/lobbyapi/pages/events/basic-command-tutorial
Features
- Allows players to teleport from world to world.
- Menu is fully customizable
- Shows all players in given world
- Allows players to teleport from Server to Server (for bungee servers only).
- Allows other plugins to access when a player teleports to a new world or clicks on a new world in the menu.
- Works on all versions of Bukkit
- Plugin support LobbyAPI is just the back-bone for the plugins that will add the worlds. All that is needed to add a world to the menu will be under Developer Information.
Icon Customization is here!
Now you can easily customize the materials, description, and other attributes for each world registered!
Commands
/Lobby | Opens up the WorldMenu |
/Hub | Opens up the WorldMenu |
/LobbyApi | Allows you to change some properties of LobbyAPI |
/LobbyApi addWorld [world] [slot] [x][y][z]..... | Adds a world to the LobbyAPI menu |
/LobbyApi removeWorld [world] | Removes a world to the LobbyAPI menu |
/LobbyApi addServer [server-name] [slot] | Adds a server to the LobbyAPI menu |
/LobbyApi removeServer [server-name] | Removes a server to the LobbyAPI menu |
/LobbyApi listServers | Shows a list for all the servers |
/LobbyApi listWorlds |
Shows a list for all the worlds |
/LobbyApi setDefaultWeather [world] [weather] | Sets the default weather for a world. Choices are NORMAL, NO_RAIN, and ALWAYS_RAINING |
/LobbyApi addJoiningCommand [world] [command] | Adds a command that should be sent when a player joins that world. |
/LobbyApi removeJoiningCommand [world] [command id] | Removes a command that should be sent when a player joins that world. |
/LobbyApi listJoiningCommands [world] | Lists all the commands that are sent when a player joins that world. |
/LobbyApi listJoiningCommands [world] | Lists all the commands that are sent when a player joins that world. |
(There are a few more commands, but I've had issues recreating the table :p):
/LobbyAPI generateNetherAndEndFor", "Generates a nether and end world for the world"
/LobbyAPI setMainLobby", "Changes the default spawn world"
/LobbyAPI removeMainLobby", "Removes default spawn world"
/LobbyAPI setMaterial", "Sets the material icon for a world"
/LobbyAPI setDisplayName", "Changes a display name for a world."
/LobbyAPI setDescription", "Sets the description for a world"
/LobbyAPI hideWorld", "Hides a world from the menu."
/LobbyAPI showWorld", "Shows the world from the menu, if previously hidden"
/LobbyAPI setWorldSelector", "Sets the word selector to be the item in the sender's hand"
/LobbyAPI removeWorldSelector", "removes word selector"
/LobbyAPI setGamemode", "Sets the description for a world"
/LobbyAPI changeSpawn", "Changes the spawn location for a world"
/LobbyAPI version", "Gets the version of the plugin"
/LobbyAPI setvoidlooping", "Enables or disables teleporting players to spawn if they are in the void"
/LobbyAPI setdisablehealthandhunger", "Enables or disables health or hunger changes for worlds"
/LobbyAPI setlocationsaving", "Enables or disables location saving when a player leaves the world"
/LobbyAPI setcanuseportals", "Enables or disables portals for certain worlds."
/LobbyAPI addDefaultItem", "Adds the item in your hand to the list of default items."
/LobbyAPI removeDefaultItem", "Adds the item in your hand to the list of default items."
/LobbyAPI listDefaultItems", "Adds the item in your hand to the list of default items."
/LobbyAPI addDecor", "Adds a decor item to the hub menu"
/LobbyAPI removeDecor", "Removes a decor item."
/LobbyAPI toggleWhitelist", "Toggles whether the world is restricted to only certain players"
/LobbyAPI addToWhitelist", "Adds a player to a world's whitelist"
/LobbyAPI removeFromWhitelist", "Adds a player to a world's whitelist"
/LobbyAPI listWhitelist", "Adds a player to a world's whitelist"
/LobbyAPI goto", "Teleports the player to the spawn of a world"
Permissions:
- lobbyapi.*
- ---Gives access to all lobbyapi features
- lobbyapi.user
- --Gives all commands that users should have. If you do not know what permissions to give to your players, just give them this.
- lobbyapi.commands
- --Only gives access to commands
- lobbyapi.hub
- --Gives access to the /hub commands.
- lobbyapi.bypassworldlimits
- --Gives players the ability to join worlds that are private, or have gone over the player limit
Dependencies and Compatibility
LobbyAPI does not depend on any other plugin, and should work with all other plugins. If you receive any errors from my plugin or features or not enabled for you, please make a comment or ticket of this page.
Developer Information
If you want to register a world through a plugin, use the guide HERE . Call this method in onEnable method to register worlds when the plugin loads.
To add a BungeeServer to the menu, all you need is this line: LobbyAPI.registerBungeeServer(String bungeeServersName, Description, WoolColor);
How to Install
- Drop this plugin into you plugins folder
- Find/Create a plugin that will allow you get to your world
- Restart your server
This plugin uses bStats:
bStats is a metrics service that allows me to to see how many servers use my plugins, how many players they have, and which countries use my plugin the most. All information is anonymized, so no information can be directly linked to you, and instead is added to the average of all severs that use the plugin.
In reply to D347H_B07:
In reply to ZombieStryker:
In reply to D347H_B07:
Okay i got the next question ;D
When i die i dont spawn on my bed or on the spawn of the world i was.
Evertime i spawn on the world spawn from world XY
In reply to Forge_User_09965190:
hey get a similar problem like endlayer_gaming,
When i use as an Operator the HUB Plugin between two world i have my inventory. But the normal players got 2 inventorys 1 for the Bulding word 1 for the farming World.
Plugins : Multiverse core
Multiverse Portals
any solution ??
auto-update: true
hasBungee: false
Version: 3.7.27
Worlds:
world:
name: world
spawnLoc:
x: -258.4333364938174
y: 68.0
z: 604.7118342899145
w: world
weatherstate: NORMAL
i: 8
save: world
desc: ''
gamemode: SURVIVAL
color: 14
isMainLobby: true
Farm_Welt:
name: Farm_Welt
spawnLoc:
x: -242.39183383738418
y: 64.0
z: -215.00007873159208
w: Farm_Welt
weatherstate: NORMAL
i: 0
save: Farm_Welt
desc: ''
gamemode: SURVIVAL
color: 10
Bau_Welt:
name: Bau_Welt
spawnLoc:
x: -2271.4540240947213
y: 71.9375
z: 310.7190753289327
w: Bau_Welt
weatherstate: NORMAL
i: 4
save: Bau_Welt
desc: ''
gamemode: SURVIVAL
color: 5
DeDomeD:
world:
xp: 0.0
xpl: 1
health: 20.0
hunger: 17
i:
'8':
==: org.bukkit.inventory.ItemStack
type: APPLE
amount: 57
'0':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_SWORD
damage: 196
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: Excalibur
enchants:
DAMAGE_ALL: 4
LOOT_BONUS_MOBS: 3
'3':
==: org.bukkit.inventory.ItemStack
type: ROTTEN_FLESH
amount: 4
a: {}
Farm_Welt:
xp: 0.0
xpl: 1
health: 20.0
hunger: 20
i:
'0':
==: org.bukkit.inventory.ItemStack
type: WOOD_AXE
'1':
==: org.bukkit.inventory.ItemStack
type: STICK
amount: 3
'2':
==: org.bukkit.inventory.ItemStack
type: STONE
'3':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_SWORD
damage: 205
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: Excalibur
enchants:
DAMAGE_ALL: 4
LOOT_BONUS_MOBS: 3
'4':
==: org.bukkit.inventory.ItemStack
type: GRASS
'5':
==: org.bukkit.inventory.ItemStack
type: SPIDER_EYE
amount: 4
'6':
==: org.bukkit.inventory.ItemStack
type: APPLE
amount: 56
'7':
==: org.bukkit.inventory.ItemStack
type: STONE
damage: 3
amount: 3
'8':
==: org.bukkit.inventory.ItemStack
type: ROTTEN_FLESH
amount: 9
a:
'2':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_LEGGINGS
damage: 251
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 2
'3':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_CHESTPLATE
damage: 251
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 3
'4':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_HELMET
damage: 194
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
DURABILITY: 2
Bau_Welt:
xp: 0.0
xpl: 1
health: 8.0
hunger: 17
i:
'1':
==: org.bukkit.inventory.ItemStack
type: BONE
amount: 4
'2':
==: org.bukkit.inventory.ItemStack
type: ARROW
amount: 2
'3':
==: org.bukkit.inventory.ItemStack
type: ROTTEN_FLESH
amount: 4
'4':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_SWORD
damage: 196
meta:
==: ItemMeta
meta-type: UNSPECIFIC
display-name: Excalibur
enchants:
DAMAGE_ALL: 4
LOOT_BONUS_MOBS: 3
'5':
==: org.bukkit.inventory.ItemStack
type: IRON_SPADE
'6':
==: org.bukkit.inventory.ItemStack
type: GRASS
'8':
==: org.bukkit.inventory.ItemStack
type: APPLE
amount: 57
pasinalk13:
world:
xp: 0.47619042
xpl: 7
health: 20.0
hunger: 20
i:
'0':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_SWORD
damage: 460
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
DAMAGE_ALL: 3
LOOT_BONUS_MOBS: 2
SWEEPING_EDGE: 1
repair-cost: 1
'1':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_PICKAXE
damage: 831
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
DIG_SPEED: 3
SILK_TOUCH: 1
DURABILITY: 1
repair-cost: 3
'2':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_AXE
damage: 988
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
DIG_SPEED: 2
'3':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_SPADE
damage: 790
'4':
==: org.bukkit.inventory.ItemStack
type: COOKED_BEEF
amount: 17
'10':
==: org.bukkit.inventory.ItemStack
type: SAND
amount: 7
'12':
==: org.bukkit.inventory.ItemStack
type: RED_ROSE
damage: 3
'19':
==: org.bukkit.inventory.ItemStack
type: STONE
damage: 5
amount: 44
'20':
==: org.bukkit.inventory.ItemStack
type: STONE
damage: 1
amount: 3
'26':
==: org.bukkit.inventory.ItemStack
type: ARROW
amount: 3
'7':
==: org.bukkit.inventory.ItemStack
type: DIRT
amount: 18
'13':
==: org.bukkit.inventory.ItemStack
type: RED_ROSE
'9':
==: org.bukkit.inventory.ItemStack
type: TORCH
amount: 8
'11':
==: org.bukkit.inventory.ItemStack
type: SEEDS
amount: 2
'6':
==: org.bukkit.inventory.ItemStack
type: STEP
amount: 13
'8':
==: org.bukkit.inventory.ItemStack
type: WORKBENCH
'14':
==: org.bukkit.inventory.ItemStack
type: WOOD
damage: 2
'15':
==: org.bukkit.inventory.ItemStack
type: WOOD
amount: 64
'16':
==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
amount: 64
'25':
==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
amount: 4
'29':
==: org.bukkit.inventory.ItemStack
type: BOAT_DARK_OAK
'30':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_PICKAXE
damage: 857
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
DIG_SPEED: 2
repair-cost: 1
'31':
==: org.bukkit.inventory.ItemStack
type: WOOD
amount: 19
a:
'1':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_BOOTS
damage: 356
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 1
PROTECTION_FALL: 1
repair-cost: 1
'2':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_LEGGINGS
damage: 356
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 1
'4':
==: org.bukkit.inventory.ItemStack
type: DIAMOND_HELMET
damage: 289
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 1
DURABILITY: 1
Farm_Welt:
xp: 0.0
xpl: 0
health: 20.0
hunger: 17
Bau_Welt:
xp: 0.0
xpl: 0
health: 20.0
hunger: 20
Flofaso:
world:
xp: 0.19273128
xpl: 2
health: 20.0
hunger: 20
i:
'0':
==: org.bukkit.inventory.ItemStack
type: IRON_AXE
damage: 57
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
DAMAGE_ALL: 1
repair-cost: 1
'1':
==: org.bukkit.inventory.ItemStack
type: IRON_PICKAXE
damage: 225
'2':
==: org.bukkit.inventory.ItemStack
type: IRON_SPADE
damage: 3
'3':
==: org.bukkit.inventory.ItemStack
type: DIRT
amount: 5
'4':
==: org.bukkit.inventory.ItemStack
type: BREAD
amount: 6
'5':
==: org.bukkit.inventory.ItemStack
type: INK_SACK
damage: 15
amount: 7
'6':
==: org.bukkit.inventory.ItemStack
type: PORK
amount: 2
'7':
==: org.bukkit.inventory.ItemStack
type: STEP
damage: 4
amount: 3
'8':
==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
amount: 64
'9':
==: org.bukkit.inventory.ItemStack
type: STONE
damage: 5
amount: 13
'10':
==: org.bukkit.inventory.ItemStack
type: COAL
amount: 13
'12':
==: org.bukkit.inventory.ItemStack
type: REDSTONE
amount: 64
'13':
==: org.bukkit.inventory.ItemStack
type: WOOD
'14':
==: org.bukkit.inventory.ItemStack
type: COBBLESTONE
amount: 14
'15':
==: org.bukkit.inventory.ItemStack
type: STONE
damage: 1
amount: 8
'16':
==: org.bukkit.inventory.ItemStack
type: REDSTONE
amount: 35
'23':
==: org.bukkit.inventory.ItemStack
type: BRICK
amount: 44
'24':
==: org.bukkit.inventory.ItemStack
type: BRICK_STAIRS
amount: 5
'26':
==: org.bukkit.inventory.ItemStack
type: WOOD_STEP
amount: 28
'35':
==: org.bukkit.inventory.ItemStack
type: INK_SACK
damage: 4
amount: 10
a:
'1':
==: org.bukkit.inventory.ItemStack
type: IRON_BOOTS
damage: 114
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 1
'2':
==: org.bukkit.inventory.ItemStack
type: IRON_LEGGINGS
damage: 114
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 1
'3':
==: org.bukkit.inventory.ItemStack
type: IRON_CHESTPLATE
damage: 114
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 1
'4':
==: org.bukkit.inventory.ItemStack
type: IRON_HELMET
damage: 114
meta:
==: ItemMeta
meta-type: UNSPECIFIC
enchants:
PROTECTION_ENVIRONMENTAL: 1
In reply to Forge_User_09965190:
In reply to ZombieStryker:
In reply to Forge_User_09965190:
In reply to Forge_User_09965190:
In reply to Forge_User_09965190:
In reply to ZombieStryker:
Hey great plugin, But im having a problem to where when I set the default gamemode of a world to Creative on Multiverse and LobbyAPI it still forces the gamemode to survival once entered into that world yet both configs say the forced gamemode is creative
In reply to endslayer_gaming:
In reply to endslayer_gaming:
In reply to ZombieStryker:
In reply to endslayer_gaming:
In reply to ZombieStryker:
In reply to ZombieStryker:
In reply to endslayer_gaming: