Giter VIP home page Giter VIP logo

musikbot's Introduction

Release

MusikBot GitHub Logo

Discord MusikBot on Minecraft The Discord MusikBot is a Music Bot you can host on your Minecraft Server as a Plugin! It's unimportant which MC version you are using, MusikBot supports nearly all of them! MusikBot is easy and fast to setup, have FUN!

Features:

  • You can add songs from YouTube, SoundCloud, Bandcamp, Vimeo, Twitch streams, Local files or just URLs!
  • Plays playlists from YouTube
  • You can search for YouTube videos
  • Listen to choosen Radio streams!
  • Supported formats: MP3, FLAC, WAV, AAC, Opus, Vorbis, MP4/M4A, OGG, Stream playlists (M3U and PLS)
  • Adding songs to queue
  • Shuffle the playlist
  • YouTube autoplay
  • Get information about currend song
  • You are able to skip tracks
  • Able to change the volume of the Bot
  • Save your playlist to load and listen to it next time
  • Join the Bot to as much Servers as you want! They will act independently
  • Many things can be configured: Should the bot disconnect if it is alone? How about automatically joining a channel? And many more!
  • White- and blacklists for users and other bots
  • Change the command trigger to whatever you want
  • And a lot of more cool stuff! Just have a look to !help and config files;)
  • Much more is planned! Suggestions and feedback are welcome! Please open an issue

Basic Commands:

  • !play [URL | title]
  • !queue [URL | title]
  • !next
  • !skip [amount]
  • !volume [0-100]
  • !info
  • !join [channel name]
  • !stop
  • !leave
  • !pause / !resume
  • ...
  • For more commands and information type !help

Requirements:

  • Java 8 is Required!

How to setup:

  • Copy paste Plugin in the 'plugins' folder of your Minecraft server
  • Start server once to generate the default config
  • You have to insert the token to the BotConfig.yml
  • To get a Bot Token you have to create a Discord Bot at this site:
  • Also fill in your Discord user ID
    • You could easy get Channel and User ID's from discord by right click after enableing the Developer Mode
  • After the server started successfully there will be an invite URL in console and config to join the Bot to your Discord Server.

Support/Suggestions/Bugs:

I've create this Bot to warm up my java knowledge. I hope you will enjoy it. If you have any problems, suggestions or bugs feel free to create an issue. Every feedback is welcome, thanks.:giggle:

This project would not be possible without JDA the DiscodJavaApi and lavaplayer for the audio mechanic.

musikbot's People

Contributors

block-build avatar

Stargazers

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

Watchers

 avatar  avatar

musikbot's Issues

MusikBot Suggestion

can you add Loop in the musikbot plugin that would be so cool
example : the queue reach end after that the music play from the first queue again

Unable to get this to work

Hi im downloaded this today and cant get it to work.

I have added the bot to my discord. and when i click the link in console
i can choose my discord server in the list and then in my discord this appears

"It's MusikBot! Praise the sun! [T]/" so it looks like the bot is there

when i go into minecraft in cosnole it says MusikBot loaded succesfuly

but when i type !play songname... nothing happens
What do i do? ?

is this a error

Editing the !help command

I wanna edit the !help command, it dms some radio commands which i would like to be removed. I would like the !help command to be more customisable

Hosting

Can you please give more info on how to host the bot. I can't understand how to host the bot in Minecraft server please help.
My Discord - ChopChoP#0008

Suggestion to make best music bot

  • Make auto add to queue
    when user does !p song1 and !p song2 and !p song3
    the bot will automatically add to the queue not instant playing

  • Make loop function
    loop as song
    loop as queue
    loop as playlist

  • Make now playing

  • Make whitelist and blacklist roles to use the bot

Regard

Error when using Vixio on same server

I had MusikBot and Vixio both working on the same server but when trying to use the server with both installed they both won't work properly. I've pasted what happens on startup in the console.

[14:11:04 WARN]: [MusikBot] Loaded class com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager from Vixio v2.0.8-patched which is not a depend, softdepend or loadbefore of this plugin.
[14:11:04 INFO]: [MusikBot] Get started...
[14:11:04 WARN]: [MusikBot] Task #181 for MusikBot v1.2.5 generated an exception
java.lang.NoSuchMethodError: 'boolean net.dv8tion.jda.api.entities.Member.isPending()'
        at net.dv8tion.jda.api.utils.MemberCachePolicy.<clinit>(MemberCachePolicy.java:101) ~[?:?]
container@pterodactyl~ Server marked as running...
        at net.dv8tion.jda.api.JDABuilder.<init>(JDABuilder.java:96) ~[?:?]
        at net.dv8tion.jda.api.JDABuilder.create(JDABuilder.java:535) ~[?:?]
        at de.blockbuild.musikbot.Bot.start(Bot.java:123) ~[?:?]
        at de.blockbuild.musikbot.Bot.<init>(Bot.java:101) ~[?:?]
        at de.blockbuild.musikbot.Main.lambda$start$6(Main.java:73) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Paper-626]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Paper-626]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Paper-626]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:289) ~[patched_1.16.5.jar:git-Paper-626]
        at java.lang.Thread.run(Thread.java:834) [?:?]
[14:11:04 INFO]: Done (54.589s)! For help, type "help"
[14:11:04 WARN]: Can't keep up! Is the server overloaded? Running 7966ms or 159 ticks behind
[14:11:04 INFO]: Timings Reset
[14:11:06 WARN]: [Vixio] Loaded class net.dv8tion.jda.api.JDABuilder from MusikBot v1.2.5 which is not a depend, softdepend or loadbefore of this plugin.
[14:11:06 WARN]: [Skript] Plugin Skript v2.5.3 generated an exception while executing task 200
java.lang.NoClassDefFoundError: Could not initialize class net.dv8tion.jda.api.utils.MemberCachePolicy
        at net.dv8tion.jda.api.JDABuilder.<init>(JDABuilder.java:96) ~[?:?]
        at net.dv8tion.jda.api.JDABuilder.createDefault(JDABuilder.java:201) ~[?:?]
        at me.iblitzkriegi.vixio.effects.EffLogin.execute(EffLogin.java:59) ~[?:?]
        at me.iblitzkriegi.vixio.util.skript.AsyncEffect.access$000(AsyncEffect.java:18) ~[?:?]
        at me.iblitzkriegi.vixio.util.skript.AsyncEffect$1.run(AsyncEffect.java:36) ~[?:?]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Paper-626]
        at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-626]
        at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-626]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]
        at java.lang.Thread.run(Thread.java:834) [?:?]

reporting problem

Hello, I have a little problem with this plugin, I have it on 1.8.8 and under 1.14.4. tested
this message appears in both versions. What would you like to tell us?

https://pastebin.com/dBnWsyFK

the bot joint and also plays music

Download

Hi,I have a suggestion.
I'm hosting a server with aternos just for friend and we'd like to use this plugin but we can't because the download is from an external site, can u make it directly? maybe u can add the github link on the description. I think many people use aternos and want to use this plugin :).

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.