ModsJava
Lobby Handler |Bukkit or Spigot
This plugin helps in putting players in lobbies so they can be easily moved to game. Free Minecraft Java mod for 1.12.
⬇ Download on Spigot What this plugin does?
___________________________________________________________
The plugin organises players in lobbies so they can be easily teleported or moved to a game .
Features?
___________________________________________________________
-Create lobbies for players that players can join or leave.
-Lobbies have a password .
-Lobbies can be open or close .
-Players who leave are automatically removed from the lobby.
-The plugin is mainly made to be used by other developers.
-Uses SQLite3 Database for storing and recovering lobbies data.
-Easy to use.
Commands
___________________________________________________________
-/LHCreator <lobbyname> <numberOfPlayers> <optional: password>
//Create a new lobby with the given data -password is optional.
-/LHFinish
//After placing all blocks you will be able to use this command to store the lobby.
-/LHRemove <lobbyName>
//Removes the lobby with the given name.
-LHRemove
//Remove the lobby you are currently working in.This works only after using /lhcreator command.
-LHList
//Shows all the lobbies available and its data(without a pass).
-LHJoin <lobbyname> <Password if there is>
//The player executing this command will join the lobby with the given name.
-LHQuit
//Quit the lobby you are currently in.
-LHOpen <lobbyName>
//Opens a close lobby
-LHClose <lobbyName>
//Closes an open Lobby
-LHSetupInv
-//Open an inventory that you can place you items in.(Command inventory)
-LHRStack <NewStackName>
//Rename the stack so that it can be placed in the inventory and to be used as a command item.
Permissions:
___________________________________________________________
-LH.Creator ->/LHCreator
-LH.Finish ->/LHFinish
-LH.Open ->/LHOpen
-LH.Close ->/LHClose
-LH.Quit ->/LHQuit
-LH.Join ->/LHJoin
-LH.Remove ->/LHRemove
-LH.Msg ->/LHMsg
-LH.BreakInLobby -> allows the player to break when in a lobby
-LH.RStack -> /lHRStack
-LH.SetupInv->/lHSetupInv
-LH.Admin ->All commands
-LH.User ->/LHList , /LHJoin,/LHMsg and /LHQuit commands
Upcoming Features:
___________________________________________________________
-Player kick or force join to a lobby
-Player Ban
-Party leader
-Lobby Host (NPC) commands(added at v 1.2)
-Lobby Effects
-Kickall players
-Remove passwords from lobbies
-In lobby players can not break or hit other players(added at v 1.1)
-After Leaving a lobby teleport to a specific point.
-Command to execute after the time runs out .(v1.3)
-Lobby Countdown.(v1.3)
Added Lobby command after the time finishes:
___________________________________________________________
Now ,once you used your /lhfinish command your lobby is now finished.After that head to the LobbyHostCommands.yml file.
In there Locate your lobby name there will be an option
"TimeElapseCommand:" put your command there.Note that
you can use <player> for getting the player name.For example:
"TimeElapseCommand: give <player> Diamond " will give each player in this lobby a diamond after the time elapses.The executor of that command is the console.So players must not have the permission.
Finally added the lobby commands :
How to add lobby commands?
___________________________________________________________
<P/C>_<Command with arguments without the dash>_<Item display name>
and c refers to the console command.
4.-Do /lhsetupinv now you can put your renamed items.Any item that does not follow the rule it will ignored.
5.-Do /lhfinish now you can join your lobby and see what commands you have put.
6.-Right click the Host and see the commands .
Note:
Don't put items with the same type name etc it will not work.
Naming Rule Examples:
C_heal notch_heal notch?
this command will be executed by the console and it will heal notch.The display name of that command is heal notch?
P_gamemode 1_change to creative mode?
This command will be executed by the player and it will change the gamemode of that player to creative.And the display text is "change to creative mode?".
For Developers use:
___________________________________________________________
First , you use your plugin manger to make an instance of LobbyHandler.
You can use these methods for managing players.
//These methods can be used when you use this line of code
Donations:
___________________________________________________________
Any donation is appreciated on this link
paypal.me/abdrnasr
Reporting Bugs Or Feature Requests:
___________________________________________________________
For Bugs send me a message describing your issue .
For Feature Requests send me a message stating what do you suggest.
Video Tutorial(s) :
v1.1.1
v 1.2
Setup just drop the file in the plugins folder and run the server.
This plugin development will stop unless future requests or issues were reported thanks.
___________________________________________________________
The plugin organises players in lobbies so they can be easily teleported or moved to a game .
Features?
___________________________________________________________
-Create lobbies for players that players can join or leave.
-Lobbies have a password .
-Lobbies can be open or close .
-Players who leave are automatically removed from the lobby.
-The plugin is mainly made to be used by other developers.
-Uses SQLite3 Database for storing and recovering lobbies data.
-Easy to use.
Commands
___________________________________________________________
-/LHCreator <lobbyname> <numberOfPlayers> <optional: password>
//Create a new lobby with the given data -password is optional.
-/LHFinish
//After placing all blocks you will be able to use this command to store the lobby.
-/LHRemove <lobbyName>
//Removes the lobby with the given name.
-LHRemove
//Remove the lobby you are currently working in.This works only after using /lhcreator command.
-LHList
//Shows all the lobbies available and its data(without a pass).
-LHJoin <lobbyname> <Password if there is>
//The player executing this command will join the lobby with the given name.
-LHQuit
//Quit the lobby you are currently in.
-LHOpen <lobbyName>
//Opens a close lobby
-LHClose <lobbyName>
//Closes an open Lobby
-LHSetupInv
-//Open an inventory that you can place you items in.(Command inventory)
-LHRStack <NewStackName>
//Rename the stack so that it can be placed in the inventory and to be used as a command item.
Permissions:
___________________________________________________________
-LH.Creator ->/LHCreator
-LH.Finish ->/LHFinish
-LH.Open ->/LHOpen
-LH.Close ->/LHClose
-LH.Quit ->/LHQuit
-LH.Join ->/LHJoin
-LH.Remove ->/LHRemove
-LH.Msg ->/LHMsg
-LH.BreakInLobby -> allows the player to break when in a lobby
-LH.RStack -> /lHRStack
-LH.SetupInv->/lHSetupInv
-LH.Admin ->All commands
-LH.User ->/LHList , /LHJoin,/LHMsg and /LHQuit commands
Upcoming Features:
___________________________________________________________
-Player kick or force join to a lobby
-Player Ban
-Party leader
-Lobby Host (NPC) commands(added at v 1.2)
-Lobby Effects
-Kickall players
-Remove passwords from lobbies
-In lobby players can not break or hit other players(added at v 1.1)
-After Leaving a lobby teleport to a specific point.
-Command to execute after the time runs out .(v1.3)
-Lobby Countdown.(v1.3)
Added Lobby command after the time finishes:
___________________________________________________________
Now ,once you used your /lhfinish command your lobby is now finished.After that head to the LobbyHostCommands.yml file.
In there Locate your lobby name there will be an option
"TimeElapseCommand:" put your command there.Note that
you can use <player> for getting the player name.For example:
"TimeElapseCommand: give <player> Diamond " will give each player in this lobby a diamond after the time elapses.The executor of that command is the console.So players must not have the permission.
Finally added the lobby commands :
How to add lobby commands?
___________________________________________________________
- -/lhcreator and make the lobby with the name you want
- -use /lhrstack to rename you are items that you want it to be put in commands.
- -naming should look something like this->P_LHQuit_Leave Lobby?
- P refers to the player this means that the player will execute this command and he should have the permission to use that command(i guess).
- LHQuit is the command that the player will execute
- Leave lobby is the display name
<P/C>_<Command with arguments without the dash>_<Item display name>
and c refers to the console command.
4.-Do /lhsetupinv now you can put your renamed items.Any item that does not follow the rule it will ignored.
5.-Do /lhfinish now you can join your lobby and see what commands you have put.
6.-Right click the Host and see the commands .
Note:
Don't put items with the same type name etc it will not work.
Naming Rule Examples:
C_heal notch_heal notch?
this command will be executed by the console and it will heal notch.The display name of that command is heal notch?
P_gamemode 1_change to creative mode?
This command will be executed by the player and it will change the gamemode of that player to creative.And the display text is "change to creative mode?".
For Developers use:
___________________________________________________________
First , you use your plugin manger to make an instance of LobbyHandler.
You can use these methods for managing players.
//These methods can be used when you use this line of code
Code (Text):
LobbyHandler lh=(LobbyHandler)Bukkit.getPluginManger().getPlugin("LobbyHandler");
Code (Text):
- public ArrayList<Lobby> getLobbies()
//returns an array containing all lobbies information.
- public ArrayList<Player> getOrRemovePlayersFromLobby(String lobbyName,boolean removePlayersFromLobby)
//lobbyName is the lobby to get its players.
//removePlayersFromLobby .If this is true the players will be removed from //the lobby after getting their instances.if this is false players will not be //removed from the lobby.
Code (Text):
- public ArrayList<Lobby> getLobbies()
//returns an array containing all lobbies information.
- public ArrayList<Player> getOrRemovePlayersFromLobby(String lobbyName,boolean removePlayersFromLobby)
//lobbyName is the lobby to get its players.
//removePlayersFromLobby .If this is true the players will be removed from //the lobby after getting their instances.if this is false players will not be //removed from the lobby.
Donations:
___________________________________________________________
Any donation is appreciated on this link
paypal.me/abdrnasr
Reporting Bugs Or Feature Requests:
___________________________________________________________
For Bugs send me a message describing your issue .
For Feature Requests send me a message stating what do you suggest.
Video Tutorial(s) :
v1.1.1
v 1.2
Setup just drop the file in the plugins folder and run the server.
This plugin development will stop unless future requests or issues were reported thanks.
Lobby Handler |Bukkit or Spigot is a free Minecraft Java mod. Compatible with Minecraft 1.12. Downloaded 623 times (via Spigot). Download it and open it directly in the game.