DiscordBot [1.8+] ✨–Discord/Minecraft Linking + Boost Detection + Rewards + In-Game Rank to Discord icon

DiscordBot [1.8+] ✨–Discord/Minecraft Linking + Boost Detection + Rewards + In-Game Rank to Discord -----

Basic version with /link menu, admin command, boost detector and Minecraft-to Discord role sync




DiscordBot v1.3 – What’s Changed Today

  • Disabled the /reloadscript command – scripts are now only loaded on startup to keep things simple.

  • Bundled a default example.py in the scripts/ folder, so you can see exactly how to define and register your own slash-commands.
Just drop your custom .py files alongside example.py in plugins/DiscordBot/scripts/ and restart the server to have them picked up automatically. Enjoy!
----------, Jun 20, 2025

DiscordBot v1.2 Release Notes
Version 1.2 introduces a fully externalized localization system, on-the-fly Python scripting for new slash-commands, improved link codes and bot presence configuration, plus a host of UX and stability enhancements.

✨ New Features
1. Six-Digit Link Codes
  • Generates secure 6-digit linking codes.

  • Configurable expiry in config.yml (link.code_expiry_minutes, default 10 min).
2. Externalized Messages (messages.properties)
  • All bot–player messages (errors, confirmations, tooltips) moved into a messages.properties file.

  • Plugin copies a default messages.properties into its data folder on first run.

  • You can now translate or tweak every line without recompiling!

  • Built-in fallback: missing keys show &c[!key!] in red, so you’ll spot untranslated entries instantly.
3. Configurable Bot Presence
  • Status (ONLINE, IDLE, DND…) taken from bot_status in config.yml.

  • Activity (“Playing …”) taken from bot_activity in config.yml.

  • No more hard-coded “Playing …”—customize it at will.
4. Python Script-Driven Slash Commands
  • Drop any .py into plugins/DiscordBot/scripts/ and it’s auto-loaded on startup.

  • Each script declares its own commands list (name, description, options).

  • Implements onSlashCommandInteraction(event) in pure Python (via Jython).

  • Examples provided:
    • info.py → /info <player> shows Discord link status, Minecraft rank, balance, faction.

    • api.py → /api <player> dumps detailed linked‐player stats.
Fixes & Improvements
  • Robust message loading
    • Catches I/O errors when reading messages.properties.

    • Falls back to an empty bundle to avoid NPEs.
  • Rank ⇄ Role Synchronization
    • If rank_sync.enabled = true, plugin maps your Vault group → Discord role automatically.
  • First-Link Rewards
    • Reward commands from link.reward_commands run exactly once (asynchronously) upon first successful link.
  • Optimized GUI
    • Fully customizable head textures in menu.yml (Base64 skins).

    • Slots, borders, “Discord Official”, “Link Account”, “Booster Pack” all configurable.
What’s Possible Now?
  1. Multi-language support
    • Simply edit messages.properties to translate every bot message.
  2. On-the-fly command creation
    • Add, remove or tweak slash-commands by dropping/editing Python scripts—no Java compile, no server restart.
  3. Deep server integration
    • In your Python scripts you have full access to:
      • Bukkit API (plugin.getServer())

      • Vault Permissions & Economy

      • Your faction plugin API

      • JDA Discord objects
    • Retrieve online player counts, TPS, world data… whatever your script needs.
  4. Future-proof extensibility
    • Version 1.2 lays the groundwork for adding more script languages, dynamic configuration reloads, and advanced event hooks.
----------, Jun 19, 2025

Update v1.1 – Bot Presence + Menu Loader Fix
New features:

  • Custom Discord Bot Status: You can now define the bot's online presence directly in the config.yml using bot_status.
    Supported values: ONLINE, IDLE, DO_NOT_DISTURB, INVISIBLE

  • Custom Bot Activity: Set the activity message of the bot with the new bot_activity option (e.g., “Link Minecraft ↔ Discord accounts”).
Improvements & Fixes:

  • Fixed menu.yml loading issue: The plugin now uses a more stable method to load the menu.yml file. This resolves previous bugs related to file reading and updates.
----------, Jun 13, 2025

Resource Information
Author:
----------
Total Downloads: 152
First Release: Jun 13, 2025
Last Update: Jun 20, 2025
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings