Closed matthewkeller36 closed 1 year ago
You need to add permissions to your permissions plugin.
Commands permissions can be found here: https://github.com/Norbit4/DiscordMc/wiki/Permissions
I see. This is something new to me. Could you give an example of how to configure the YAML file such that one user (or varying levels of users) would be able to execute the different commands? Thank you
You need a permissions plugin for this, I recommend this one: https://luckperms.net/
tutorial video: https://youtu.be/AwbVqSOn2SI
Thanks! It looks as though that solved the issue. However, attempting to send messages from Discord to the Server seems to be deleting the message and just sending a blank message. Do you know of other reasons that may be happening?
could you send a screenshot, config.yml and server logs?
I have the same, an empty message when I send from Discord
`#---------------------------------------#
enable: true prefix-command: 'discordmc' sync-command-arg: 'sync' sync-command-clear-arg: 'syncclear' bot-token: 'MY_TOKEN' bot-activity: '' discord-server-id: 'MY_DISCORD_ID'
database-type: 'local' host: '' port: 3306 user: '' password: '' database: '' ssl: false
embed-profile-title: 'Profile'
embed-profile:
sync-rank-enable: true
sync-name: false
sync-roles:
namemc-non-premium: 'Le joueur n est pas premium' player-offline-status: 'Déconnecté' player-online-status: 'Connecté' user-in-not-sync: 'Vous n êtes pas synchronisé ! Utilises /sync pour synchroniser vos comptes !' arg-user-in-not-sync: 'Cet utilisateur n est pas synchronisé !' embed-profile-rgb:
warn-message-tittle: 'ATTENTION' warn-message-rgb:
success-message-tittle: 'SUCCÈS' success-message-rgb:
error-message-tittle: 'ERREUR' error-message-rgb:
player-is-sync: 'Ce joueur est synchronisé !' discord-user-is-sync: 'Tu es synchronisé !' offline-player: 'Ce joueur est déconnecté !' sync-info: 'Tapez /{PREFIX} {ARG1} dans le chat minecraft pour synchroniser vos comptes !' sync-success: 'Le joueur {PLAYER} a été synchronisé avec le compte : {DISCORD}!'
permission-message: '&cVous n avez pas les permissions !' sync-info-mc: '&7Tapez &8/&b{PREFIX} {ARG1} &7pour connecter votre compte avec&a {DISCORD}' sync-success-mc: '&aSuccess! &7Le compte a été synchronisé avec &c{DISCORD}!' sync-clear-mc: '&aSuccess! &7La synchronisation a été effacée !' sync-time-out: '&7Vous n avez pas de synchronisation en attente !'
wrong-args-message: '&7Utilise : &8/&b{PREFIX} &a{ARG1} &8<&a{ARG2}&8>'
command-args-list:
discord-chat-module: true channel-chat-id: 'ID_CHANNEL'
command-chat-change-arg: 'canal' minecraft-chat-arg: 'mc' discord-chat-arg: 'dc' channel-change-message: '&7Le canal a été remplacé par : &a{CHANNEL}'
discord-prefix: '&d[DC] ' mc-prefix: '&a[MC] ' message-mark: '&7: ' message-color: '&7' nick-color: '&f'
discord-message-mark: ': '
discord-user-rgb:
mc-user-rgb:
discord-console-module: true channel-console-id: 'ID_CHANNEL'
discord-console-commands: true
discord-console-display: true
block-error-messages: false
blocked-commands:
discord-info-module: true channel-info-id: 'ID_CHANNEL'
message-reload-time: 30
discord-info-rgb:
ignore-folders:
#
embed-tittle: '' embed-desc: '' embed-info:
false-info: 'false' true-info: 'true'`
what server version are you using?
When attempting to sync accounts, I am successfully able to do so on the Discord side. However, attempting to sync, using
/discordmc sync
gives me the error message "You don't have permissions". Is there a line in my config I may be missing? none of the documentations mentions anything about modifying it but I could be wrong.