
Install
- Create a new discord application if you don't already have one https://discordapp.com/developers/applications/
- On the application's page, go to the "Bot" tab, click "Add Bot", and confirm;
- Optional: set your bot's avatar.
- Enable the SERVER MEMBERS INTENT option under "Privileged Gateway Intents" on the bot tab as well.
- Click the copy button under "Token" on the bot tab, we'll be using it later.
- Install the plugin, run & stop the server, then open the configuration file.
- Open the Config and paste in your token that you have copied.
- Again inside of the config copy a text channel id from your discord server and paste it in.
- If you have not invited the bot to your server do so by going to OAuth2 inside of the discord application website and then go to URL Generator.
- Once you are there you should see a checkbox called bot. Make sure that is checked and then you can add the Administrator permission or any other permissions to it.
- You can then invite the bot to your server.
- Restart the server and enjoy!
Default Config
#######################################################################################
#
# Welcome to Peligon Polls configuration, This is where you can change
# Basic settings that will affect how the plugin preforms.
# This plugin does have database support; see 'Storage' for more information.
#
#######################################################################################
Storage:
# Visit 'Plugins/PeligonPolls/Lang/' to see the supported languages.
Language File: "en_US"
# Replace with the bot client ID
client-token: ""
# Where the polls will be posted
text-channel-id: ""
polls-inventory:
title: "&aPolls"
size: 27
poll-gui-item:
item: BOOK
name: "&ePoll - &6%title%"
# !! This will only affect %description%
description-word-per-line: 5
# !! Spacing will automatically be added under the description.
lore:
- "&7%description%"
- "&7Created by: &c%author%"
- "&7Created on: &c%created%"
- ""
- "&7Votes: &a↑%upVote% &7| &4↓%downVote%"
- ""
- "&eClick to cast vote"
contents:
1:
item: BLACK_STAINED_GLASS_PANE
name: " "
# -1 means all slots will be filled with this item.
slot: -1
2:
# !! Item will be replaced with : poll-gui-item : Which is listed above
slot: 11
type: "Poll"
3:
slot: 12
type: "Poll"
4:
slot: 13
type: "Poll"
5:
slot: 14
type: "Poll"
6:
slot: 15
type: "Poll"
7:
slot: 16
type: "Poll"
8:
slot: 17
type: "Poll"
9:
item: BARRIER
name: "&cClose"
item-flags:
- "HIDE_ATTRIBUTES"
- "HIDE_ENCHANTS"
slot: 23
type: "Close"Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta




