Skip to content

Commit

Permalink
chore: remove minecraft server files
Browse files Browse the repository at this point in the history
Credentials revoked and files removed
  • Loading branch information
dbrennand committed Jan 10, 2025
1 parent f2d24f5 commit 339c121
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 112 deletions.
20 changes: 0 additions & 20 deletions ansible/inventory/group_vars/minecraft.yml

This file was deleted.

4 changes: 0 additions & 4 deletions ansible/inventory/host_vars/minecraft01.net.dbren.uk.yml

This file was deleted.

4 changes: 0 additions & 4 deletions ansible/inventory/host_vars/minecraft02.net.dbren.uk.yml

This file was deleted.

50 changes: 8 additions & 42 deletions ansible/vars/modded_minecraft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,17 @@ minecraft_options:
# https://docker-minecraft-server.readthedocs.io/en/latest/configuration/server-properties/#difficulty
DIFFICULTY: hard
# https://docker-minecraft-server.readthedocs.io/en/latest/configuration/server-properties/#opadministrator-players
OPS: !vault |
$ANSIBLE_VAULT;1.1;AES256
31363538373161313132616662303961336161336535333339346365633037323432666661396633
3635656261323835636635633039316135346137343636310a323662396436623961646231666439
30336165353931623936666438393636636161323366353934356331303931613730356666643632
6335336236646464330a646237303663666665373334663466333639303863313563363236393165
3666
OPS: ""
ENABLE_RCON: "true"
# Best to provide in quotes in case of any special characters
RCON_PASSWORD: !vault |
$ANSIBLE_VAULT;1.1;AES256
66333830623265313533656135383562623932653164636163613263303838353631316164313433
3133383136646662376339363562613537616534313366370a626436643538363937623130653362
31646263666338356362333035623331376165373464333462616264623865633536366337663934
3334393036616430360a623262666139643630653239346430356264623531336561623431663366
32633330643135626435356464353566306230646236316137643761356231316531
RCON_PASSWORD: ""
SNOOPER_ENABLED: "false"
SPAWN_PROTECTION: "0"
SERVER_NAME: Modded Minecraft Server

# Whether to enable backups for the modded minecraft server
minecraft_backup: true
# Backup container image tag
minecraft_backup_image_tag: latest
# All container environment variables can be found at: https://github.com/itzg/docker-mc-backup#common-variables
minecraft_backup_options:
Expand All @@ -61,36 +51,12 @@ minecraft_backup_options:
BACKUP_METHOD: restic
RESTIC_REPOSITORY: b2:dabminecraftmodded
# Password used to encrypt backups
RESTIC_PASSWORD: !vault |
$ANSIBLE_VAULT;1.1;AES256
35336232643530383738303436306631616266633631336566616431313333643138633431613962
6161643838623963303663333430393136366363366566640a653439373133616435303662373930
38353434386339346562303233326438386533623835373833626164326661343136376662613064
3263633366323333320a613434343831383561653765376561393137336566343135346334643561
33636434303835623665393731653462343335636265653537636435303464303032
RESTIC_PASSWORD: ""
# Backblaze B2 S3 credentials
B2_ACCOUNT_ID: !vault |
$ANSIBLE_VAULT;1.1;AES256
31323632373438353536633238653863313964383535333935663361663465303435333033653964
3365306265393563336330663063323434313737323966370a326464633762303133363936366433
65363834363464383361316562653630633931383162613931616535303032346466646137613233
3231653933326261350a346638663466376439306230643261343735396531613438666136646536
61626363313638336566353438343562343536303562383263343866323331343538
B2_ACCOUNT_KEY: !vault |
$ANSIBLE_VAULT;1.1;AES256
34323430313765656564303135303137313230386232393738656434373065666330393565323134
6161326465373064383630353035356538383664346633320a626263653662666631656437356433
63666538313265636337383733356264663438306535343765663737316431396366613966356231
6533666165646231620a366365333965666535623836356539613866373032376330373139306236
30336430383765323837383631626566656466376236633334303866323030636464
B2_ACCOUNT_ID: ""
B2_ACCOUNT_KEY: ""
# Same as minecraft_options.RCON_PASSWORD
RCON_PASSWORD: !vault |
$ANSIBLE_VAULT;1.1;AES256
66333830623265313533656135383562623932653164636163613263303838353631316164313433
3133383136646662376339363562613537616534313366370a626436643538363937623130653362
31646263666338356362333035623331376165373464333462616264623865633536366337663934
3334393036616430360a623262666139643630653239346430356264623531336561623431663366
32633330643135626435356464353566306230646236316137643761356231316531
RCON_PASSWORD: ""
PRE_BACKUP_SCRIPT: |
echo "Starting world backup for modded minecraft"
curl -X POST -H "Content-Type: application/json" -d '{"content": "Starting world backup for modded minecraft ⏳"}' "{{ discord_webhook }}"
Expand Down
50 changes: 8 additions & 42 deletions ansible/vars/paper_minecraft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,10 @@ minecraft_options:
# https://docker-minecraft-server.readthedocs.io/en/latest/configuration/server-properties/#difficulty
DIFFICULTY: hard
# https://docker-minecraft-server.readthedocs.io/en/latest/configuration/server-properties/#opadministrator-players
OPS: !vault |
$ANSIBLE_VAULT;1.1;AES256
31363538373161313132616662303961336161336535333339346365633037323432666661396633
3635656261323835636635633039316135346137343636310a323662396436623961646231666439
30336165353931623936666438393636636161323366353934356331303931613730356666643632
6335336236646464330a646237303663666665373334663466333639303863313563363236393165
3666
OPS: ""
ENABLE_RCON: "true"
# Best to provide in quotes in case of any special characters
RCON_PASSWORD: !vault |
$ANSIBLE_VAULT;1.1;AES256
38646665333635643731666563356535323066396461336438353061343233393039363132653562
3433346461643239373465333736656534326234623566380a386336333834346337646138396566
34646265313432343162373335333033313432353838386630316236326537346436313236356234
6534326434396564650a343465333937366435363339303961333836633233393034313434643737
35313637386632653736643064376530303135353334613537646332313830313330
RCON_PASSWORD: ""
MAX_PLAYERS: "20"
ALLOW_NETHER: "true"
ANNOUNCE_PLAYER_ACHIEVEMENTS: "true"
Expand All @@ -58,7 +46,9 @@ minecraft_options:
PVP: "true"
SERVER_NAME: Minecraft Server

