7 English
Mathieu Broillet edited this page 2020-04-28 20:44:02 +02:00

https://i.imgur.com/jihvq3E.png

Welcome to the MinecraftDiscordRichPresence wiki!

Installation:

First of all, make sure you have created an application on theDiscord Developer Panel.

  • Download the mod here.
  • Add the mod to your game (in mods/ folder)

Configuration:

/!\ Prerequisites : Installation⬆️ /!\

  • Go to the folder of your game (example:.minecraft)
  • Go to the mods/ folder and open the file MinecraftCustomRichPresence-VX.X-1.12.2.jar.jar with 7zip or winrar. (avoid the Windows default extractor...)
  • Go to config/ folder and open the richpresence.json with a text editor like Sublime Text (avoid the Windows notepad...)
  • In this file you will find several parameters and here are more informations about them.

Config file :

By default the file is in French (because I am French 😄), here I translated the file so you can understand better.

{
  "_comment": "Avaibles variables:",
  "_comment2": "%player-name% - Player name.",
  "_comment3": "%server-connected-player% - Number of players connected to the server.",
  "_comment4": "%server-max-slot% - Number of server slots",
  "server-ip": "mc.hypixel.net",
  "server-port": "25565",
  "state": "%server-connected-player%/%server-max-slot% players connected",

  "application-settings": {
    "applicationID": "601875975533232158",
    "large-image-name": "discord_logo",
    "large-image-text": "Testing this mod !"
  },
  "advanced-status-custom": {
    "onJoinServer": {
      "enable": true,
      "showState": true,
      "message": "In game."
    },
    "onQuitServer": {
      "enable": true,
      "showState": false,
      "message": "In mainmenu."
    },
    "inPauseMenu": {
      "enable": true,
      "showState": true,
      "message": "In pause menu"
    },
    "inMainMenu": {
      "enable": true,
      "showState": false,
      "message": "In mainmenu"
    },
    "inInventory": {
      "enable": false,
      "showState": true,
      "message": "In inventory"
    }
  }
}

Take it step by step :

  "_comment": "Avaibles variables:",
  "_comment2": "%player-name% - Player name.",
  "_comment3": "%server-connected-player% - Number of players connected to the server.",
  "_comment4": "%server-max-slot% - Number of server slots",

If you what to use on of these variables, simply put their names in the message fields.


"server-ip": "mc.hypixel.net",
"server-port": "25565",

Here you can define the IP address and port of your server if you want to use the variables %server-connected-player% and/or %server-max-slot%.


  "state": "%server-connected-player%/%server-max-slot% connected player",

This part is used to display the "state" of the game.(This is the third line of richpresence)


"application-settings": {
    "applicationID": "601875975533232158",
    "large-image-name": "discord_logo",
    "large-image-text": "Testing this mod !"
  },

This part is very important, it is the one that will tell the mod which application to display on your profile.


  "advanced-status-custom": {
    "onJoinServer": {
      "enable": true,
      "showState": true,
      "message": "In game."
    },
    "onQuitServer": {
      "enable": true,
      "showState": false,
      "message": "In mainmenu."
    },
    "inPauseMenu": {
      "enable": true,
      "showState": true,
      "message": "In pause menu"
    },
    "inMainMenu": {
      "enable": true,
      "showState": false,
      "message": "In mainmenu"
    },
    "inInventory": {
      "enable": false,
      "showState": true,
      "message": "In inventory"
    }

This section will be used to display additional information about your Discord profile. Like that for example. There are several "blocks":

  • onJoinServer : When the player join a server
  • onQuitServer : When the player quit a server (Risk of being deleted because same utility as inMainMenu).
  • inPauseMenu : When the player open the pause menu (ESC).
  • inMainMenu : When the player is in the mainmenu.
  • inInventory : When the player open his inventory.

You will see an enable variable in each "block", the latter is used to activate or not activate the "block" in question.
You will see an enable variable in each "showState", this last one is used to display or not "state" defined above.


If you have a problem, come see me on Discord -> M4TH1EU_#0001