Discord API!
Description
Discord API
No more complicated stuff!
Easily drag and drop the Discord API into your resources folder! Set the resource up via the easily readable documentation (included). We provide a bot which your can invite to your Discord server, or create your own by reading the documentation! Use this API for various options like: Permissions, role checks, our custom player list resource, our custom allow list check resource and loads of more options to come.
Developers can utilize this script for many of their own resources. We shall provide with additional purchasable resources if you do not wish to code them yourself
This script is inspired by Badgers Discord API and for a low price of 1GBP for everyone to use on their FiveM server!
Originally planned a free release, but since we are not allowed to escrow the bot token we have to charge a minimum for it.
This script utilizes:
- Discord Playerlist
- Discord Allowlist
- Discord linked admin system
- More scripts in our portfolio!
Credits:
Mike
Night
(Inspired by) JaredScar (Badger Discord API)
Once again, simple, lightweight and straight forward!
Features
Server export functions (LUA) → DOCUMENTATION
server_exports {'IsUserPartOfThisGuild', 'IsUserPartOfAnyOfTheseGuilds', 'IsUserPartOfAllOfTheseGuilds',
'GetDiscordMember', 'GetDiscordMemberRoles', 'IsMemberPartOfThisRole', 'IsMemberPartOfAnyOfTheseRoles',
'IsMemberPartOfAllOfTheseRoles', 'GetDiscordGuild'}
How to utilize the export functions?
Read all about it in the included documentation.
v1.0.1
- Public release of the configurable Discord API.
- Configure your role ID’s and role names in the config.lua and utilize your discord server in-game.
- Included a bot invite, allowing you to skip making a bot! (Documentation.pdf)
- Included a tutorial to create your own custom bot, providing this resource on your FiveM server. (Documentation.pdf)
- Escrow protected.
V1.7.0
- Added documentation to https://docs.nights-software.com
- Added colouring and log levels to printouts
- Added config options to set a log level and a cooldown for the same log messages
- Replaced the API URL with an updated one. (“https://discord.com/api/v9/”)
v2.0.0
- Added support for multiple Discord servers/guilds (replace
Discord_Guild_ID
withDiscord_Guild_Names
in the config to specify your guilds) - Removed export:
IsUserPartOfGuild
- Added exports:
IsUserPartOfThisGuild
,IsUserPartOfAnyOfTheseGuilds
,IsUserPartOfAllOfTheseGuilds
- Modified some existing exports (read more in our documentation)
Video Showcase
Obtain this or one of our other resources via our Tebex store
https://store.nights-software.com
Our other resources:
- Natural Disasters + DLC 1 & DLC2 & DLC3 & DLC4 BUNDLE or obtain them separately:
- Natural Disasters (required to purchase the DLC1/2/3/4)
- Natural Disasters DLC1 (required to purchase DLC2)
- Natural Disasters DLC2 (required to purchase DLC3)
- Natural Disasters DLC3 (required to purchase DLC4)
- Natural Disasters - DLC4 (Tsunami’s in FiveM)
- Vehicle Spawns
- Aircraft Radar FiveM
- Night Shifts - MDT
- Air Raid Sirens
- YT Ambilight Loadingscreen
- Party System
- Ammoboxes & Crates
- Discord Playernames
- Discord wPerms
- Boat Rescue
- Discord Lockers
- Discord Linked Weapon Crates
- Customisable Garage System
- Discord Linked vPerms / Vehicle Allowlist
- Discord Linked Spawn Selector
- Airtstrikes FiveM
- Onto the seas! (Anchoring, mooring & depth meter
- Handheld Smoke Generator
- Props & Speedzones v2
- Mechanic & Recovery Job
- Vehicle Lift
- Discord linked admin system
- Discord Playerlist
- Discord Allowlist
- Discord API
- Easy Vehicle Locks
- Easy Zones
- Gemstone Mining Job
- Landing zone alarm
- Advanced Tracking
- Coma, Injured and Down medical system
- Easy 3D Text Labels
- Vehicle Rentals
- NPC & Player CPR
[& more…](https://store.nights-software.com/ )
Code accessible | Partially |
Subscription based | No |
Lines (approximately) | 300 |
Requirements | None |
Support | Yes |