# Whether to enable backups for the paper minecraft server
minecraft_backup: true
# Backup container image tag
minecraft_backup_image_tag: latest
# All container environment variables can be found at: https://github.com/itzg/docker-mc-backup#common-variables
minecraft_backup_options:
Expand All @@ -71,36 +61,12 @@ minecraft_backup_options:
BACKUP_METHOD: restic
RESTIC_REPOSITORY: b2:dabminecraft
# Password used to encrypt backups
RESTIC_PASSWORD: !vault |
$ANSIBLE_VAULT;1.1;AES256
63313633393430333965343031373234303730353038383064633362393432326632613230666261
3133613964323035663666383734336231633666323836630a343035663963633933303939666565
63316333623838306639373062346530666132633861633565383734623664303463323732633665
3566656561646139310a613236626366363931386531356435653263343234633834323332363435
61306162313061616137336261333231623961323264653730613164343434343138
RESTIC_PASSWORD: ""
# Backblaze B2 S3 credentials
B2_ACCOUNT_ID: !vault |
$ANSIBLE_VAULT;1.1;AES256
37356163346130616139316236663139373334353963386638623131623163636139346637666430
6133333135393066393630333834373333333431656530370a323230326635313666316462386563
65613562626239636564366235643630373665666434346533636532396339653431336362626365
3531346362303362390a353534373639653539363064636138613430306131613865353339666665
66383938626665643936356431633138346135366637393537303566616363323935
B2_ACCOUNT_KEY: !vault |
$ANSIBLE_VAULT;1.1;AES256
30613531666664666331313130633838333430633437323632396666336266656663643638346563
3830636162393932313836633438663465363030643930610a633065616138303132643030356530
30363631663366336232666261383966656432306239656630383636383562643439353838616235
3961633838373635350a313633313333666138313362323334616435323266376230646137366137
34623634666262363531643065363932653263386565303462376535613238643966
B2_ACCOUNT_ID: ""
B2_ACCOUNT_KEY: ""
# Same as minecraft_options.RCON_PASSWORD
RCON_PASSWORD: !vault |
$ANSIBLE_VAULT;1.1;AES256
38646665333635643731666563356535323066396461336438353061343233393039363132653562
3433346461643239373465333736656534326234623566380a386336333834346337646138396566
34646265313432343162373335333033313432353838386630316236326537346436313236356234
6534326434396564650a343465333937366435363339303961333836633233393034313434643737
35313637386632653736643064376530303135353334613537646332313830313330
RCON_PASSWORD: ""
PRE_BACKUP_SCRIPT: |
echo "Starting world backup"
curl -X POST -H "Content-Type: application/json" -d '{"content": "Starting world backup ⏳"}' "{{ discord_webhook }}"
Expand Down

0 comments on commit 339c121

Please sign in to comment.