Installation
Installation
- Group
- Steam
- License
Bind to your desired group as minimum group grade, eg: mod.. mod, admin, super admin will have the ace perms.
add_ace group.admin n_easysit allow
Not Reccomended.
add_ace identifier.steam:xxxxxxxxxxxxx "n_easysit" allow
Not Reccomended.
add_ace identifier.license:xxxxxxxxxxxxx "n_easysit" allow
SQL File: n_easysit/n_chairs.sql
DROP TABLE IF EXISTS `n_easysit`;
CREATE TABLE `n_easysit` (
`id` int NOT NULL AUTO_INCREMENT,
`data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = DYNAMIC;
SET FOREIGN_KEY_CHECKS = 1;
server.cfg
ensure n_easysit
Command And Notification
- Command
- The name you have to set for example right is /~nchairs , to enable the Creator
- Notify(msg, typ)
- The notification function for our system.
- msg, the message we pass into the function.
- typ, the type we pass into the function success, warning, error.
- By default we use txAdmin notification system TriggerEvent('txAdmin:receiveDirectMessage', msg, "N - Easy Sit"), You can change this event into your desired notification system.
Discord Webhook Logs
n_easysit/server/logger.lua
Discord = {
botName = 'My Awesome Bot Name',
name = "My Awesome Bot Name",
avatar = "https://cdn.discordapp.com/attachments/XXXXXXXXXXXXX/XXXXXXXXXXXXXX/XXXXXXXXXXXXX.png",
hook = "https://discord.com/api/webhooks/XXXXXXXXXXX/XXXXXXXXXXXXXXXXXXX"
}