1 Followed
283 Follower
Adrian_chupi
Admin
Aug 13, 2023
3,085 Mesaj
8,182 Reaction
0 Solution
113
First Message
100 Messages
500 Message
1K Message
No reward!
Key Features:
- Object/Ped/Vehicle Deletion
- Admins can delete nearby objects, peds, and vehicles within a specified radius for all players.
- Three dedicated server events handle these operations:
- server:deleteNearbyObjectsForAll
- server:deleteNearbyPedsForAll
- server:deleteNearbyVehiclesForAll
- These events trigger client-side events that remove entities in real-time from the server environment. Ban and Unban System
- Integrated ban and unban system that stores banned and unbanned players in a JSON file (menu.json).
- Banning: Admins can ban players based on their identifier. Banned players are immediately disconnected with a message indicating the reason for the ban.
- server:logDeletedEntities records deletion logs, including player info and entity details.
- Unbanning: Admins can unban players from the ban list by setting their login status to true.
- Player connection is checked against the ban list on login:
- playerConnecting event defers the player’s login if they are banned.
- Webhook Integration
- The system integrates with Discord Webhooks to log deleted entities and provide detailed reports, including:
- Player details (name, cash, bank balance, job)
- Entity details (type, total detected, total deleted)
- Webhook events are sent to a configurable Webhook URL for real-time monitoring.Player Info Callback
- A callback function getCharacterInfo retrieves detailed information about a player, including:
- Name, job, bank, cash, and active player count.
- Supports both ESX and QBCore frameworks for compatibility.
Link hidden for visitors. To see,
Log in or register now.
Last edited: