Coder Social home page Coder Social logo

discordsrv / documentation Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 28.0 8.72 MB

DiscordSRV documentation

Home Page: https://docs.discordsrv.com/

License: BSD 2-Clause "Simplified" License

JavaScript 74.00% TypeScript 1.70% CSS 24.31%
hacktoberfest mkdocs

documentation's Introduction

A Minecraft to Discord and back link plugin

Thanks to:

Jetbrains IntelliJ IDEA

The Java IDE for Professional Developers by JetBrains

JProfiler

JProfiler's intuitive UI helps you resolve performance bottlenecks, pin down memory leaks and understand threading issues.

documentation's People

Contributors

albindalbert avatar anutley avatar bluetree242 avatar boredmancodes avatar dinty1 avatar encode42 avatar gangpop avatar granny avatar j-295 avatar padowyt2 avatar r2d2vaderbeef avatar scarsz avatar syrent avatar thewilloftheshadow avatar vankka avatar wattapik avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

documentation's Issues

Spamming console with odd error

when someone joined the server i saw part of the cause of the spam with the follow error

Caused by: github.scarsz.discordsrv.dependencies.jda.api.exceptions.ErrorResponseException: 10008: Unknown Message

wikipage for converting database with linked accounts

Hello, I think it would be great if there was a page dedicated to converting linked account databases between different formats.

Here is a simple python script that converts the SQL database exported from phpMyAdmin into JSON format used by DiscordSRV by default:

script
#!/usr/bin/env python3
import os

# this script converts DiscordSRV database exported from phpMyAdmin in .sql to .json
# place your .sql database for conversion into the same directory as this script

# this changes the current working directory to the directory of this script
os.chdir(os.path.dirname(__file__))
working_directory = os.getcwd()

# please rename "DatabaseName" to the name of the database that you want to convert:
database = "DatabaseName.sql"

with open(database) as f:
  contents = f.read()
  lines = contents.split("INSERT INTO `discordsrv_accounts` (`link`, `discord`, `uuid`) VALUES")[1].split(";")[0].split(")")
  lines.pop()
  
  json = {}
  for i in lines:
      discordId = i.split(", '")[1].split("'")[0]
      uuid = i.split("', '")[1].split("'")[0]
      json[discordId] = uuid
  
  with open("linkedaccounts.json", "w") as output:
      output.write(str(json).replace("'", '"'))

print("done, file saved to: " + working_directory)

There used to be ip protection. Where is she now?

Previously, every time the plugin logged in, it checked the ip and if it changed, it asked the user to confirm the account using Discord by sending the code to the bot's private messages. Where is this feature now?

Update installation page to show a list of features and links to set them up

Currently, the installation page only shows how to set up a couple of the plugin's features and doesn't make it completely clear that these are optional. It would be nice if we could have a bulleted list of the different features that the plugin has and then links to separate pages on configuring each individual one.

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.