LandsDiscordBot - Discord Bot for Lands icon

LandsDiscordBot - Discord Bot for Lands -----

Create a channel for your land and nation, view top lands, view your land inbox and more to come




+ Added: Support for latest Lands
----------, Nov 4, 2024

- Fixed: Plugin message method
----------, Jul 22, 2024

+ Added: 1.21 Support

This resource will no longer receive feature updates. Only bug fixes.
If you are interested in new features and additional features that aren't related to Lands, please feel free to check out my new plugin: https://www.spigotmc.org/resources/discordbridge-⭕-account-linking-events-tickets-✅-chat-1-21-support.114986/
----------, Jun 28, 2024

- Fixed: Player avatars
----------, Feb 20, 2024

- Fixed: DiscordSRV integration
----------, Feb 8, 2024

- Fixed: messages
----------, Feb 2, 2024

- Fixed: Support for new DiscordSRV API
----------, Jan 26, 2024

- Fixed: help command
----------, Dec 23, 2023

- Fixed: [#2398] embed color option
----------, Nov 9, 2023

+ Added: [Suggestion] bot.embed-color option to change embed color
----------, Oct 16, 2023

+ Added: 1.20.2 support
----------, Sep 25, 2023

+ Updated: To the latest Lands and Discord API
----------, Aug 31, 2023

- Fixed: Enable error
----------, Jun 29, 2023

+ Added: Folia support
----------, Jun 24, 2023

+ Added: 1.20 Support
----------, Jun 12, 2023

+ Added: [Suggestion] Being able to define which permissions are set in channels

Code (YAML):
    # Should a text channel be created?
    text
:
      enabled_2
: true
      permissions
:
        text-owner_list
:
         - VIEW_CHANNEL
          - MESSAGE_HISTORY
          - MESSAGE_SEND
          - MESSAGE_ATTACH_FILES
          - MESSAGE_EMBED_LINKS
          - USE_APPLICATION_COMMANDS
        text-member_list
:
         - VIEW_CHANNEL
          - MESSAGE_HISTORY
          - MESSAGE_SEND
          - MESSAGE_ATTACH_FILES
          - MESSAGE_EMBED_LINKS
          - USE_APPLICATION_COMMANDS

    # Should a voice channel be created?
    voice
:
      enabled_3
: true
      permissions
:
        voice-owner_list
:
         - VIEW_CHANNEL
          - MESSAGE_HISTORY
          - MESSAGE_SEND
          - MESSAGE_ATTACH_FILES
          - MESSAGE_EMBED_LINKS
          - USE_APPLICATION_COMMANDS
        voice-member_list
:
         - VIEW_CHANNEL
          - MESSAGE_HISTORY
          - MESSAGE_SEND
          - MESSAGE_ATTACH_FILES
          - MESSAGE_EMBED_LINKS
          - USE_APPLICATION_COMMANDS
----------, Jan 14, 2023

- Fixed: Some minor API issues
----------, Dec 24, 2022

+ Updated: To latest Lands API
[#2222]
----------, Dec 23, 2022

+ Improved: API setlinkmanager usage when not fully enabled
----------, Aug 25, 2022

+ Improved: API: linkmanager registration
----------, Aug 25, 2022

- Fixed: Chat forwarding from ingame to discord failing since recent Lands versions
----------, Aug 19, 2022

- Fixed: incompatibilities with other plugin(s) using Kotlin
----------, Aug 18, 2022

- Fixed: Unsupported server version mistake
----------, Jun 29, 2022

+ Added: /nations top command
+ Added: /nations inbox command
+ Changed: /top -> /lands top
+ Changed: /inbox -> /lands inbox
+ Changed: /channel -> /lands channel
----------, Jun 7, 2022

Requires Lands 6.5.1+

+ Added: Two new sorting modes
- Fixed: Minor issues with pagination
----------, Jun 3, 2022

- Fixed: Pagination for menus
- Fixed: Privileges synchronization error (removed it, since it's no longer supported by Discord)
----------, May 10, 2022

+ Added: Category emoji to inbox messages
+ Updated: Dependencies
----------, Feb 24, 2022

+ Added: [Suggestion] Automatically synchronize channel access for player on Discord server join
- Fixed: Navigation buttons
- Fixed: No entries element not having any buttons
----------, Jan 18, 2022

- Fixed: Executor shutdown error on plugin disabling
- Fixed: Help message for /landsdiscordbot listperms
- Fixed: Permission changes to groups of Luckperms wouldn't immediately be applied to the players limits
+ Improved: Permission calculation only triggered when explicitly needed
----------, Dec 4, 2021

- Fixed: 1.18 Support
- Fixed: Back button not appearing if no next page
----------, Nov 30, 2021

Requires latest version of Lands (5.19.6)

+ Added: Level sorting: levels
- Updated: Libraries
----------, Oct 22, 2021

- Fixed: Issue with DiscordSRV integration
----------, Jul 23, 2021

+ Added: DiscordSRV: At account linkage, then discord users will now (almost) instantly have access to the land channels
----------, Jul 21, 2021

- Fixed: Permission lookup error
----------, Jun 12, 2021

+ Added: Support for Spigot and Paper 1.17
Java 16 is supported too. You can still use lower Java versions without any issues (however Spigot, Paper 1.17 requires Java 16).

+ Added: Support for disabled back and next page buttons
----------, Jun 11, 2021

+ Added: Buttons to /top and /inbox embeds
+ Added: /top and /inbox no longer sends a messages to all users, instead the message is only visible to the sender
- Fixed: Some command replies
- Fixed: Colour code in land or nation name
----------, May 31, 2021

- Improved: Instead of sending a new embed on page change, edit the existing one and prevent spam.
----------, May 28, 2021

- Fixed: Method not found error at /inbox and /top
----------, May 12, 2021

- Minor fixes for ephemeral commands
----------, May 11, 2021

This version is only compatible with Lands 5.7.4+

+ Added: Remove reactions from embed when it's not longer active
+ Added: You can now create chat channels for your favourite nation
----------, May 8, 2021

+ Added: Remove reactions from embed when it's not longer active
----------, May 8, 2021

+ Improved: Ingame chat -> Discord format
+ Optimized: Imports
- Fixed: "Bot is thinking..." status for embeds
----------, May 7, 2021

This version only supports Lands 5.7.2+

+ Added: Send new inbox messages to the land chat

[​IMG]
----------, May 3, 2021

+ Added: More readable lands chat embed
+ Added: Optional player heads from https://crafatar.com
----------, May 1, 2021

- Fixed: Bot not granting use slash commands permission for trusted users
----------, Apr 30, 2021

- Fixed: Startup error -> mixed groups
- Removed: Cache flag warning
- Changed: /Lands top -> /Top
- Changed: /Lands channel -> /Channel
----------, Apr 21, 2021

  • In order to create the commands it needs the applications.commands scope authorized for your guild. So instead of scope=bot in your authorization URL, you must have scope=bot+applications.commands etc.

NOTE: This feature is still in public beta according to Discord.

https://discord.com/developers/docs/interactions/slash-commands

[​IMG]
[​IMG]
[​IMG]
----------, Mar 23, 2021

- Added !Lands inbox command
This command will display your lands inbox. You can even filter it by clicking in the reactions

- Added pages to !Lands top
Click on the arrows to navigate

If you enjoy this resource, please consider leaving a review! :)

[​IMG]
[​IMG]
----------, Mar 13, 2021

- Fixed: DiscordSRV warnings on startup
----------, Feb 3, 2021

1.0.15
NOTE: This version is only compatible with the latest version of Lands.

ADDED
- Chat format message
chat-format: '{role} {player} » {message}'


FIXED
- Members not getting trusted to chat channel
----------, Nov 11, 2020

This version uses the updated Discord API. They made a lot of changes. However, this update should run flawless, let me know if you encounter any issues. It is highly recommended to install this update, previous API versions (previous versions of this plugin) might stop working, if Discord stops supporting these older versions.
----------, Oct 28, 2020

1.0.13
THIS VERSION WILL ONLY WORK WITH THE LATEST LANDS VERSION = 4.10.17 (/LANDS ABOUT)

FIXED
- Frequent /lands rename would cause the Discord API rate limit to kick and set the channel
in a locked state, causing the channel name to not update

ADDED
- Channels will now be saved to channels.json as a fallback if any queued action with the Discord API
fails. This makes sure channels wont get deleted because their name is outdated. Now LandsDiscordBot does not need
the land name for identification anymore
----------, Oct 24, 2020

FIXED
- Keep channel option ignoring channel ids in some cases if '' aren't used in the config
----------, Sep 18, 2020

ADDED
- Remove user from land chat channel if he is not any longer linked
- Trust / untrust immediately to channel, without waiting for synchronisation
- !lands help (Discord)
----------, Sep 9, 2020

ADDED
- Use embed messages for land broadcast
----------, Sep 4, 2020

ADDED
- /LandsDiscordBot reload command
----------, Aug 31, 2020

FIXED
- Resolved dependency conflicts

IMPROVED
- Smaller file size by removing redundant dependencies
----------, Aug 29, 2020

FIXED
- Dependency conflicts

ADDED
- Version check
----------, Aug 22, 2020

ADDED
- Set topic for new land channels
land-channel:
description: 'Welcome to your land chat channel! Use **/Lands chat [land] <message>** ingame to chat with your land members on Discord.'
- Usage placeholder to message
not-linked: 'You haven''t linked your Discord account with your Minecraft account yet. Use **{usage}** ingame to link your account.'​
----------, Aug 1, 2020

FIXED
- Error on name resolving (for players)
----------, Jun 19, 2020

# FIXED
- Startup error with database
----------, Jun 6, 2020

Do not use with Lands version older than 4.6.8

UPDATED
- New version of LandsAPI

REMOVED
- Green check mark in lands chat
----------, Jun 6, 2020

+ ADDED Some checkers for configurations or empty configurations
----------, May 15, 2020

# FIXED Issue where commands like !lan would trigger the command executor
----------, Apr 1, 2020

Please consider leaving a review, if you enjoy this plugin! :)

With the LandsDiscordBotAPI you can set your own linkmanager to integration your own Discord link system. This can be done by accessing the LandsDiscordBotAPI class and using the setLinkManager method. You can create your own linkmanager by implementing the LinkManager interface.

+ ADDED !Lands help command
+ ADDED Translation for !Lands top and !Lands channel
+ ADDED Translations for help messages
+ ADDED Colors to embed messages

+ ADDED API
Other developers can now add their own link manager:
DiscordBotAPI.setLinkManager(LinkManager);


----------, Mar 20, 2020

Any suggestions or issues -> Discord or pm. :)
Please leave a review, if you enjoy this plugin. Thank you!

