forked from git-mirrors/GeyserConnect
Add bind9 and Docker files
This commit is contained in:
parent
03979f2808
commit
96e7049dc6
10 changed files with 121 additions and 0 deletions
|
@ -14,6 +14,10 @@ GeyserConnect is a server that Minecraft: Bedrock Edition clients can connect to
|
||||||
|
|
||||||
**Please note, this project is still a work in progress and should not be used on production. Expect bugs!**
|
**Please note, this project is still a work in progress and should not be used on production. Expect bugs!**
|
||||||
|
|
||||||
|
If you wish to run this in docker and/or use DNS redirection please see the appropriate folders in this repo.
|
||||||
|
Docker: [here](docker)
|
||||||
|
DNS: [here](bind9)
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
- [x] Auto start Geyser instance
|
- [x] Auto start Geyser instance
|
||||||
- [x] Transfer player to Geyser instance and connect to correct server
|
- [x] Transfer player to Geyser instance and connect to correct server
|
||||||
|
|
7
bind9/README.md
Normal file
7
bind9/README.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# GeyserConnect with DNS
|
||||||
|
This contains the basic bind9 configs for use with GeyserConnect
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
1. Install bind9 using `sudo apt install bind9`
|
||||||
|
2. Download these files and place them inside `/etc/bind/` overwriting the `named.conf.local` file
|
||||||
|
3. Run `sudo service bind9 restart` to restart the service
|
13
bind9/db.hivebedrock.network
Normal file
13
bind9/db.hivebedrock.network
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
@ in SOA hivebedrock.network. admin.hivebedrock.network. (
|
||||||
|
2014030801 ; serial
|
||||||
|
1D ; refresh
|
||||||
|
1H ; retry
|
||||||
|
1W ; expire
|
||||||
|
3H ) ; minimum
|
||||||
|
|
||||||
|
@ NS hivebedrock.network.
|
||||||
|
|
||||||
|
IN A 167.71.133.54
|
||||||
|
IN AAAA 2a03:b0c0:1:e0::6a5:b001
|
||||||
|
geo IN A 167.71.133.54
|
||||||
|
IN AAAA 2a03:b0c0:1:e0::6a5:b001
|
11
bind9/db.mco.cubecraft.net
Normal file
11
bind9/db.mco.cubecraft.net
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
@ in SOA mco.cubecraft.net. admin.mco.cubecraft.net. (
|
||||||
|
2014030801 ; serial
|
||||||
|
1D ; refresh
|
||||||
|
1H ; retry
|
||||||
|
1W ; expire
|
||||||
|
3H ) ; minimum
|
||||||
|
|
||||||
|
@ NS mco.cubecraft.net.
|
||||||
|
|
||||||
|
IN A 167.71.133.54
|
||||||
|
IN AAAA 2a03:b0c0:1:e0::6a5:b001
|
11
bind9/db.mco.lbsg.net
Normal file
11
bind9/db.mco.lbsg.net
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
@ in SOA mco.lbsg.net. admin.mco.lbsg.net. (
|
||||||
|
2014030801 ; serial
|
||||||
|
1D ; refresh
|
||||||
|
1H ; retry
|
||||||
|
1W ; expire
|
||||||
|
3H ) ; minimum
|
||||||
|
|
||||||
|
@ NS mco.lbsg.net.
|
||||||
|
|
||||||
|
IN A 167.71.133.54
|
||||||
|
IN AAAA 2a03:b0c0:1:e0::6a5:b001
|
11
bind9/db.mco.mineplex.com
Normal file
11
bind9/db.mco.mineplex.com
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
@ in SOA mco.mineplex.com. admin.mco.mineplex.com. (
|
||||||
|
2014030801 ; serial
|
||||||
|
1D ; refresh
|
||||||
|
1H ; retry
|
||||||
|
1W ; expire
|
||||||
|
3H ) ; minimum
|
||||||
|
|
||||||
|
@ NS mco.mineplex.com.
|
||||||
|
|
||||||
|
IN A 167.71.133.54
|
||||||
|
IN AAAA 2a03:b0c0:1:e0::6a5:b001
|
11
bind9/db.play.inpvp.net
Normal file
11
bind9/db.play.inpvp.net
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
@ in SOA play.inpvp.net. admin.play.inpvp.net. (
|
||||||
|
2014030801 ; serial
|
||||||
|
1D ; refresh
|
||||||
|
1H ; retry
|
||||||
|
1W ; expire
|
||||||
|
3H ) ; minimum
|
||||||
|
|
||||||
|
@ NS play.inpvp.net.
|
||||||
|
|
||||||
|
IN A 167.71.133.54
|
||||||
|
IN AAAA 2a03:b0c0:1:e0::6a5:b001
|
37
bind9/named.conf.local
Normal file
37
bind9/named.conf.local
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
//
|
||||||
|
// Do any local configuration here
|
||||||
|
//
|
||||||
|
|
||||||
|
// Consider adding the 1918 zones here, if they are not used in your
|
||||||
|
// organization
|
||||||
|
//include "/etc/bind/zones.rfc1918";
|
||||||
|
|
||||||
|
zone "hivebedrock.network" IN {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.hivebedrock.network";
|
||||||
|
allow-query { any; };
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "mco.mineplex.com" IN {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.mco.mineplex.com";
|
||||||
|
allow-query { any; };
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "play.inpvp.net" IN {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.play.inpvp.net";
|
||||||
|
allow-query { any; };
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "mco.lbsg.net" IN {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.mco.lbsg.net";
|
||||||
|
allow-query { any; };
|
||||||
|
};
|
||||||
|
|
||||||
|
zone "mco.cubecraft.net" IN {
|
||||||
|
type master;
|
||||||
|
file "/etc/bind/db.mco.cubecraft.net";
|
||||||
|
allow-query { any; };
|
||||||
|
};
|
6
docker/Dockerfile
Normal file
6
docker/Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FROM openjdk:8-jre-slim
|
||||||
|
RUN mkdir /gsc
|
||||||
|
WORKDIR /gsc
|
||||||
|
EXPOSE 19132/udp
|
||||||
|
EXPOSE 19133/udp
|
||||||
|
CMD ["java", "-Xms1G", "-jar", "GeyserConnect.jar"]
|
10
docker/README.md
Normal file
10
docker/README.md
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# GeyserConnect using Docker
|
||||||
|
This contains the docker image and a basic way of running GeyserConnect
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
1. Download GeyserConnect to a subfolder called `data`
|
||||||
|
2. Build the docker file using `docker build -t geyser-connect .`
|
||||||
|
3. Start geyser using this:
|
||||||
|
```
|
||||||
|
docker run --name "geyser-c" -d --restart always -p 19132:19132/udp -p 19133:19133/udp -v $(pwd)/data:/gsc geyser-connect
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue