Coder Social home page Coder Social logo

ka0un / discordleaderboards Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 0.0 4.9 MB

Create Minecraft Leaderboards with PlaceholderAPI and Post it to Discord Via Webhooks or DiscordSRV

Home Page: https://dsc.gg/sundevs

License: MIT License

Java 100.00%
bukkit discord discordsrv free java leaderboard minecraft minecraft-discord minecraft-plugin paper placeholderapi spigot spigot-plugin webhook

discordleaderboards's Introduction

roadmap.sh

discordleaderboards's People

Contributors

ka0un avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discordleaderboards's Issues

Loading H2 Class from Another Plugin

[02:22:01 WARN]: [DLeaderboards] Loaded class us.ajg0702.leaderboards.libs.h2.Driver from ajLeaderboards v2.7.0 which is not a depend or softdepend of this plugin.
[02:22:01 WARN]: [ajLeaderboards] Loaded class org.h2.mvstore.tx.VersionedValueType$Factory from DiscordLeaderboards v0.1.2 which is not a depend or softdepend of this plugin.

Minecraft Server Temporarily Unresponsive when Connecting to MySQL Database

The Minecraft server is experiencing temporary unresponsiveness when attempting to connect to the MySQL database. This issue has never occurred when using the H2 Database. The problem is likely caused by heavy usage of the remote database and connecting to the database within the same thread (MAIN) as the running game.

Additionally, our plugin may contribute to the issue as it utilizes different SQL statements for H2 and MySQL, due to unsupported syntax differences. For example, certain SQL statements that work with H2 may not be compatible with MySQL, such as the unsupported CLOB data type.

All Classes Related to Databases are stored in Database Package

Cannot create leaderboards in discord, errors out

Describe the bug
When I try the leaderboard command, which shows as a registered command in discord, for a leaderboard ive created, it does not work. Discord says its unable to perform the action and i get an error in the server logs.

To Reproduce
Steps to reproduce the behavior:

  1. Create Scoreboard in game
  2. run the learderboard command in discord, I have given the bot the permissions it needs
  3. get told it cant perform the action
  4. error log, two errors for first and second attempt
    [23:26:47 ERROR]: [DiscordSRV] DiscordSRV encountered an unknown Discord error: 10062: Unknown interaction [23:27:30 ERROR]: [DiscordSRV] DiscordSRV encountered an unknown Discord error: 40060: Interaction has already been acknowledged.

Expected behavior
A clear and concise description of what you expected to happen.
Leaderboard gets created

Screenshots
If applicable, add screenshots to help explain your problem.
image
image

Desktop (please complete the following information):

  • OS: Unraid OS running Pufferpanel in a docker container running Java 17 and paper version 540 for the server.

image
image

Additional context
Add any other context about the problem here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.