# IMPROVED Synchronization frequenzy
----------, Feb 29, 2020

# FIXED Bot not regocnizing upper-case commands
# FIXED Missing placeholder {land}
# FIXED Player names disapling as Steve
----------, Feb 24, 2020

# FIXED Bot listens in the whole category for lands chat
Now it repsects the recently added channel whitelist
----------, Feb 12, 2020

# FIXED Sentry error on startup
----------, Feb 6, 2020

+ Bot login is now asynch

# FIXED Channel delete log message
# FIXED DNS Error
----------, Feb 5, 2020

+ ADDED Option to keep channels in land chat category

# A list of channels, which are NOT a land chat and shouldn't be deleted.
keep_list:
- 'channel-id'
----------, Jan 21, 2020

+ ADDED Option to set the last announcement as the bots status:
Each status will stay for at least 4 minutes.

status:
# Static status message:
message: 'Text'
# Should the bot set the latest announcement message from Lands as the status?
last-announcement: true
----------, Jan 11, 2020

# CHANGED Message from Discord won't be sent twice to channel
# FIXED Unknown language issue
----------, Jan 10, 2020

+ ADDED !lands channel create <land>
With this command land owners can create a channel for their land.
All land chat messages will be sent to this channel.
Linked Discord accounts can use this channel to chat with their land members.

