v1.0.1
Compatibility
Changes
-
added a few commands (all the new commands are for server operators, or people with the permission provided by a permissions mod)
-
/discord test <feature>
- Features are:
- Join
- /discord test join
- Will send a join message to the designated channel (channel id set in the mod's config)
- Message Is: "ForgeDiscord joined the server"
- Leave
- /discord test Leave
- Will send a leave message to the designated channel (channel id set in the mod's config)
- Message Is: "ForgeDiscord left the server"
- Message <string>
- /discord test Message <string>
- Sends a message to the designated channel, message that is sent depends on what you put for the message after.
-
/discord servstats
-
Will display the RAM/CPU for the server, as well as showing the percent used next to it. - This is displayed in Megabytes (MB) and Gigabytes (GB). - Format:
- RAM: 50MB/100MB (50%)
- CPU: 50%/100%
- If the RAM/CPU is 25% or less, it will display in green, if the RAM/CPU is 50% or more, it will display in orange, and if the RAM/CPU is 75% or more, it be display in red.'
-
/discord admin <add/remove/list>
-
If you do /discord admin add or /discord admin remove, you need to put the username (player has to be online)
-
If you do /discord admin list, it will display all the people with admin perms for your server's instance of ForgeDiscord. - Server operators are defaulted to an admin, and they cannot be removed from the admin list (might change in v1.0.2) - It automatically will add the mod developer (WhoBuscusYT) as an admin (for the mod, not the server), and cannot be removed from the ForgeDiscord admin list. - Being a ForgeDiscord server admin, when chatting in game, you will have the tag "[ForgeDiscord ADMIN]" infront of your name when you appear in the messaging channel
-
The format for the admin list is:
"§4§lMOD DEVELOPER §4§lWhoBuscusYT§b§lSERVER ADMINS (operators/manual) §b§lNotch §4§l[operator] §b§lSteve §c§l[manual]
"- If they have the tag [operator] next to their name, they are a serer operator, and if they have the tag [manual], they were manually added to the server's ForgeDiscord admin list. -
/discord console <string>
-
Whatever you type for a message (the <string> part) will be executed in console. - If you have the logAdminCommands gamerule set to true, the command that was executed will be displayed in console.
- Example:
- command: /discord console give ForgeDiscord diamond 1
- consoles message: "[ForgeDiscord] Executed Console Command "give ForgeDiscord diamond 1""
-
fixed the status to display on the bot
-
redid advancements to only show real advancements and not random non-existant advancements.
-
added a different join message for first join
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:MgKEgSiE:i1s9a2ji"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:MgKEgSiE:i1s9a2ji"
}

