HomeJavaMods| Discord Placeholders | Get Discord Server Placeholders in Minecraft!
| Discord Placeholders | Get Discord Server Placeholders in Minecraft!
ModsJava

| Discord Placeholders | Get Discord Server Placeholders in Minecraft!

⬇ Download on Spigot
[​IMG]

Adds placeholders that receive data from a discord server for use in the game, allows creation based on the imagination of configurators and server creators, you can do things like what is shown in the picture, suggestions for placeholders that you would like to have in your game are welcome. Join here to suggest. Those placeholders update every x time to avoid lag and they are async.

Setup:
  1. Get the plugin and PlaceholderAPI
  2. Log in Discord Developers Portal and create a new application
  3. Grab the application Bot Token (We are not creating a bot, we need it to get data from discord)
  4. Go to oauth2 section on Oauth2 URL Generator select Bot Scope and set Administrator permissions, copy the url and invite the bot
  5. Go to bot section and enable Server Member and Presence Intent
  6. Go to config and paste the token and the guild ID of your server
  7. Restart the server and try the placeholders with /papi parse --null %discordplaceholders_guild_name%
Placeholders:
Config:
Spoiler: Config
Code (YAML):
updateInterval : 5 # minutes
notification
: true
token
: "BOT-TOKEN"
guild
: "GUILD-ID"
debugger
: false
 


Showcase (Using ItemsAdder and TAB):
[​IMG]

[​IMG]

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

| Discord Placeholders | Get Discord Server Placeholders in Minecraft! is a free Minecraft Java mod. Compatible with Minecraft 1.16, 1.17, 1.18, 1.19 and newer. Downloaded 465 times (via Spigot). Download it and open it directly in the game.

Explore more