Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
alwyn974 authored Jun 17, 2020
1 parent e5210a3 commit 3378691
Showing 1 changed file with 26 additions and 31 deletions.
57 changes: 26 additions & 31 deletions README.MD
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
# Discord Rich Presence

To use the mod correctly you need to edit the config file (DRP.cfg)
To use the mod correctly you need to edit the config file (discordrichpresence-client.toml)

```TOML

#Discord Rich Presence Configuration File
["Configuration for Discord Application"]
#Discord Rich Presence Application ID
discordID = "573197802985881611"
#Discord Rich Presence Details
details = "Minecraft Server"
#Discord Rich Presence Large Image Name
large_image_name = "large_image"
#Discord Rich Presence Large Image Text
large_image_text = "Private Minecraft Server"
#Discord Rich Presence Small Image Name
small_image_name = "small_image"
#Text displayed in SinglePlayer
state_solo = "In Singleplayer"
#Text displayed in SinglePlayer
state_multi = "In Multiplayer"
#Text displayed in Multiplayer
max_players_number = 100
#Text displayed for other state
state_other = "In the Menu"

```CFG
# Configuration file
discord {
# Add your Discord App ID [default: 0]
S:DISCORD_ID=0
# Add your Discord Details [default: Minecraft Server]
S:DRP_DETAILS=Minecraft Server
# Add your Discord Large Image Key [default: large_image]
S:DRP_IMAGE_LARGE=large_image
# Add your Discord Image Large Text [default: Private Minecraft Server]
S:DRP_IMAGE_LARGE_TEXT=Private Minecraft Server
# Add your Discord Small Image Key [default: small_image]
S:DRP_IMAGE_SMALL=small_image
# Add your Text for the MultiPlayer State [default: In Multiplayer]
S:DRP_STATE_MULTIPLAYER=In Multiplayer
# Add your Text for the Other State [default: In The Menu]
S:DRP_STATE_OTHER=In The Menu
# Add your Text for the Solo State [default: In SinglePlayer]
S:DRP_STATE_SOLO=In SinglePlayer
}
```

# Create a Rich Presence
Expand All @@ -38,14 +33,14 @@ Go to [discord](https://discordapp.com/developers/applications) and create a new

<img src="https://cdn.discordapp.com/attachments/625261173226471433/625261521961746432/general_infomations.png"/>

Copy the Client ID and replace the ***0*** of ```S:DISCORD_ID=0``` by the Client ID
Copy the Client ID and replace ***573197802985881611*** of ```S:discordID=573197802985881611``` by the Client ID

### Adding image to the Rich Presence

Go to Rich Presence and add your image

<img src="https://cdn.discordapp.com/attachments/625261173226471433/625263927713988617/art_assets.png"/>

Replace ***large_image*** ```S:DRP_IMAGE_LARGE=large_image``` or ***small_image***```S:DRP_IMAGE_SMALL=small_image``` by the name of the assets
Replace ***large_image*** ```S:large_image_name=large_image``` or ***small_image***```S:small_image_name=small_image``` by the name of the assets

#### Enjoy DRP !

0 comments on commit 3378691

Please sign in to comment.