Make sure to edit this:
Create a new category for this!! Otherwise it will delete all channels in the category.

Code (YAML):
# Categories configuration
categories
:
  land-chat
:
    # Id of the category for !Lands channel create <land>
    id
: '664583334734856203'
    # Set the maximum total amount of land chat channels.
    # Please note that Discord has a channel limit of 500 channels per server.
    max
: 450

+ ADDED Translateable messages for !lands channel
Other translations will come later (for the other commands)

# FIXED Message received error
----------, Jan 9, 2020

+ ADDED !lands command
+ ADDED !lands top command
This will show the top 10 lands

[​IMG]
[​IMG]
[​IMG]
----------, Jan 8, 2020

+ ADDED !lands command
+ ADDED !lands top command
This will show the top 10 lands
----------, Jan 8, 2020

Note: DiscordSRV is not required anymore. But still, you'll need it to make features like land chat work.

+ ADDED !chat <land> <message> command to private channel

Code (Text):
bot:
  # Enter your bot token here.
  # How to setup a Discord bot: https://discordpy.readthedocs.io/en/latest/discord.html
  token: 'token'
  # Name of your Lands Discord Bot
  name: 'Lands Bot'
  # Set the status of your Discord Bot
  status: 'https://www.spigotmc.org/resources/53313/'
 
----------, Jan 6, 2020

Resource Information
Author:
----------
Total Downloads: 8,228
First Release: Jan 4, 2020
Last Update: Nov 4, 2024
Category: ---------------
All-Time Rating:
6 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings