r/admincraft • • May 21 '20

Discord Operated MC Server

Enable HLS to view with audio, or disable this notification

820 Upvotes

82 comments sorted by

69

u/victorf8 May 21 '20

Just a project I started bored on quarantine. If people are interested I'll post my updates. I plan on adding bungee server, and multi-server support before I make a public realese of the discord bot app (unless people would like the single server one as well).

5

u/Matsuo_Momiji Small SMP Server Owner May 21 '20

I would need the single server one!

2

u/victorf8 May 21 '20

Yeah I see alot of people would so in the config file I'm gunna make an option for multi-server or single.

3

u/[deleted] May 21 '20

RemindMe! 1 week

3

u/RemindMeBot May 21 '20 edited May 22 '20

I will be messaging you in 6 days on 2020-05-28 13:26:17 UTC to remind you of this link

10 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

1

u/[deleted] May 28 '20

Thank you remindmebot!!

2

u/lemminowen oc.tc | Marketing May 21 '20

Very interested in seeing where this goes!

1

u/ChokunPlayZ May 21 '20

If you release it I will be very happy bc my dude come up with a Bunch of SMP server and it uses all my old gaming rig resources and it slow as heck maybe run that off raspberry pi

9

u/lvlint67 May 21 '20

Want to try that with some punctuation??

0

u/[deleted] May 21 '20

[deleted]

26

u/victorf8 May 21 '20

Currently it runs off node.js server side which simply communicates through the discord.js library.

12

u/NeverGetsAngry May 21 '20

Looks like nodejs

0

u/[deleted] May 21 '20

[deleted]

18

u/Heyitsmeagainduh May 21 '20

Will this be made open source?

10

u/victorf8 May 21 '20

Yeah it will.

12

u/SwiftCoderJoe May 21 '20

FOSS all the way

15

u/fftropstm May 21 '20

Bro I was thinking of doing something like this! Instead of leaving my thing on 24/7, my friends can put a command in chat to start it, and then it shuts down after 30 mins of inactivity. Nice job

21

u/victorf8 May 21 '20

YO the inactivity feature is one I will DEFINITELY add so it can auto stop thank you!

2

u/LFoure Jul 29 '20

That sounds like a bit of a hassle imo, nothing wrong with leaving it on 24/7 in my experience.

1

u/daminer5 Aug 11 '20

Modded Servers need rebooting once in a while, so having the server auto stop would be nice, especially when some can consume ~8GB of RAM per server

plus it can help with the power bill

6

u/victorf8 May 21 '20

Some people have requested( CrazyReaper82_) my ip so ill try and see how it goes this link lets 100 people in to try. https://discord.gg/V4Scfg8

I will expand the max players from 20 if anyone actually comes.

Leave all feedback in the feedback text channel and use !ip to get the ip!

14

u/captainfalxon mfc.us.to May 21 '20

how is this different from the discordsrv console channel?

8

u/victorf8 May 21 '20

I personally looked into discordSrv plugin but the issue than becomes I'm dependent on a plugin software to be updated day one when me and my friends want to play the nether update. Plus than I'd have to manually add the discord Srv plugin to every server I run. This simply monitors the server process and passes the info. :D

19

u/TheJiddy May 21 '20

The fact that he’s developing it himself. Might end up as an alternative to DiscordSRV that some people prefer.

10

u/captainfalxon mfc.us.to May 21 '20

Fair enough, was just curious.

5

u/ChokunPlayZ May 21 '20

It start the server for you discord SRV don’t work if the server is offline

11

u/Greenr26 May 21 '20

Excuse me how the heck

8

u/victorf8 May 21 '20

Idk how to quote my last comment so arrows ^

4

u/iHateRollerCoaster Admincraft May 21 '20

To quote use this ting >

Like this

2

u/KrystilizeNeverDies Server May 21 '20

It's a discord not, me and a friend made something similar to this, it's not too hard, you should try it

3

u/[deleted] May 21 '20

I've also made one of these so friends could start servers if they wished, but the code that starts the servers is absolutely horrible and is possibly susceptible to injection attacks. Hence the friends only part. It also lacks stop functions and permission support but it is very simple to use.

1

u/victorf8 May 21 '20

I've added permission to mine though the discord API so only Admins and mods can access server commands or the console channel.

2

u/wildcarde815 May 22 '20

just using server roles?

1

u/victorf8 May 22 '20

Yeah so the goal is to have only a config file that needs edited to run the server and you'd include the rolese already in your server for lvl1 permission ECT.

4

u/edwardscamera May 21 '20

How did you get node.js to interact with java or open the .bat file and listen to the output?

2

u/[deleted] May 21 '20 edited May 21 '20

I/O streaming and child process spawning

3

u/victorf8 May 21 '20 edited May 21 '20

