DUXPLIMA Documentation

Commands

Minecraft commands from commands.yml, and the Discord slash commands.

Minecraft commands are not declared in plugin.yml — they are registered from commands.yml at startup. Every name, alias, permission and cooldown on this page is something you can change.

Player commands

CommandAliasesPermissionCooldown
/link/linkaccount, /hesapeşlenone10s
/unlink/hesapkaldırnone30s
/linkstatus/hesapdurumnone5s
/boostprize/boostödüluxmdiscordsync.boostreward5s
/discordreward/discordödül, /dcreward, /levelrewardnone5s
/2fauxmdiscordsync.2fa5s

/link returns a six-digit code to enter in Discord. /linkstatus reports whether the player is linked and to whom; it is the only player command that also works from console.

/unlink is available only while linking.allow-unlink is true. It runs post-unlink-commands and, if nickname-sync.reset-on-unlink is on, puts the Discord nickname back.

/discordreward claims level rewards the player has earned but not yet taken; /boostprize claims the boost reward, subject to boost-rewards.yml → cooldown.

Admin commands

/uxmdiscordsync, permission uxmdiscordsync.admin.

SubcommandPermissionWhat it does
reloaduxmdiscordsync.admin.reloadRe-reads the configuration files
statsuxmdiscordsync.admin.statsLink counts and plugin statistics
forcelink <player> <discord id>uxmdiscordsync.admin.forcelinkCreates a link without a code
forceunlink <player>uxmdiscordsync.admin.forceunlinkRemoves a link
forcesync [player]uxmdiscordsync.admin.forcesyncRuns rank sync now
debuguxmdiscordsync.admin.debugToggles debug logging
databaseuxmdiscordsync.admin.databaseDatabase type, size and connection state

forcesync without a player syncs everyone online — the command to run after editing rank-mappings rather than waiting for sync-interval.

Changing command names

commands:
  link:
    enabled: true
    aliases:
      - "link"
      - "linkaccount"
      - "hesapeşle"
    permission: ""
    cooldown: 10
    player-only: true

The first alias is the real command name; the rest are aliases. enabled: false unregisters the command entirely, which is how you resolve a clash with another plugin that already owns /link — rename it here rather than fighting over the name.

permission: "" means no permission is required. player-only: true refuses the command from console.

Command changes need a restart, not a reload: commands are registered with the server at startup.

Discord slash commands

Registered in your guild at startup.

CommandWhat it doesGated by
/level [user]A user's level and XPLevel system enabled
/leaderboard <type>The level leaderboard; type is text or voiceLevel system enabled
/broadcast <message>Broadcasts to the Minecraft serverdiscord-broadcast.authorized-users
/servercommand <server> <command>Runs a command on the serverdiscord-server-command.authorized-users

Plus every custom command in discord-commands/ — see Custom Discord commands.

/servercommand is console access

Anyone in discord-server-command.authorized-users can run any command as console, from Discord. That is full control of the server, granted to a Discord account whose security you do not manage. Leave discord-server-command.enabled: false unless you need it, list individual user ids rather than everyone with a role, and require 2FA on those Discord accounts.

The two authorised-user lists are user ids, not roles, and they are checked before anything else — a slash command from anyone else is refused whatever their Discord permissions are.