discord
This commit is contained in:
@@ -10,13 +10,14 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: mc-forge
|
container_name: mc-forge
|
||||||
environment:
|
environment:
|
||||||
|
OVERRIDE_SERVER_PROPERTIES: "TRUE"
|
||||||
EULA: "TRUE"
|
EULA: "TRUE"
|
||||||
PACKWIZ_URL: http://patatapack.oier.ovh:8080/pack.toml
|
PACKWIZ_URL: http://patatapack.oier.ovh:8080/pack.toml
|
||||||
TYPE: FORGE
|
TYPE: FORGE
|
||||||
VERSION: 1.20.1
|
VERSION: 1.20.1
|
||||||
FORGE_VERSION: 47.1.47
|
FORGE_VERSION: 47.1.47
|
||||||
MEMORY: 24G
|
MEMORY: 24G
|
||||||
MOTD: PatataPack 1
|
MOTD: "§l§cPatataPack§r"
|
||||||
volumes:
|
volumes:
|
||||||
# attach the relative directory 'data' to the container's /data path
|
# attach the relative directory 'data' to the container's /data path
|
||||||
- ../patata-data:/data
|
- ../patata-data:/data
|
||||||
|
|||||||
15
index.toml
15
index.toml
@@ -1253,6 +1253,11 @@ file = "mods/controlling.pw.toml"
|
|||||||
hash = "2a50d21837bba88e3c9490c6bb8e0a9b44b052645d5c1481b48a060439c20a3c"
|
hash = "2a50d21837bba88e3c9490c6bb8e0a9b44b052645d5c1481b48a060439c20a3c"
|
||||||
metafile = true
|
metafile = true
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = "mods/craterlib.pw.toml"
|
||||||
|
hash = "9505d8f590800cb91e69e1b669b95a12033b2e71211a2d4cd828523781c097d1"
|
||||||
|
metafile = true
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/create-enchantment-industry.pw.toml"
|
file = "mods/create-enchantment-industry.pw.toml"
|
||||||
hash = "0d4d884efcb69ec6618aac017cd6c4090f4090c89545b31a86539d232c03ed3b"
|
hash = "0d4d884efcb69ec6618aac017cd6c4090f4090c89545b31a86539d232c03ed3b"
|
||||||
@@ -1628,6 +1633,11 @@ file = "mods/sbm-cardboardboxes.pw.toml"
|
|||||||
hash = "b4f8a29b39e6fc10649f948df46b7a924771eda941a77e059e69f10a6c0a5777"
|
hash = "b4f8a29b39e6fc10649f948df46b7a924771eda941a77e059e69f10a6c0a5777"
|
||||||
metafile = true
|
metafile = true
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = "mods/sdlink.pw.toml"
|
||||||
|
hash = "12331b74f83618e2be4efab372d4c42d438dfbc99b9bc984514ab64a06a36643"
|
||||||
|
metafile = true
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/searchables.pw.toml"
|
file = "mods/searchables.pw.toml"
|
||||||
hash = "65f4838fdd0ff42ce74d12f310efd5455450d223ea6ccf2ceaa75d424e144f82"
|
hash = "65f4838fdd0ff42ce74d12f310efd5455450d223ea6ccf2ceaa75d424e144f82"
|
||||||
@@ -1663,6 +1673,11 @@ file = "mods/sophisticated-core.pw.toml"
|
|||||||
hash = "b11d50b3bc406267f32d539d6f6deb5cfd2bfc451ba3d585124753aca1c844d7"
|
hash = "b11d50b3bc406267f32d539d6f6deb5cfd2bfc451ba3d585124753aca1c844d7"
|
||||||
metafile = true
|
metafile = true
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = "mods/starter-kit.pw.toml"
|
||||||
|
hash = "21243746ccc669fe9b32286268e04c8f5d9392a6d98a7662e81641b5221e4842"
|
||||||
|
metafile = true
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/structure-compass.pw.toml"
|
file = "mods/structure-compass.pw.toml"
|
||||||
hash = "8bd7162f6505799d1a4bfc8c9bce4f4452b9f7ad5bcde01e8101bf3dd904aaf5"
|
hash = "8bd7162f6505799d1a4bfc8c9bce4f4452b9f7ad5bcde01e8101bf3dd904aaf5"
|
||||||
|
|||||||
13
mods/craterlib.pw.toml
Normal file
13
mods/craterlib.pw.toml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name = "CraterLib"
|
||||||
|
filename = "CraterLib-forge-1.20-1.0.2.jar"
|
||||||
|
side = "both"
|
||||||
|
|
||||||
|
[download]
|
||||||
|
url = "https://cdn.modrinth.com/data/Nn8Wasaq/versions/Ml4m8ilJ/CraterLib-forge-1.20-1.0.2.jar"
|
||||||
|
hash-format = "sha1"
|
||||||
|
hash = "120cf728034a6df7a8fab9e8e3a0b9d62b431793"
|
||||||
|
|
||||||
|
[update]
|
||||||
|
[update.modrinth]
|
||||||
|
mod-id = "Nn8Wasaq"
|
||||||
|
version = "Ml4m8ilJ"
|
||||||
13
mods/sdlink.pw.toml
Normal file
13
mods/sdlink.pw.toml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name = "Simple Discord Link"
|
||||||
|
filename = "SimpleDiscordLink-forge-1.20-2.2.2.jar"
|
||||||
|
side = "server"
|
||||||
|
|
||||||
|
[download]
|
||||||
|
url = "https://cdn.modrinth.com/data/Sh0YauEf/versions/f3SdouB3/SimpleDiscordLink-forge-1.20-2.2.2.jar"
|
||||||
|
hash-format = "sha1"
|
||||||
|
hash = "1882404caf0918e91c2b4cc991edfb22e4a6fc2e"
|
||||||
|
|
||||||
|
[update]
|
||||||
|
[update.modrinth]
|
||||||
|
mod-id = "Sh0YauEf"
|
||||||
|
version = "f3SdouB3"
|
||||||
13
mods/starter-kit.pw.toml
Normal file
13
mods/starter-kit.pw.toml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
name = "Starter Kit"
|
||||||
|
filename = "starterkit-1.20.1-5.2.jar"
|
||||||
|
side = "both"
|
||||||
|
|
||||||
|
[download]
|
||||||
|
url = "https://cdn.modrinth.com/data/6L3ydNi8/versions/PUQyueKW/starterkit-1.20.1-5.2.jar"
|
||||||
|
hash-format = "sha1"
|
||||||
|
hash = "0f5aa1d12eeb09fa3876b291ff83d0748aa16a5d"
|
||||||
|
|
||||||
|
[update]
|
||||||
|
[update.modrinth]
|
||||||
|
mod-id = "6L3ydNi8"
|
||||||
|
version = "PUQyueKW"
|
||||||
@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
|
|||||||
[index]
|
[index]
|
||||||
file = "index.toml"
|
file = "index.toml"
|
||||||
hash-format = "sha256"
|
hash-format = "sha256"
|
||||||
hash = "990754dd4652c2cb8b74fdb93db10bc60f70bd8169ff5b01ff266f25b3fbce1d"
|
hash = "90b1b93617692c25ac3de7bc1781fc9412d93b15ab98775057066949601fe11f"
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
forge = "47.1.47"
|
forge = "47.1.47"
|
||||||
|
|||||||
112
simple-discord-bot.toml
Normal file
112
simple-discord-bot.toml
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
|
||||||
|
#General Mod Config
|
||||||
|
[general]
|
||||||
|
#The Token of the Bot to use. KEEP THIS PRIVATE
|
||||||
|
botToken = "MTAyNTA3NTM2NzI4OTAyODcxOA.GpzZpx.U7y1ffjLg9B1zXKeSFpRy249Cktc2ofvmeBWRE"
|
||||||
|
#Should the bot be enabled or not
|
||||||
|
enabled = true
|
||||||
|
#Should debug logging be enabled? WARNING: THIS CAN SPAM YOUR LOG!
|
||||||
|
debugging = false
|
||||||
|
#How quickly the bot status should update
|
||||||
|
activityUpdateInterval = 30
|
||||||
|
#The prefix to use for bot commands. Example: ~players
|
||||||
|
botPrefix = "~"
|
||||||
|
#Should the bot be allowed to whitelist/un-whitelist players. Whitelisting needs to be enabled on your server as well
|
||||||
|
whitelisting = false
|
||||||
|
#Should only admins be allowed to whitelist players
|
||||||
|
onlyAdminsWhitelist = true
|
||||||
|
#Do not add Playing. A status to display on the bot. You can use %players% and %maxplayers% to show the number of players on the server
|
||||||
|
botStatus = "Minecraft"
|
||||||
|
#A topic for the Chat Relay channel. You can use %player%, %maxplayers%, %uptime%, %tps% or just leave it empty.
|
||||||
|
channelTopic = "Playing Minecraft with %players%/%maxplayers% people | Uptime: %uptime%"
|
||||||
|
#Discord Invite Link used by the in-game invite command
|
||||||
|
inviteLink = ""
|
||||||
|
#Internal version control. DO NOT TOUCH!
|
||||||
|
configVersion = 10
|
||||||
|
|
||||||
|
#Webhook Config
|
||||||
|
[webhookConfig]
|
||||||
|
#Should webhook messages be used
|
||||||
|
enabled = false
|
||||||
|
#The URL of the channel webhook to use for Chat Messages
|
||||||
|
webhookurl = "https://discord.com/api/webhooks/1025293777679679508/pXyyCK24gRdIrr99b0gsmkHd08QUqBa3SJvGVRAy3O9_1COHXzdF1U4VHt7RkLlvzjkQ"
|
||||||
|
#The URL of the channel webhook to use for Server Messages Messages
|
||||||
|
webhookurlLogs = "https://discord.com/api/webhooks/1025293466776911933/PqQ4M8cF-aJWUi1cKIToLtTzVW3OwJDstDDzLkQppkHk2q9KQ2XVmbv3HSw7lSjeLcvH"
|
||||||
|
#A DIRECT link to an image to use as the avatar for server messages. Also used for embeds
|
||||||
|
serverAvatar = ""
|
||||||
|
#The name to display for Server messages when using Webhooks
|
||||||
|
serverName = "AsyaCraft Server"
|
||||||
|
|
||||||
|
#Chat Config
|
||||||
|
[chatConfig]
|
||||||
|
#The ID of the channel to post in and relay messages from. This is still needed, even in webhook mode
|
||||||
|
channelID = 1025292808665452586
|
||||||
|
#If this ID is set, event messages will be posted in this channel instead of the chat channel
|
||||||
|
logChannelID = 1024353263811833928
|
||||||
|
#The type of image to use as the player icon in messages. Valid entries are: AVATAR, HEAD, BODY, COMBO
|
||||||
|
playerAvatarType = "COMBO"
|
||||||
|
#Should embeds be used instead of plain text messages for Chat Messages
|
||||||
|
useEmbeds = true
|
||||||
|
#Should embeds be used instead of plain text messages for Log Messages
|
||||||
|
useEmbedsLog = true
|
||||||
|
#Prefix to add to Minecraft when a message is relayed from Discord. Supports MC formatting. Use %user% for the Discord Username
|
||||||
|
mcPrefix = "§e[Discord]§r %user%: "
|
||||||
|
#Should messages from bots be relayed
|
||||||
|
ignoreBots = true
|
||||||
|
#Should SERVER STARTING messages be shown
|
||||||
|
serverStarting = true
|
||||||
|
#Should SERVER STARTED messages be shown
|
||||||
|
serverStarted = true
|
||||||
|
#Should SERVER STOPPING messages be shown
|
||||||
|
serverStopping = true
|
||||||
|
#Should SERVER STOPPED messages be shown
|
||||||
|
serverStopped = true
|
||||||
|
#Should the chat be relayed
|
||||||
|
playerMessages = true
|
||||||
|
#Should Join and Leave messages be posted
|
||||||
|
joinAndLeaveMessages = true
|
||||||
|
#Should Advancement messages be posted
|
||||||
|
advancementMessages = true
|
||||||
|
#Should Death Announcements be posted
|
||||||
|
deathMessages = true
|
||||||
|
#Should Messages from the /say command be posted
|
||||||
|
sendSayCommand = true
|
||||||
|
#Should commands be posted to discord
|
||||||
|
broadcastCommands = true
|
||||||
|
#Should Tell Raw messages be posted
|
||||||
|
sendTellRaw = true
|
||||||
|
#Should the ~discord command be enabled
|
||||||
|
inviteCommandEnabled = false
|
||||||
|
|
||||||
|
#Change the contents of certain event messages
|
||||||
|
[messages]
|
||||||
|
#Server Starting Message
|
||||||
|
serverStarting = "Arrancando el servidor / Server is starting..."
|
||||||
|
#Server Started Message
|
||||||
|
serverStarted = "El servidor está listo! / Server has started. Enjoy!"
|
||||||
|
#Server Stopping Message
|
||||||
|
serverStopping = "Parando el servidor / Server is stopping..."
|
||||||
|
#Server Stopped Message
|
||||||
|
serverStopped = "El servidor ha parado / Server has stopped..."
|
||||||
|
#Player Joined Message. Use %player% to display the player name
|
||||||
|
playerJoined = "%player% se ha unido al servidor / has joined the server!"
|
||||||
|
#Player Left Message. Use %player% to display the player name
|
||||||
|
playerLeft = "%player% se ha ido! / has left the server!"
|
||||||
|
#Achievement Messages. Available variables: %player%, %title%, %description%
|
||||||
|
achievements = "%player% has made the advancement [%title%]: %description%"
|
||||||
|
#Chat Messages. Available variables: %player%, %message%
|
||||||
|
chat = "%message%"
|
||||||
|
#The message to show when someone uses /discord command. You can use %inviteurl%
|
||||||
|
inviteMessage = "Hey, check out our discord server here -> %inviteurl%"
|
||||||
|
|
||||||
|
#Change in which channel messages appear
|
||||||
|
[messageDestinations]
|
||||||
|
#Should Server Starting/Started/Stopping/Stopped Messages be in chat. If false, it will appear in the log channel
|
||||||
|
statusInChat = false
|
||||||
|
#Should Join/Leave Messages be in chat. If false, it will appear in the log channel
|
||||||
|
joinLeaveInChat = false
|
||||||
|
#Should Advancement Messages be in chat. If false, it will appear in the log channel
|
||||||
|
advancementsInChat = false
|
||||||
|
#Should Death messages be in chat. If false, it will appear in the log channel
|
||||||
|
deathInChat = false
|
||||||
|
|
||||||
Reference in New Issue
Block a user