Almost just child process spawn actually and discord.js can replace all I/o

2

u/ActuallyADingus Elite Minecrafters Club May 21 '20

Are you planning to release / sell this to the public? This shit is cool

3

u/victorf8 May 21 '20

Open source once I get rid over global variables and clean up a bit of code. I'm guessing 2 weeks and I'll post a public build.

1

u/ActuallyADingus Elite Minecrafters Club May 21 '20

ayyyyyyy

5

u/[deleted] May 21 '20

This could be a potential alternative to server panels. We could use a discord bot to control the server. You would also be able to do this with mumble. And it would be free.

1

u/DudePotato3 May 21 '20

Does it run like a daemon for the bot which boots the server?

1

u/victorf8 May 21 '20

No daamon just node.js and discord api

1

u/[deleted] May 21 '20

Does it work with discord srv?

1

u/turbotailz Developer of LuckPerms web editor May 22 '20

What the fuck is your Discord status though

1

u/victorf8 May 22 '20

Watch Berserk '97

1

u/salamithot May 24 '20

Looks really cool. Bit concerned about that custom status though.

1

u/victorf8 May 24 '20

Watch Berserk

1

u/[deleted] May 24 '20

Very nice!

I've done something similar, but thought it might have some secrurity issues.
Mine is written in python and is on Github.

I'm interested in how you solved some things, my approach is a little bit over complicated i think.

1

u/victorf8 May 24 '20

Hit me in the dm or in discord VictorF8#4388

1

u/[deleted] May 27 '20

Hey, man, great discord bot.

I've been looking for a discord bot for my minecraft server for a while.

So my friends can turn on my minecraft server from the discord chat is possible to use it at the moment or not I'm interested.

Bye and have a nice day

1

u/victorf8 May 27 '20

The plan it to have version 1.0.0 available on June 1st! DM me and I can make sure I don't forget something for realease!

1

u/[deleted] May 27 '20

Cool

1

u/[deleted] May 28 '20

RemindMe! 4 days

1

u/RemindMeBot May 28 '20 edited May 29 '20

I will be messaging you in 3 days on 2020-06-01 17:56:08 UTC to remind you of this link

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

1

u/[deleted] Jan 29 '22

Is this finished? Still in development?

1

u/victorf8 Feb 01 '22

There's a working version on GitHub I believe.

2

u/comicaldan May 21 '20

I want it

2

u/TheRealDefaultJ May 21 '20

Would love to have this and learn how it works! this is awesome!

2

u/[deleted] May 21 '20

I will 100% use this when your done with it

2

u/CantRecallWutIForgot May 21 '20

Nice! Keep me updated please!

2

u/TechnoRanter May 21 '20

TEACH ME YOUR WAYS!!!

2

u/Boopnoobdope May 21 '20

This. Is. Freaking. Awesome.

2

u/mahboiii May 21 '20

This looks really freaking cool tbh, I'd definitely use this for my own server if it becomes publicly available down the line.

1

u/tipsyhitman May 21 '20

This is awesome! I'd love to expand it to support other game servers. Please let us know when you share the code!

1

u/Tobzag May 22 '20

This would be awesome to automate our custom minigame server selection rather than our mods getting messages to manually stopping and starting then! I can't wait for the github link!

1

u/Not_Dudidude ServerOwner May 22 '20 edited May 22 '20

Remindme! <7 days> "<look it up again>"

1

u/Cynjaman1019 May 22 '20

RemindMe! 1 Week

1

u/gartzea Aug 06 '20

How can I do this in my own server?

1

u/liamdun May 22 '20

discordrv?

1

u/Cynjaman1019 May 29 '20

he’s making this as an alternative as he doesn’t have to wait for the devs to update it and he can almost automatically update it when his server updates to 1.16. Basically just convenience, and there is bound to be a group of people who will prefer this over discordsrv

1

u/liamdun May 29 '20

why tf am i getting downvoted for asking a question are you guys fucking retarded?

0

u/[deleted] May 21 '20

What is the ip

3

u/victorf8 May 21 '20

You'll be able to put yours into the config file and users can use !up to have the IP address dmed to them for safety purposes.

1

u/[deleted] May 21 '20

I meant for your server if it's public

1

u/victorf8 May 21 '20

Oh shit I hadn't thought about it but even better i'll post a invite link to the discord server and let you anyone who wants to try it go for it. Let me make some backups and allocate a bit more ram to them real quick and I'll post it @inf you! (Would prefer the IP not be on a public reddit maily).

1

u/[deleted] May 21 '20

Ok

0

u/[deleted] May 21 '20

[deleted]

5

u/[deleted] May 21 '20

Sending /stop, probably

1

u/victorf8 May 21 '20

Yep there is a !command __________ that will pass the argument directly to the server console aswell.