#[Archived] [1.6.2] Lobby
1 messages · Page 1 of 1 (latest)
@sick lynx
You don't have to nest if
Just reverse the condition and return
It will make your code more readable
I mean in plugin.cs
OnPlayerJoined
[PluginEvent]
public bool OnPlayerInteractElevator(PlayerInteractElevatorEvent ev)
{
return IsLobby;
}
You can return variables like this
Thank you for your help, but I think I will create a different system. However, I will keep this one for now.
New release 1.5.1
https://github.com/MrAfitol/Lobby/releases/tag/1.5.1
[1.5.1] Lobby
New release 1.6.2
https://github.com/MrAfitol/Lobby/releases/tag/1.6.2
[1.6.2] Lobby
is it possible to add custom lobby location?
for example: i wanna make a custom lobby with ProjectMER and add that location as a cord?
Yes
So custom location is not working :{
lobby_player_role: Tutorial
# Allow people to talk over the intercom?
allow_icom: true
# Display text on Intercom? (Works only when lobby Intercom type)
display_in_icom: true
# What size will the text be in the Intercom? (The larger the value, the smaller it will be)
icom_text_size: 20
# What items will be given when spawning a player in the lobby? (Leave blank to keep inventory empty)
lobby_inventory:
# In what locations can people spawn? (If this parameter is empty, one of the custom locations (or custom room locations) will be selected)
lobby_location:
# This option is for a custom lobby location
custom_room_locations:
# This option is for a custom lobby location
custom_locations:
- position_x: 25.7975044
position_y: 292.208527
position_z: -42.9752884
rotation_x: 0
rotation_y: -0.00532091362
rotation_z: 0
beacuse it's using class spawnpoint XD
(Disclaimer that's not full config some part of it)
Xd
this plugin is literally archived on github
there is no reason to unlist this
someone can go and still look at this