KingOfTurkey38 / Voting38

High performance pocketmine 5.0 vote plugin
Apache License 2.0
10 stars 9 forks source link

Webhook #14

Open OxBrutal opened 2 years ago

OxBrutal commented 2 years ago
TukangM commented 2 years ago
  • Can you add a discord webhook When someone votes the server?

discord plugin

OxBrutal commented 2 years ago

how?

TukangM commented 2 years ago

yea wait

OxBrutal commented 2 years ago

yea wait

Oke

TukangM commented 2 years ago

https://poggit.pmmp.io/p/MCPEToDiscord/

voting message config voting38

---
key: ""
autoclaim: true

vote_announcement: "{username} has voted and received 1 diamond"

message_not_voted: "§cYou haven't voted today"
message_voted: "§aYou have already voted today"

commands:
  - "give {username} diamond"
  - "Say @Player has voted!)
...

and MCPEtoDiscord may need enable after server started (many times many reboot)

/discord on
OxBrutal commented 2 years ago

https://poggit.pmmp.io/p/MCPEToDiscord/

voting message

---
key: ""
autoclaim: true

vote_announcement: "{username} has voted and received 1 diamond"

message_not_voted: "§cYou haven't voted today"
message_voted: "§aYou have already voted today"

commands:
  - "give {username} diamond"
  - "Say @Player has voted!)
...

Okay thanks 👌

TukangM commented 2 years ago

Okay thanks 👌

look again . re edit

OxBrutal commented 2 years ago

Okay thanks 👌

look again . re edit

How do I setup McpeToDiscord for votes?

TukangM commented 2 years ago

Okay thanks 👌

look again . re edit

How do I setup McpeToDiscord for votes?

wait

TukangM commented 2 years ago
---

language: 'english' # english, spanish, german, traditional_chinese, simplified_chinese

debug: false

discord: true

pureperms: false
factions: false

banned_list:
- '@here'
- '@everyone'

webhook_url: "webhook on discord look my image(Edit this)"
webhook_name: "Name BOT webhook(edit this too"
webhook_playerChat?: true
webhook_playerJoin?: true
webhook_playerLeave?: true
webhook_playerDeath?: true

webhook_playerChatFormat: "[ {player} | {time} ] : {msg}"
webhook_playerJoinFormat: "{player} Joined the server !"
webhook_playerLeaveFormat: "{player} Left the server !"
webhook_playerDeathFormat: "{player} Died !"

other_pluginEnabled?: true
other_pluginDisabled?: true
other_pluginEnabledFormat: "Plugin Enabled !"
other_pluginDisabledFormat: "Plugin Disabled !"
...

image image

TukangM commented 2 years ago

the plugin cannot communicate with discord. the plugin only send chat to discord chat

OxBrutal commented 2 years ago

the plugin cannot communicate with discord. the plugin only send chat to discord chat

I know, but thanks for the information you provided

TukangM commented 2 years ago

the plugin cannot communicate with discord. the plugin only send chat to discord chat

I know, but thanks for the information you provided

ok