Skip to content

4.3.1

Choose a tag to compare

@Alhxe Alhxe released this 29 May 13:40
· 37 commits to main since this release

Important plugin update

  • Added slash commands
  • Added userinfo command (discord and minecraft)
  • Added userlist (discord) command
  • Added bungeecord option on config (core config)
  • Added controller for discord message deletions
  • Bungeecord option in all config files
  • Updated Discord API
  • Updated search for discord users (previously it was with the NAME#TAG tag)
  • Fixed error that the discriminator showed when registering has been corrected
  • Fixed problem with user registration via USERNAME
  • Fixed problem when giving roles when registering via discord

Use DICore-4.3.1-noslf4j only if you have another plugin that generates incompatibilities related to slf4j (For example DiscordSRV)

If you are coming from the latest version, these are the changes necessary to avoid having to delete everything:

New fields added to yml files (config.yml, lang.yml, alias.yml)

dilogin lang.yml

register_discord_slash_description: "Register user into minecraft server"
register_discord_slash_option_code_title: "Code"
register_discord_slash_option_code_description: "Enter the code received from the minecraft server"


#UserInfo
userinfo_discord_no_argument: "No argument provided. Please provide a valid Discord user ID, mention, or Minecraft username."
userinfo_discord_no_valid: "User information not found. Please make sure the provided Discord user ID, mention, or Minecraft username is correct."
userinfo_discord_title: "User info"
userinfo_discord_player_name: "Player Name"
userinfo_discord_id: "Discord ID"
userinfo_discord_tag: "Mention"

userinfo_discord_slash_description: "Get the information associated with the user"
userinfo_discord_slash_option_minecraftname_title: "Player_name"
userinfo_discord_slash_option_minecraftname_description: "Username in minecraft"
userinfo_discord_slash_option_discordid_title: "discord_id"
userinfo_discord_slash_option_discordid_description: "Discord user ID"
userinfo_discord_slash_option_mention_title: "mention"
userinfo_discord_slash_option_mention_description: "User mention (@user format)"


#UserList
userlist_discord_title: "User list"
userlist_discord_description: "Total users %totalusers%"
userlist_discord_footer: "Page %page%/%total%"

userlist_discord_slash_description: "User registered list"
userlist_discord_slash_option_page_title: "Page"
userlist_discord_slash_option_page_description: "Value of the page"

dilogin alias.yml

userinfo_command: userinfo
userinfo_discord_command: userinfo
userlist_discord_command: userlist

dilogin config.yml

bungeecord: false
discord_slash_commands: true

dicore config.yml

bungeecord: false

UPDATE DILOGIN LANG.YML

register_request: "&cTo register, use the command &6%register_command% &con our discord server or use here &6/register <discord_username> or <discord_id>"
register_user_not_detected: "I have not found any user with username/id %user_discord_id%."