mirror of
https://github.com/SantaSpeen/Rcon-VK-Bot.git
synced 2026-02-16 02:20:45 +00:00
Plugins?
This commit is contained in:
20
src/plugins/LuckPerms/LuckPerms.py
Normal file
20
src/plugins/LuckPerms/LuckPerms.py
Normal file
@@ -0,0 +1,20 @@
|
||||
try:
|
||||
import Bot
|
||||
import logger
|
||||
except ImportError:
|
||||
Bot = object
|
||||
|
||||
|
||||
class Plugin(Bot):
|
||||
|
||||
ac_dir = "./perms"
|
||||
|
||||
def __init__(self):
|
||||
super(Plugin, self).__init__()
|
||||
logger.info(f"Инициализация {self.name} v{self.version}")
|
||||
|
||||
async def load(self):
|
||||
pass
|
||||
|
||||
async def unload(self):
|
||||
pass
|
||||
16
src/plugins/LuckPerms/config.yml
Normal file
16
src/plugins/LuckPerms/config.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
LuckPerms:
|
||||
|
||||
# Разрешенные варианты: MySQL, MariaDB, PostgreSQL
|
||||
storage-method: PostgreSQL
|
||||
data:
|
||||
# Указывайте host:port
|
||||
address: 127.0.0.1:5432
|
||||
# База данных в которой хранятся настройки LuckPerms
|
||||
database: minecraftDB
|
||||
# Логин и пароль для доступа к БД
|
||||
username: user
|
||||
password: user
|
||||
|
||||
# Смотрите настройку LuckPerms
|
||||
table-prefix: luckperms_
|
||||
server: global
|
||||
61
src/plugins/LuckPerms/perms/authme.yml
Normal file
61
src/plugins/LuckPerms/perms/authme.yml
Normal file
@@ -0,0 +1,61 @@
|
||||
# /cmd cmd: perm - Можно только <perm>
|
||||
# /cmd cmd: noOne - Команду нельзя использовать из под бота
|
||||
enabled: false
|
||||
pluginName: AuthMeReloaded 5.6.0-beta2
|
||||
data:
|
||||
/authme register: authme.admin.register
|
||||
/authme unregister: authme.admin.unregister
|
||||
/authme forcelogin: authme.admin.forcelogin
|
||||
/authme password: authme.admin.changepassword
|
||||
/authme lastlogin: authme.admin.lastlogin
|
||||
/authme accounts: authme.admin.accounts
|
||||
/authme email: authme.admin.getemail
|
||||
/authme setemail: authme.admin.changemail
|
||||
/authme getip: authme.admin.getip
|
||||
/authme totp: authme.admin.totpviewstatus
|
||||
/authme disabletotp: authme.admin.totpdisable
|
||||
/authme spawn: authme.admin.spawn
|
||||
/authme setspawn: authme.admin.setspawn
|
||||
/authme firstspawn: authme.admin.firstspawn
|
||||
/authme setfirstspawn: authme.admin.setfirstspawn
|
||||
/authme purge: authme.admin.purge
|
||||
/authme purgeplayer: authme.admin.purgeplayer
|
||||
/authme backup: authme.admin.backup
|
||||
/authme resetpos: authme.admin.purgelastpos
|
||||
/authme purgebannedplayers: authme.admin.purgebannedplayers
|
||||
/authme switchantibot: authme.admin.switchantibot
|
||||
/authme reload: authme.admin.reload
|
||||
/authme version: authme.admin # Вставил так как стандартно есть у всех
|
||||
/authme converter: authme.admin.converter
|
||||
/authme messages: authme.admin.updatemessages
|
||||
/authme recent: authme.admin.seerecent
|
||||
/authme debug: authme.debug.command
|
||||
/authme help: noOne
|
||||
/email: noOne
|
||||
/email show: noOne
|
||||
/email add: noOne
|
||||
/email change: noOne
|
||||
/email recover: noOne
|
||||
/email code: noOne
|
||||
/email setpassword: noOne
|
||||
/email help: noOne
|
||||
/login: noOne
|
||||
/login help: noOne
|
||||
/logout: noOne
|
||||
/logout help: noOne
|
||||
/register: noOne
|
||||
/register help: noOne
|
||||
/unregister: noOne
|
||||
/unregister help: noOne
|
||||
/changepassword: noOne
|
||||
/changepassword help: noOne
|
||||
/totp: noOne
|
||||
/totp code: noOne
|
||||
/totp add: noOne
|
||||
/totp confirm: noOne
|
||||
/totp remove: noOne
|
||||
/totp help: noOne
|
||||
/captcha: noOne
|
||||
/captcha help: noOne
|
||||
/verification: noOne
|
||||
/verification help: noOne
|
||||
5
src/plugins/LuckPerms/plugin.yml
Normal file
5
src/plugins/LuckPerms/plugin.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
enabled: false
|
||||
version: 0.1
|
||||
name: LuckPerms Integration
|
||||
dependencies:
|
||||
- bot >1.3 # Это сам бот
|
||||
4
src/plugins/readme.md
Normal file
4
src/plugins/readme.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Поддержка плагинов
|
||||
|
||||
Пока ещё в работе
|
||||
|
||||
Reference in New Issue
Block a user