Jump to content

xAlloshFN

Member
  • Posts

    166
  • Joined

  • Last visited

Everything posted by xAlloshFN

  1. can u fix it pls
  2. if u can do Elo with Tags OnGameChat Like when some one Killed 3 player he get #Elo 1 [username] that will be good i trying looking for Elo plugin Like ranks for player
  3. this is not ur plugin this other plugins
  4. that same things u have to do but i don't know how i do it
  5. void OnPlayerDisconnected(BasePlayer player, string reason) { RemoveFromLobbies(player); if (!player.IsDestroyed) player.Kill(); }
  6. object OnPlayerRespawn(BasePlayer player) { if (player == null || player.IsNpc) return null; Vector3? spawnPoint = Interface.Call(nameof(IAdvancedLobby.HandleOnPlayerRespawn), player) as Vector3?; if (!spawnPoint.HasValue) { var spawnPointData = GetSpawnPoint(player); if (spawnPointData == null) return null; spawnPoint = spawnPointData.Item1; } if (!spawnPoint.HasValue) { return null; } return new BasePlayer.SpawnPoint { pos = spawnPoint.Value, rot = new Quaternion(0, 0, 0, 1) }; } public void TeleportToLobby(BasePlayer player, int lobbyId, Vector3 destination) { if (player == null || player.IsNpc || destination.Equals(Vector3.zero)) return; Lobby destinationLobby; if (Lobbies.TryGetValue(lobbyId, out destinationLobby) && destinationLobby != null) { if ((!destinationLobby.Data.RestrictAccess || destinationLobby.Data.AllowedPlayers.Contains(player.userID)) && !destinationLobby.Data.BannedPlayers.Contains(player.userID)) { RemoveFromLobbies(player); destinationLobby.ActivePlayers.Add(new LobbyPlayer(player)); GiveLoadout(player, destinationLobby.Data.LoadoutName); ResetPlayer(player); Teleport(player, destination); Ui.ClearAllMenus(player); return; } ShowMessage(player, Messages.LobbyNoAccess, this); } ShowMessage(player, Messages.LobbyNotFound, this); } private void OnPlayerConnected(BasePlayer player) { if (player == null || player.IsNpc) return; if (!permission.UserHasPermission(player.UserIDString, PermissionIgnore)) player.inventory.containerWear.SetLocked(true); var spawnPoint = GetSpawnPoint(player); if (spawnPoint?.Item1 != null) { TeleportToLobby(player, spawnPoint.Item2, spawnPoint.Item1.Value); } UpdatePlayerProfileImage(player.userID); } i have this in other plugin have same u need to do if that will helps you
  7. i spawn in the meddle map not lobby spawn but when i go close the lobby i got crashed buy message
  8. @voodooLight i meant i need players when they Disconnected the Vehicle his own will be delete it or if Player Dead the Vehicle his own will be delete it that for event's i don't need the small map have all his vehicles
  9. Error while compiling BedWars: The name 'player' does not exist in the current context | Line: 3434, Pos: 32
  10. can you do OnPlayerDeath & OnPlayerDisconnected Remove his Vehicle
  11. it's only Kicked me from event but not get me tp out to Spawn me in the lobby when i connected i hope u know what i mean i just need player be in lobby when they disconnected from event to spawn back to the lobby but don't let him be sleep let him be like frist time he join server and he spawn on lobby that will be good thanks for great job.!
  12. i do true Remove player from arena when disconnect still not get kicked to the lobby
  13. can u fix it pls i do my best i can't disable this message it's come back when some one shot base or to player i was delete config the message come again pls fix it
  14. good job every things good now thanks so much ❤️ @Ryuk_
  15. - arena radius is fine and the bese inside the zone the base not be delete - when i type /leave i'm be dead too because the zone kill me when i leave event
  16. sry i will check that arrowroot if u can close my ticket to see u that tomorrow thanks for doing great bedwars
  17. sry i will check that again i'm not sure right now i will test it again
  18. sry i will check it again i think i forget some thing on plugin
1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

121.2k

Files Sold

Total number of files sold.

2.5m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.